tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Using Tomcat4.0 (CVS) with xerces
Date Fri, 02 Mar 2001 13:29:04 GMT
Hi,

There is (still) a problem using xerces with Tomcat4.0:
+++
Exception during startup processing
java.lang.reflect.InvocationTargetException:
javax.xml.parsers.FactoryConfigurationError:
org.apache.crimson.jaxp.SAXParserFactoryImpl
        at
javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:95)
        at
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:224)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:657)        
+++

That is because of ./server/lib/jaxp.jar, removing it is a good
work-around.
Where should this be fixed? Somewhere in the build of Tomcat? Or just in
the README?

The strange thing is as jasper works with the ./jasper/jaxp.jar and
./jasper/xerces.jar.
The ./jasper/jaxp.jar is useless for my try (the classes needed for
jasper are loaded correctly from the ./jasper/xerces.jar).
I have some questions:
What is the correct behaviour? Should not jasper try to load
./jasper/jaxp.jar and give an error?

If I try to crimson.jar for jasper I need ./jasper/jaxp.jar and
./jasper/crimson.jar, correct?

Cheers

Jean-frederic

Mime
View raw message