If I start up Tomcat with geoserver.war copied to apache-tomcat-7.0.54/webapps, without specifying a data path, I have no problem to access the geoserver through localhost:8080/geoserver.
But if I specify the data path in setclasspath.sh, such as adding the following line: CATALINA_OPTS="-DGEOSERVER_DATA_DIR=/xxx/geoserver-2.1.x/data/release" After restart tomcat, I can not access localhost:8080/geoserver. I got: "HTTP Status 404 - /geoserver type Status report message /geoserver description The requested resource is not available. Apache Tomcat/7.0.54" Or if I specify on my terminal the following command before starting tomcat: export GEOSERVER_DATA_DIR=/xxx/geoserver-2.1.x/data/release I got the same error message. I double checked the data path, it is valid. Anyone can help? Thanks. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Can-not-run-GeoServer-with-Tomcat-when-specifying-the-data-directory-tp5149503.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
