Hi ryantxu,

By your hint, I found there is XML library missing in tomcat, not
multicore.xml cause the problem 
(* For single core mode, you should not allow any multicore.xml exist in
solr/home - unless you placed the file properly, as
http://www.nabble.com/forum/ViewPost.jtp?post=16001210 mentioned.)

             resolver.jar (Apache XML cmmon, available at
http://xml.apache.org/mirrors.cgi)
             xalan.jar (Xalan-j,
http://xml.apache.org/xalan-j/downloads.html)
             xercesImpl.jar (Xalan-j)
             xml-apis.jar (Xalan-j)

One more question: Does tomcat have anywhere to place the library shared by
all application? This is quite troublesome to copy the xml jar file among
the applications...

*I also changed the security setting in tomcat, which were reported by the
debian user. If you using debian and ubuntu and encounter security problem,
please refer to the debian and ubuntu package for the 05solr.policy file
structure as well as the catalina.policy

** 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...

Finally Thank you a lots!


ryantxu wrote:
> 
> Vinci wrote:
>> Hi all, 
>> 
>> after several hour I make the solr works a little bit: the jetty version
>> works, but the tomcat version doesn't.
>> 
> 
> To me it looks like the xml parser is not loading properly... check the 
> last line of your trace.
> 
>>         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
> 
> I'm not sure how that is configured in tomcat though...
> 
> 

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

Reply via email to