geoserver-1.3.4-war file not deploying on Solaris/Tomcat 5.5.17 - seems to have been built on a PC - has PC formatted path in web.xml for data file - and xml parsing errors
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: GEOS-714
URL: http://jira.codehaus.org/browse/GEOS-714
Project: GeoServer
Issue Type: Bug
Affects Versions: 1.3.4
Environment: Sparc/Solaris 9, Tomcat 5.5.17, java "1.4.2_08"
Reporter: Jim Riley
Assigned To: dblasby
Fix For: 1.3.x
Installation of WAR file not at all portable and straightforward as it should be.
PC formatted path info for GEOSERVER_DATA_DIR in web.xml see tomcat log entry:
Sep 21, 2006 2:55:46 PM org.vfny.geoserver.global.xml.XMLConfigWriter$WriterUtils initFile
SEVERE: Attempting to create file:/usr/local/apache-tomcat/D:\Java\Geoserver\gs1.3\server\geoserver\data_dir/services.xml
Once I figured out that I needed to edit the geoserver web.xml to fix this malformed path, the geoserver webapp would still not run, with errors in the tomcat log like:
Sep 21, 2006 3:13:59 PM org.vfny.geoserver.global.xml.ReaderUtils loadConfig
WARNING: trouble parsing XML in java.io.FileReader@anonymised.com: Premature end of file.
Sep 21, 2006 3:13:59 PM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'
[Fatal Error] -1: Premature end of file.
Sep 21, 2006 3:14:33 PM org.vfny.geoserver.global.xml.ReaderUtils loadConfig
WARNING: trouble parsing XML in java.io.FileReader@anonymised.com: Premature end of file.
ERROR compiling http://facility.unavco.org:8080/geoserver/welcome.do
[Fatal Error] -1: Premature end of file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira