Re: [Update] Solr can be started from jetty but not tomcat

2008-06-19 Thread mike segv
The error messages due to this problem are very misleading. After a lot of trial and error I got solr to work with tomcat by adding the xalan.jar to the libs directory and rebuilding the war file. Vinci wrote: > > Hi all, > > after several hour I make the solr works a little bit: the jetty v

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-14 Thread Vinci
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-api

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Chris Hostetter
: 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 h

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Ryan McKinley
glad you got things worked out. I don't use tomcat, so I can't be too much use. Check: http://wiki.apache.org/solr/SolrTomcat and also feel free to include any tips to help others as well. One more question: Does tomcat have anywhere to place the library shared by all application? This i

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
(This is a follow up post) *Note: there is the misleading "deployment success" message in tomcat manager even the war file inside the default webapps folder - it need to be outside in order to get non 400 message. NOTICE: Change of war file dir has equivalence effect of undepoly - all manual chang

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
(This is a follow up post) *Note: there is the misleading "deployment success" message in tomcat manager even the war file inside the default webapps folder - it need to be outside in order to get non 400 message. NOTICE: Change of war file dir has equivalence effect of undepoly - all manual chang

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
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 mentio

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-13 Thread Vinci
Hi, Thank you for you reply. here is the last line in the catalina log...Does XPath fail? If so, what should I do? 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 XPathFact

Re: [Update] Solr can be started from jetty but not tomcat

2008-03-12 Thread Ryan McKinley
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(Boot