|
From: mrenoch <mr...@ph...> - 2009-03-06 23:02:02
|
Hi, I am trying to deploy the geoserver 1.7.2 war to our production tomcat server (which I don't have full administrative access to). I have defined the context as follows below, though I am not 100% certain that the data directory is being found. Also, I copied the data_dir over from the full package download - I wasn't really sure how to set this up for a war deployment (I found some documentation on this, but it was a bit unclear). When I start up tomcat (tomcat 5.5.25) I get a null pointer exception - see http://pastebin.com/m5c21c106 - logs are not being written to geoserver.log, just stdout. I am not really sure how to begin troubleshooting this. Any suggestions? Thanks, /Jonah -------------------------- <!-- geoserver context --> <Context docBase="/www/apps/tomcat5/wwwappdev/ccnmtl/geoserver/geoserver.war" debug="0" crossContext="true" reloadable="false"> <Environment name="GEOSERVER_DATA_DIR" type="java.lang.String" value="/www/apps/tomcat5/wwwappdev/ccnmtl/geoserver/data_dir" override="true" /> </Context> -------------------------- 2009-03-06 16:18:18,787 ERROR [main] org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'geoServerLoader' defined in URL [jar:file:/usr/var/tomcat/ccnmtl5/work/wwwappdev/localhost/ccnmtl_geoserver/WEB-INF/lib/main-1.7.2.jar!/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException ----- -- View this message in context: http://www.nabble.com/troubleshooting-deploying-geoserver.war-to-tomcat-tp22380788p22380788.html Sent from the GeoServer - User mailing list archive at Nabble.com. |