I have tried all the options mentioned here:

http://docs.geoserver.org/latest/en/user/datadirectory/data-dir-setting.html

but without success!

All  they suggest to set data the directory to /var/lib/.... but that is 
definitely NOT the path, where I want my data to be.

So, could anyone tell me, are there any other options, which really work ;)

Thnx, Oiva


________________________________
Lähettäjä: Hakala Oiva (MTT) [oiva.hak...@mtt.fi]
Lähetetty: 11. kesäkuuta 2013 12:36
Vastaanottaja: 'geoserver-users@lists.sourceforge.net'
Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?

Thanks Jukka.

I uncommented that section, edited that param value and restarted, but no help.

I have also tried to edit 
CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/home/geoserver-data/" in
 /usr/share/tomcat7/bin/catalina.sh -file and restart, but it did not help 
either.

Oiva
________________________________
Lähettäjä: Rahkonen Jukka [jukka.rahko...@mmmtike.fi]
Lähetetty: 11. kesäkuuta 2013 11:12
Vastaanottaja: 'geoserver-users@lists.sourceforge.net'
Aihe: Re: [Geoserver-users] Tomcat7 and GEOSERVER_DATA_DIR ?

Hi,

Try to edit webapps/geoserver/WEB-INF/web.xml and restart. There is a commented 
example about giving GEOSERVER_DATA_DIR as context-param.

-Jukka Rahkonen-

Hakala Oiva wrote:

Hi

I just changed my test environment from Jetty-based to Tomcat7. Everything 
works, but how can I tell to Tomcat7, where is my data???

I have set GEOSERVER_DATA_DIR environment variable right but Tomcat7 does not 
care whatever I set and restart Tomcat7

Data diretory always stays the same:  /var/lib/tomcat7/webapps/geoserver/data

I work with Ubuntu Linux 12.04.

Can anyone help, I am new with Tomcat7.

Thanks, Oiva
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to