lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Aberg <aaronab...@gmail.com>
Subject Re: Cannot get solr 1.3.0 to run properly with plesk 9.2.1 on CentOS
Date Sat, 15 Aug 2009 08:10:58 GMT
Shalin,

Thanks for the help. I'm new to solr. You are right, I forgot about
the special directory. I had to set that up when I was first testing
out solr. In fact, I was able to find the tomcat error logs and it
mentioned this:

INFO: Deploying web application archive solr.war
Aug 10, 2009 10:39:21 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
Aug 10, 2009 10:39:21 AM org.apache.solr.core.SolrResourceLoader
locateInstanceDir
INFO: No /solr/home in JNDI
Aug 10, 2009 10:39:21 AM org.apache.solr.core.SolrResourceLoader
locateInstanceDir
INFO: solr home defaulted to 'solr/' (could not find system property or JNDI)
Aug 10, 2009 10:39:21 AM
org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: /usr/share/tomcat5/solr/solr.xml
Aug 10, 2009 10:39:21 AM org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to 'solr/'
Aug 10, 2009 10:39:21 AM org.apache.solr.core.SolrResourceLoader
createClassLoader
INFO: Reusing parent classloader
Aug 10, 2009 10:39:21 AM org.apache.solr.servlet.SolrDispatchFilter init
SEVERE: Could not start SOLR. Check solr/home property

I see it mentioned JNDI. I am not familiar with that. I'm used to
working with C# and not java, so I assume its some kind of library or
component? It also looks like it has a default directory setting which
is stored under tomcat5. Using the severe error, I found this site:
http://www.toastdriven.com/fresh/solr-multicore/
which was very useful because I want to setup a testing environment on
the same server. I think I have a good file system set up, so I will
zip it up, upload it to the server and extract it to that location.
Hopefully, that will work.

Really, thanks for the help.

--Aaron



On Sat, Aug 15, 2009 at 12:40 AM, Shalin Shekhar
Mangar<shalinmangar@gmail.com> wrote:
> On Sat, Aug 15, 2009 at 6:52 AM, Aaron Aberg <aaronaberg@gmail.com> wrote:
>
>> My client is using a dedicated server with plesk for the control
>> panel. The hosting provider says that anything done using the control
>> panel is supported by their tech support, so if i try anything using
>> SSH, it voids that warranty. Its easy to install a servlet through
>> plesk anyway, I upload the war file using the the java servlet
>> installer. A sample servlet has been installed so I know this part
>> works.
>>
>> However, when I install solr, i get what looks like a warning icon and
>> if I hover over it the tool tip text says this:
>>
>> "Actual status of the application does not correspond to the status
>> retrieved from the database."
>>
>> The host providers support team says that there is something wrong
>> with the war file (big help). Since I kind of stuck using tomcat 5.5,
>> is there an older version of solr that I should be using? How can I
>> fix this so that I can use solr?
>>
>
> Solr works fine with Tomcat 5.5
>
> Solr is a little different from other web applications in that it uses a
> specified directory as "solr home" which contains configuration (schema,
> solrconfig etc). The solrconfig also tells solr where to store the index.
>
> The solr home can be specified in many ways (environment variable, JNDI or
> even in web.xml). I guess you should specify the absolute path to the solr
> home in one of these ways (specifying it in web.xml and re-packaging the war
> may be easier for you?). You'd need to upload the contents of the solr home
> at the specified location on your server (look at the example directory
> which comes with the solr download). Specify the absolute path to data
> directory in solrconfig.xml (make sure it is writable).
>
> http://wiki.apache.org/solr/SolrTomcat
> http://wiki.apache.org/solr/HackingSolr
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

Mime
View raw message