Did you check here as your logs says:
http://wiki.apache.org/solr/SolrLogging

You have  NoClassDefFoundError: error for org/slf4j/Logger and this is
because of there is a dependency mismatch at your libraries.


2013/10/10 Peter Schmidt <peter.schmidt0...@gmail.com>

> >>For repo Jetty (6.1.x) this is a good guide, which is very similar to
> what we have on our environments:
>
> >>http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/<
> http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/>
>
> Guido, i used this guide and ended up with the Page not found 404 problem
> like the others (in the comments)
>
> Only solution there is:
>
> Karel<
> http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/#>
>   vjnunez<
> http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/#comment-926517600
> >
>
> * 4 months ago<
> http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/#comment-926795805
> >
>
>    - -<
> http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/#>
>    -
>
> I used a different howto for installing jetty 9 from source with solr 4.3.0
> on Ubuntu 13.04 (google it, can't remember the site). Worked for my 12.04
> LTS install, so for me this problem is "fixed".
>
>
>
> 2013/10/10 Guido Medina <guido.med...@temetra.com>
>
> > For repo Jetty (6.1.x) this is a good guide, which is very similar to
> what
> > we have on our environments:
> >
> > http://www.kingstonlabs.com/**blog/how-to-install-solr-36-**
> > on-ubuntu-1204/<
> http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/>
> >
> >
> > Guido.
> >
> > On 10/10/13 13:20, Peter Schmidt wrote:
> >
> >> No, it's not working that easy with the jetty 6.1.
> >>
> >> When i just add -Dsolr.solr.home to my /etc/default/jetty and put the
> >> solr.war in the jetty webapps directory i got a 404 when in try to reach
> >> http://localhost:8080 or http://localhost:8080/solr.
> >>
> >>
> >> 2013/10/10 Guido Medina <guido.med...@temetra.com>
> >>
> >>  My I forgot to mention where you need to copy the solr.war file:
> >>>
> >>> /var/lib/jetty/webapps
> >>>
> >>> Guido.
> >>>
> >>>
> >>> On 10/10/13 10:48, Guido Medina wrote:
> >>>
> >>>  Here is the pertinent changes you need to pass to /etc/default/jetty:
> >>>>
> >>>>    * JAVA_OPTIONS="-Djava.awt.****headless=true -Dfile.encoding=UTF-8
> >>>>
> >>>>      -server -Xms8g -Xmx8g -XX:+UseG1GC -XX:MaxGCPauseMillis=50
> >>>>      -XX:+OptimizeStringConcat -XX:+UseStringCache"
> >>>>    * JAVA_OPTIONS="-Dsolr.solr.****home=$YOUR_SOLR_COLLECTION_****HOME
> >>>>
> >>>>      $JAVA_OPTIONS"
> >>>>
> >>>>
> >>>> Of course, the 1st JAVA_OPTIONS are our own tuning, you are free to
> play
> >>>> with it. Adjust your solr collection home to whatever path is on your
> >>>> system.
> >>>>
> >>>> HTH,
> >>>>
> >>>> Guido.
> >>>>
> >>>> On 10/10/13 10:43, Guido Medina wrote:
> >>>>
> >>>>  I can confirm solr 3.x and 4.x runs fine with jetty 6.x from Ubuntu
> >>>>> repo, we have in production for few years now with no issues, you
> just
> >>>>> need
> >>>>> to be sure your solr.war has the required jars in it, also your
> >>>>> collection
> >>>>> must have the extra jars needed by your app.
> >>>>>
> >>>>> We have been running it in Ubuntu Server 12.04 LTS for a long time,
> it
> >>>>> is easy to have the jetty server with default repo package since it
> is
> >>>>> easy
> >>>>> to pass JVM parameters using /etc/default/jetty config file.
> >>>>>
> >>>>> HTH,
> >>>>>
> >>>>> Guido.
> >>>>>
> >>>>> On 10/10/13 10:02, Furkan KAMACI wrote:
> >>>>>
> >>>>>  Do you get an error?
> >>>>>>
> >>>>>>
> >>>>>> 2013/10/10 Peter Schmidt <peter.schmidt0...@gmail.com>
> >>>>>>
> >>>>>>   Hey folks,
> >>>>>>
> >>>>>>> for some days i tried to get Solr 4.4.0 working as a webapp with
> >>>>>>> Jetty
> >>>>>>> 6.1
> >>>>>>> from the Ubuntu repository installed with apt-get. First i tried
> the
> >>>>>>> installation according the wiki http://wiki.apache.org/solr/**
> >>>>>>> SolrJetty <http://wiki.apache.org/solr/**SolrJetty<
> http://wiki.apache.org/solr/SolrJetty>
> >>>>>>> >.
> >>>>>>> Then
> >>>>>>> i found this example
> >>>>>>> http://www.kingstonlabs.com/****blog/how-to-install-solr-36-**<
> http://www.kingstonlabs.com/**blog/how-to-install-solr-36-**>
> >>>>>>> on-ubuntu-1204/and<http://www.**kingstonlabs.com/blog/how-to-**
> >>>>>>> install-solr-36-on-ubuntu-**1204/and<
> http://www.kingstonlabs.com/blog/how-to-install-solr-36-on-ubuntu-1204/and
> >
> >>>>>>> >
> >>>>>>>
> >>>>>>> tried the Configuration according to the book pache Solr 4 Cookbook
> >>>>>>> by
> >>>>>>> Rafal Kuc.
> >>>>>>> But it semmed to be impossible to  run Solr 4.4.0 as webapp on
> >>>>>>> Ubuntus
> >>>>>>> jetty 6.1 :(
> >>>>>>> Can somebody confirm that it's impossible or give me an advice how
> to
> >>>>>>> run
> >>>>>>> Solr 4.4.0 on Jetty 6.1?
> >>>>>>> Regards
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >
>

Reply via email to