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>.
>>>>> Then
>>>>> i found this example
>>>>> 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