tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Riedel <a...@hearme.com>
Subject [Catalina] Startup Error
Date Fri, 14 Apr 2000 00:42:50 GMT
Ooops. Put [Jakarta] instead of {Catalina] the first time around. Sorry....


The latest source release of ANT properly builds Jakarta. The binary 
release version available from the download page does not.

Once I got this working, I found several othe issues:

1) The XMLMapper only locates conf/server.xml properly if the current 
directory when the server is started is CATALINA_HOME. What this implies is 
that you must currently be in the top level directory of the Catalina build 
and start the server with something like:

     bin/catalina.sh run

2) When the XMLMapper locates the server.xml file, it throws the following 
error. Any ideas?

XmlMapper: Debug level: 999
XmlMapper: Set locator : com.sun.xml.parser.Parser$DocLocator@2398fa87
ERROR reading conf\server.xml
At Line 15 /Server/Engine/ defaultHost=localhost unknownHost=localhost

java.lang.NullPointerException
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:124)
	at org.apache.tomcat.util.xml.ObjectCreate.start(XmlMapper.java:453)
	at org.apache.tomcat.util.xml.XmlMapper.matchStart(XmlMapper.java, 
Compiled Code)
	at org.apache.tomcat.util.xml.XmlMapper.startElement(XmlMapper.java:68)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1390)
	at com.sun.xml.parser.Parser.content(Parser.java:1498)
	at com.sun.xml.parser.Parser.maybeElement(Parser.java:1399)
	at com.sun.xml.parser.Parser.parseInternal(Parser.java:491)
	at com.sun.xml.parser.Parser.parse(Parser.java:283)
	at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:198)
	at org.apache.tomcat.startup.Catalina.execute(Catalina.java:266)
	at org.apache.tomcat.startup.Catalina.main(Catalina.java:113)


Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org



Mime
View raw message