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.

   <web-app>
   ...
   <context-param>
   <param-name>GEOSERVER_DATA_DIR</param-name>
   <param-value>/var/lib/geoserver_data</param-value>
   </context-param>
   ...
   </web-app>


The problem is that if I change this file when I will restart Jetty it will be overridden. So I have to set the variable GEOSERVER_DATA_DIR within the Jetty configuration but I can't understand how can I do it.

Regards
Fabio

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to