lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Pullen <Dean.Pul...@msp-uk.com>
Subject Solr Home on Linux JBoss ignored
Date Fri, 05 Jun 2009 08:47:05 GMT
Hi all,

Have an odd problem on JBoss 4.2.3 running on Redhat.
It's odd, because the configuration works fine on Windows.

Our Solr home is defined in the Solr.war web.xml as:

[Linux]
<env-entry>
      <env-entry-name>solr/home</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>/home/jboss/solr</env-entry-value>
</env-entry>

[Windows]
<env-entry>
      <env-entry-name>solr/home</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>c:/home/jboss/solr</env-entry-value>
 </env-entry>

However, on Linux Solr is still defaulting to JBoss Web's [Tomcat] work directory, i.e.
/usr/local/jboss-portal-2.7.1.GA/server/default/work/jboss.web/localhost/solr

Instead of the defined /home/jboss/solr


Can anyone shed any light on this?

Thanks,

Dean.


Scanned by MailDefender - managed email security from intY - www.maildefender.net
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message