lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@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 07:40:51 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message