lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido Medina <guido.med...@temetra.com>
Subject Re: Solr 4.4.0 on Ubuntu 10.04 with Jetty 6.1 from package Repository
Date Thu, 10 Oct 2013 12:55:45 GMT
On the config I pasted here, Solr mailing list is inserting "**" in 
between dots so make sure you remove those.

Example:

     JAVA_OPTIONS="-Dsolr.solr.**home=$YOUR_SOLR_COLLECTION_**HOME 
$JAVA_OPTIONS"

is really:

     JAVA_OPTIONS="-Dsolr . solr . home=$YOUR _ SOLR _ COLLECTION _ HOME 
$JAVA_OPTIONS"

Guido.

On 10/10/13 13:51, Guido Medina wrote:
> Check the jetty logs, there must be something wrong in your collection 
> config, usually if it doesn't start it will tell you there.
>
> And of course, for every change you make be sure you restart jetty.
>
> 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.medina@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.schmidt0885@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
>>>>>>>
>>>>>>>
>


Mime
View raw message