tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Milkowski" <amilkow...@unicast.com>
Subject Tomcat 3.2 run as NT service with xml parser other than its default (parser.jar)
Date Thu, 08 Aug 2002 14:46:52 GMT
receiving following exception while running Tomcat as NT service

javax.xml.parsers.FactoryConfigurationError:
com.sun.xml.parser.SAXParserFactoryImpl
	at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:84)
	at org.apache.tomcat.util.xml.XmlMapper.readXml(XmlMapper.java:210)
	at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:187)
	at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Exception in thread "main"

following wrapper.properties classpath values were used (note I commented
default xml parser, and replaced with
(xalan & xercesImpl) parser.jar line)

wrapper.class_path=$(wrapper.tomcat_home)\classes
wrapper.class_path=$(wrapper.tomcat_home)\lib\xalan.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\xercesImpl.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jaxp.jar
#wrapper.class_path=$(wrapper.tomcat_home)\lib\parser.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\webserver.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\servlet.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\jasper.jar
wrapper.class_path=$(wrapper.tomcat_home)\lib\logfilewriter.jar

interestingly when running from command line the alternate xml parser xerces
was picked up and Tomcat
started flawlessly..

Any one knows if this

a/ my ignorance, and there is a solution

b/ a real defect

regards

Mime
View raw message