You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Pilho Kim <ph...@math.soongsil.ac.kr> on 2001/04/20 07:26:45 UTC
Which version of JAXP ?
Hi,
I have builded and tested Tomcat 4.0 beta 3.
But I guess that the file %CATALINA_HOME%/server/lib/jaxp.jar is invalid.
The filesize of jasp.jar is about 6 KB.
(Note that the filesize of jaxp.jar of JAXP 1.1 is about 28 KB.)
It means that the JAXP version is 1.0.1.
With this jaxp.jar I have failed to start catalina.
The error message is as follows:
Catalina.start: java.lang.ClassCastException:
com.sun.xml.parser.SAXParserFactor
yImpl
java.lang.ClassCastException: com.sun.xml.parser.SAXParserFactoryImpl
at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:
82)
at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
at org.apache.catalina.startup.Catalina.start(Catalina.java:657)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:627)
at org.apache.catalina.startup.Catalina.process(Catalina.java:177)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:177)
So I have removed the file %CATALINA_HOME%/server/lib/jaxp.jar
and succeeded to start catalina.
In other way, I have put both of crimpson.jar and jasp.jar of JAXP 1.1
at %CATALINA_HOME%/server/lib/ and succeeded to start catalina, too.
It should be clear which version of JAXP Catalina uses.
(JAXP 1.1 ? or JAXP 1.0.1 ?)
Thanks,
Kim