Hi,

The settings in web.xml do work for me with Tomcat 7, both for windows and
Linux.
Can you post the content of GeoServer log?
After editing the web.xml file you may try to delete all content of work
folder, inside tomcat installation folder, then start it again.

Cheers,
Stefano

---------------------------------------------------
41.95581N 12.52854E

http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas
Il giorno 11/giu/2013 12:45, "Hakala Oiva (MTT)" <[email protected]> ha
scritto:

>  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) [[email protected]]
> *Lähetetty:* 11. kesäkuuta 2013 12:36
> *Vastaanottaja:* '[email protected]'
> *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 [[email protected]]
> *Lähetetty:* 11. kesäkuuta 2013 11:12
> *Vastaanottaja:* '[email protected]'
> *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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

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

Reply via email to