Robert,
Have you tried setting the variable in your profile? (or in .bashrc?)
For instance:
*export GEOSERVER_DATA_DIR=new_path*
Make sure that you restart tomcat after this and that you restarted the
machine (when it is in your profile) or the bash it runs under (when it is
in your .bashrc).
Best regards,
Ivo Limmen
On Mon, Feb 21, 2011 at 10:07, Robert Buckley <[email protected]>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
>
>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users