Hi,

I am using java 1.6, the tomcat 5.5 also contains this file. But actually
this is the problems solved by adding 4 jar...I think the problem may be
come will xalan.jar ( resolver.jar I am not so sure)
but anyone in trouble can try this sequence

xalan.jar->resolver.jar->xercesImpl.jar->xml-apis.jar

(I tried the resolver.jar come first, but problem still no solved....may be
someone can try this sequence...)



hossman wrote:
> 
> 
> : 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
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-Update--Solr-can-be-started-from-jetty-but-not-tomcat-tp15998642p16047002.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to