Hi,
I have GeoServer version 2.1.2 with Jetty version 6.1.24-6.
I would like to change the environment variable GEOSERVER_DATA_DIR and I
found in the GeoServer user guide that I have to specify the following
context parameter in the WEB-INF/web.xml file.
...
GEOSERVER_DATA_DIR
Ciao Fabio,
you can do the same via an env var or a java switch (-Dsomething).
Check the docs deeper...
Regards,
Simone Giannecchini
---
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
Hello Simone,
I've configured an extra option to pass to the JVM with
-DGEOSERVER_DATA_DIR=/var/lib/geoserver_data
in the /etc/default/jetty file and in this way it works.
Thank you for the suggestion.
Regards
Fabio
Ciao Fabio,
you can do the same via an env var or a java switch (-Dsometh