Added by Dave Potts, last edited by Dave Potts on Jul 03, 2008

Labels

 
(None)

Q: How do I get jboss to recognise the data_dir

A: All you have to do is to tell jboss to use your own copy of the data_dir instead of the compiled in version.  To do this you have to define an environment variable called JAVA_OPTS.  The setup for this operating system specfic.

Linux/Unix/MacOSX

JAVA_OPTS="-DGEOSERVER_DATA_DIR=/home/user/geoserver-config"
export JAVA_OPTSĀ 

Windows

set JAVA_OPS"-DGEOSERVER_DATA_DIR=C:\home\user\geoserver-config"

Its also worth noting that JBOSS and Geoserver working together tends to use a lot of memory, adding  settings -Xms256m -Xmx512m increases the default amount of memory.

Powered by a free Atlassian Confluence Open Source Project License granted to GeoServer . Evaluate Confluence today.

GeoServer wiki is hosted by OpenGeo - Contact Administrators