No sweat - did you install the Ubuntu solr package or the solr.war from
http://lucene.apache.org/solr/?

When you say it doesn't work, what exactly do you mean?

On Thu, 2008-10-02 at 07:43 -0700, [EMAIL PROTECTED] wrote:
> Hi Jack,
> Really I would love if you could help me about it ... and tell me what you 
> have in your file
> ./var/lib/tomcat5.5/webapps
> ./usr/share/tomcat5.5/webapps
> 
> It doesn't work I dont know why :(
> Thanks a lot
> Johanna
> 
> Jack Bates-2 wrote:
> > 
> > Thanks for your suggestions. I have now tried installing Solr on two
> > different machines. On one machine I installed the Ubuntu solr-tomcat5.5
> > package, and on the other I simply dropped "solr.war"
> > into /var/lib/tomcat5.5/webapps
> > 
> > Both machines are running Tomcat 5.5
> > 
> > I get the same error message on both machines:
> > 
> > SEVERE: Exception starting filter SolrRequestFilter
> > java.lang.NoClassDefFoundError: Could not initialize class
> > org.apache.solr.core.SolrConfig
> > 
> > The full error message is attached.
> > 
> > I can confirm that the /usr/share/solr/WEB-INF/lib/apache-solr-1.2.0.jar
> > jar file contains: org/apache/solr/core/SolrConfig.class 
> > 
> > - however I do not know why Tomcat does not find it. 
> > 
> > Thanks again, Jack
> > 
> >> Hardy has solr packages already. You might want to look how they packaged
> >> solr if you cannot move to that version.
> >> Did you just drop the war file? Or did you use JNDI? You probably need to
> >> configure solr/home, and maybe fiddle with
> >> securitymanager stuff.
> >> 
> >> Albert
> >> 
> >> On Thu, May 1, 2008 at 6:46 PM, Jack Bates <ms419 <at> freezone.co.uk>
> >> wrote:
> >> 
> >> > I am trying to evaluate Solr for an open source records management
> >> > project to which I contribute: http://code.google.com/p/qubit-toolkit/
> >> >
> >> > I installed the Ubuntu solr-tomcat5.5 package:
> >> > http://packages.ubuntu.com/hardy/solr-tomcat5.5
> >> >
> >> > - and pointed my browser at: http://localhost:8180/solr/admin (The
> >> > Ubuntu and Debian Tomcat packages run on port 8180)
> >> >
> >> > However, in response I get a Tomcat 404: The requested
> >> > resource(/solr/admin) is not available.
> >> >
> >> > This differs from the response I get accessing a random URL:
> >> > http://localhost:8180/foo/bar
> >> >
> >> > - which displays a blank page.
> >> >
> >> > From this I gather that the solr-tomcat5.5 package installed
> >> > *something*, but that it's misconfigured or missing something.
> >> > Unfortunately I lack the Java / Tomcat experience to track down this
> >> > problem. Can someone recommend where to look, to learn why the Ubuntu
> >> > solr-tomcat5.5 package is not working?
> >> >
> >> > I started an Ubuntu wiki page to eventually describe the process of
> >> > installing Solr on Ubuntu: https://wiki.ubuntu.com/Solr
> >> >
> >> > Thanks, Jack
> > 
> > Apr 25, 2008 4:46:41 PM org.apache.catalina.core.StandardContext
> > filterStart
> > SEVERE: Exception starting filter SolrRequestFilter
> > java.lang.NoClassDefFoundError: Could not initialize class
> > org.apache.solr.core.SolrConfig
> >     at
> > org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:74)
> >     at
> > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:221)
> >     at
> > org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:302)
> >     at
> > org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:78)
> >     at
> > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3635)
> >     at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4222)
> >     at
> > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
> >     at
> > org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:744)
> >     at
> > org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:144)
> >     at java.security.AccessController.doPrivileged(Native Method)
> >     at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)
> >     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
> >     at
> > org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)
> >     at
> > org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)
> >     at 
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
> >     at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
> >     at
> > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> >     at
> > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
> >     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
> >     at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
> >     at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
> >     at 
> > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
> >     at
> > org.apache.catalina.core.StandardService.start(StandardService.java:448)
> >     at 
> > org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
> >     at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >     at java.lang.reflect.Method.invoke(Method.java:616)
> >     at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
> >     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >     at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >     at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >     at java.lang.reflect.Method.invoke(Method.java:616)
> >     at
> > org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:177)
> > 
> >  
> > 
> Quoted from: 
> http://www.nabble.com/Re%3A-solr-on-ubuntu-8.04-tp17502975p17502975.html
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to