lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bastian Hepp <arbeit.bast...@googlemail.com>
Subject Re: Problem to integrate Solr in Jetty (the first example in the Apache Solr 3.1 Cookbook)
Date Thu, 12 Apr 2012 17:21:16 GMT
Thanks Shawn,

I think I'll stay with the build in. I had problems with Solr Cell, but I
could fix it.

Greetings,
Bastian

Am 12. April 2012 18:02 schrieb Shawn Heisey <solr@elyograg.org>:
>
> Bastian,
>
> The jetty.xml included with Solr is littered with org.mortbay class
> references, which are appropriate for Jetty 6.  Jetty 7 and 8 use the
> org.eclipse prefix, and from the very small amount of investigation I did a
> few weeks ago, have also made other changes to the package names, so you
> might not be able to simply replace org.mortbay with org.eclipse.
>
> The absolutely easiest option would be to just use the jetty included with
> Solr, not version 8.  If you want to keep using Jetty 8, you will need to
> find/make a new jetty.xml file.
>
> If I were set on using Jetty 8 and had to make it work, I would check out
> trunk (Lucene/Solr 4.0) from the Apache SVN server, find the example
> jetty.xml there, and use it instead.  It's possible that you may need to
> still make changes, but that is probably the path of least resistance.  The
> jetty version has been upgraded in trunk.
>
> Another option would be to download Jetty 6, find its jetty.xml, and
> compare it with the one in Solr, to find out what the Lucene developers
> changed from default.  Then you would have to take the default jetty.xml
> from Jetty 8 and make similar changes to make a new config.
>
> Apparently Jetty 8 no longer supports JSP with the JRE, so you're probably
> going to need the JDK.  The developers have eliminated JSP from trunk, so
> it will still work with the JRE.
>
> Thanks,
> Shawn
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message