Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a Solr index application. It works very well on Lubuntu 10.10 (that's my local linux machine). But I could'n run it in hoster Debian 2.6.26-15lenny3 (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)). I think that configs are fine, because tomcat admin see solr (with running status "false") and on Lubuntu it work's. In catalina log file there is this mistake:

Jan 31, 2011 7:09:54 PM org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Invalid or unreadable WAR file : /home/myname/solr/example/webapps/solr.war
 at org.apache.naming.resources.WARDirContext.setDocBase(
 at org.apache.catalina.core.StandardContext.resourcesStart(
 at org.apache.catalina.core.StandardContext.start(
 at org.apache.catalina.manager.ManagerServlet.start(
 at org.apache.catalina.manager.HTMLManagerServlet.start(
 at org.apache.catalina.manager.HTMLManagerServlet.doGet(
 at javax.servlet.http.HttpServlet.service(
 at javax.servlet.http.HttpServlet.service(
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(
 at org.apache.catalina.core.StandardWrapperValve.invoke(
 at org.apache.catalina.core.StandardContextValve.invoke(
 at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
 at org.apache.catalina.core.StandardHostValve.invoke(
 at org.apache.catalina.valves.ErrorReportValve.invoke(
 at org.apache.catalina.core.StandardEngineValve.invoke(
 at org.apache.catalina.connector.CoyoteAdapter.service(
 at org.apache.coyote.http11.Http11Processor.process(
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Jan 31, 2011 7:09:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Jan 31, 2011 7:09:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jan 31, 2011 7:09:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/solr] startup failed due to previous errors
Jan 31, 2011 7:09:54 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/solr] has not been started

Meanwhile, on (default) Jetty Solr (just installed) starting to work. Also, It maybe useful to say, that I've got some difficulties with installing Java and Tomcat on Debian. I had to use testing repositories to install tomcat6.

When I'm trying to manually start solr with jetty from shell

java.lang.ClassNotFoundException: org.mortbay.xml.XmlConfiguration
 at Method)
 at java.lang.ClassLoader.loadClass(
 at java.lang.ClassLoader.loadClass(
 at org.mortbay.start.Main.invokeMain(
 at org.mortbay.start.Main.start(
 at org.mortbay.start.Main.main(

Thank's for your help.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.