Ok...the log files in tomcat6 pointed to permission problems.
I changed the owner of the GEOSERVER_DATA_DIR to tomcat6:tomcat6 and restarted
tomcat6 and everything works.
I can now change the owner of the www folder to allow me to edit my html and js
files as my normal user.
Could I now do a new install of geoserver 2.1 war in tomcat6 without having any
problems?
thanks,
Robert
________________________________
Von: Robert Buckley <[email protected]>
An: [email protected]
Gesendet: Donnerstag, den 30. Juni 2011, 10:54:23 Uhr
Betreff: [Geoserver-users] setting GEOSERVER_DATA_DIR in LINUX under TOMCAT6
Hi,
As a follow up to my previous thread I have started to test whether the
geoserver data_dir can be redirected as recommended here...
http://docs.geoserver.org/stable/en/user/production/data.html#use-an-external-data-directory
..and also here
http://docs.geoserver.org/stable/en/user/datadirectory/data-dir-setting.html?highlight=data_dir
After following the advice I uncommented the following in WEB-INF/web.xml
<context-param>
<param-name>GEOSERVER_DATA_DIR</param-name>
<param-value>/path/to/new/directory</param-value>
</context-param>
After restarting tomcat6 with stop and start rather than restart ( a tip I
remembered from some time ago) Geoserver ignores the new values.
So the documentation is wrong???
Other threads say to export variables in bashrc or CATALINA_OPTS or
whatever....what is the definative answer regarding changing the data_dir?
yours,
Robert------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users