Sadly on changing the file /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml changes still do not reflect. Any pointers?
On 19 October 2011 17:03, David Winslow <[email protected]> wrote: > Yes, please try copying the data/ directory from the GeoServer WAR file to > the desired location. > > -- > David Winslow > OpenGeo - http://opengeo.org/ > > > On Wed, Oct 19, 2011 at 10:01 AM, jude mwenda <[email protected]>wrote: > >> Does the directory have to have files/content. I created a file which is >> empty and restarted but the GeoServer still reads >> /var/lib/tomcat6/webapps/geoserver/data >> >> >> On 19 October 2011 16:49, David Winslow <[email protected]> wrote: >> >>> Well, changing the datadir can be slightly tricky for two reasons: >>> >>> 1) GeoServer will not respect this setting until *tomcat is restarted* >>> 2) GeoServer will *ignore the setting* if the directory doesn't exist >>> (that one always trips me up.) >>> >>> So double-check that the directory exists - either copy/paste the path >>> from your web.xml into the command line for an "ls" command, or use >>> "readlink -f my-data-dir" to get a full path to the datadir you can >>> copy/paste into the web.xml. >>> >>> Then restart GeoServer and check the tomcat log for errors. >>> >>> -- >>> David Winslow >>> OpenGeo - http://opengeo.org/ >>> >>> On Wed, Oct 19, 2011 at 5:56 AM, jude mwenda <[email protected]>wrote: >>> >>>> Hi, >>>> I had this issue before, where having installed using Ariel's GeoNode >>>> packages, changing the following files does not result in a change on >>>> GeoServer Data directory. The files are: >>>> /var/lib/tomcat6/webapps/geoserver/WEB-INF/web.xml >>>> /etc/geonode/geoserver/web.xml >>>> >>>> No change in either of this results in the change of the Data directory. >>>> The data directory points to /var/lib/tomcat6/webapps/geoserver/data. >>>> Any pointers? >>>> >>>> -- >>>> Regards, >>>> >>>> Jude Mwenda >>>> Skype id: jmwenda >>>> Twitter: www.twitter.com/judemwenda >>>> Web: www.africangeogeek.com >>>> >>>> "Was ist mein Leben, wenn ich nicht mehr nützlich für andere." >>>> Johann Wolfgang von Goethe >>>> >>> >>> >> >> >> -- >> Regards, >> >> Jude Mwenda >> Skype id: jmwenda >> Twitter: www.twitter.com/judemwenda >> Web: www.africangeogeek.com >> >> "Was ist mein Leben, wenn ich nicht mehr nützlich für andere." >> Johann Wolfgang von Goethe >> > > -- Regards, Jude Mwenda Skype id: jmwenda Twitter: www.twitter.com/judemwenda Web: www.africangeogeek.com "Was ist mein Leben, wenn ich nicht mehr nützlich für andere." Johann Wolfgang von Goethe
