: By your hint, I found there is XML library missing in tomcat, not
        ...
: ** Also please someone kindly put those library in the system requirement/
: wiki FAQ. That save a lot of people and forum resources if all library used
: is listed properly (with links) - newly build tomcat server have nothing...

While there are certainly XML libraries out there that can provide 
alternate implementaions of XPathFactory, there is normally no *need* for 
any extra XML libraries... 

: >>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
: >> Caused by: java.lang.RuntimeException: XPathFactory#newInstance() failed
: >> to
: >> create an XPathFactory for the default object model:
: >> http://java.sun.com/jaxp/xpath/dom with the
: >> XPathFactoryConfigurationException:
: >> javax.xml.xpath.XPathFactoryConfiguration

... Java 1.5 provides that object model out of the box.  

a quick google search for the error you encountered turns up several 
promising links, most notably this post...

http://www.psuedoguru.com/roller/page/psuedoblog?entry=failed_to_create_an_xpathfactory

...which indicates...

>>> Finally found out that the problem was due to the Tomcat Java 1.4 
>>> compatibility libraries. I had recently upgraded to Java 1.5, but 
>>> forgot to remove them.
>>> 
>>> $TOMCAT_HOME/common/endorsed/xercesImpl.jar
>>> $TOMCAT_HOME/common/endorsed/xml-apis.jar

With Java 1.5 and a completley clean tomcat install, you shouldn't get 
this error.




-Hoss

Reply via email to