Is the tomcat6 user able to read and write to your new data directory?

# make tomcat6 the owner and group of the data directory
sudo chown -R tomcat6:tomcat6 /path/to/data/directory

# fix permissions
sudo chmod -R u=rwX,g=rwX,o=rX /path/to/data/directory

On 21/02/11 17:07, Robert Buckley wrote:
> Hi,
>
> Ubuntu 10.04
> Tomcat6
>
> I wanted to change the geoserver data_dir directory to one outisde of the 
> tomcat6. I changed the
>   GEOSERVER_DATA_DIR parameter value in web.xml but after restarting tomcat6 
> the service context is not found and geoserver is not able to be activated. 
> If I change the web.xml back again the service is ok.
>
> I have also tried this in bin/setclasspath.sh
>
> CATALINA_OPTS="-DGEOSERVER_DATA_DIR=new_path"
>
> but this has the same result.
>
> anyone know what i´m doing wrong?
> yours,
>
> Robert
>
>

-- 
Ben Caradoc-Davies <[email protected]>
Software Engineering Team Leader
CSIRO Earth Science and Resource Engineering
Australian Resources Research Centre

------------------------------------------------------------------------------
Index, Search & Analyze Logs and other IT data in Real-Time with Splunk 
Collect, index and harness all the fast moving IT data generated by your 
applications, servers and devices whether physical, virtual or in the cloud.
Deliver compliance at lower cost and gain new business insights. 
Free Software Download: http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to