You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Eric Passmore (JIRA)" <ji...@apache.org> on 2007/02/19 19:30:05 UTC
[jira] Created: (SOLR-165) Improved Doc on setting env solr/home
Improved Doc on setting env solr/home
-------------------------------------
Key: SOLR-165
URL: https://issues.apache.org/jira/browse/SOLR-165
Project: Solr
Issue Type: Improvement
Components: documentation
Environment: linux/tomcat
Reporter: Eric Passmore
Priority: Trivial
It would be nice if this page included the following to
http://wiki.apache.org/solr/SolrTomcat
Here is an example on linux, note the full path to the solr.war and the use of ${catalina.home}.
<Context docBase="${catalina.home}/webapps/solr.war" debug="0" crossContext="true" >
<Environment name="solr/home" type="java.lang.String" value="/home/data/solr" override="true" />
</Context>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SOLR-165) Improved Doc on setting env solr/home
Posted by "Eric Passmore (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Passmore resolved SOLR-165.
--------------------------------
Resolution: Fixed
updated wiki
> Improved Doc on setting env solr/home
> -------------------------------------
>
> Key: SOLR-165
> URL: https://issues.apache.org/jira/browse/SOLR-165
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Environment: linux/tomcat
> Reporter: Eric Passmore
> Priority: Trivial
>
> It would be nice if this page included the following to
> http://wiki.apache.org/solr/SolrTomcat
> Here is an example on linux, note the full path to the solr.war and the use of ${catalina.home}.
> <Context docBase="${catalina.home}/webapps/solr.war" debug="0" crossContext="true" >
> <Environment name="solr/home" type="java.lang.String" value="/home/data/solr" override="true" />
> </Context>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-165) Improved Doc on setting env solr/home
Posted by "Eric Passmore (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474279 ]
Eric Passmore commented on SOLR-165:
------------------------------------
Hmm, last night as I was doing the install it wasn't clear to me that the windows examples were applicable. Its a trivial issue, so I removed my entry.
> Improved Doc on setting env solr/home
> -------------------------------------
>
> Key: SOLR-165
> URL: https://issues.apache.org/jira/browse/SOLR-165
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Environment: linux/tomcat
> Reporter: Eric Passmore
> Priority: Trivial
>
> It would be nice if this page included the following to
> http://wiki.apache.org/solr/SolrTomcat
> Here is an example on linux, note the full path to the solr.war and the use of ${catalina.home}.
> <Context docBase="${catalina.home}/webapps/solr.war" debug="0" crossContext="true" >
> <Environment name="solr/home" type="java.lang.String" value="/home/data/solr" override="true" />
> </Context>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-165) Improved Doc on setting env solr/home
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474260 ]
Hoss Man commented on SOLR-165:
-------------------------------
FYI: that's not setting the solr.solr.home enviornment variable -- it's setting the solr/home JNDI variable ... and we already have several examples of that on the SolrTomcat page (in the sections "Configuring Solr Home with JNDI", "Multiple Solr Webapps", and the windows section)
i'm not sure that we really need another example of the same thing just because it's linux and the paths don't start with a drive letter.
> Improved Doc on setting env solr/home
> -------------------------------------
>
> Key: SOLR-165
> URL: https://issues.apache.org/jira/browse/SOLR-165
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Environment: linux/tomcat
> Reporter: Eric Passmore
> Priority: Trivial
>
> It would be nice if this page included the following to
> http://wiki.apache.org/solr/SolrTomcat
> Here is an example on linux, note the full path to the solr.war and the use of ${catalina.home}.
> <Context docBase="${catalina.home}/webapps/solr.war" debug="0" crossContext="true" >
> <Environment name="solr/home" type="java.lang.String" value="/home/data/solr" override="true" />
> </Context>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
Re: [jira] Commented: (SOLR-165) Improved Doc on setting env solr/home
Posted by Chris Hostetter <ho...@fucit.org>.
: *something* has changed that makes things blow up if you don't set the
: solr.solr.home property. In resin (at least), it is not enough to just
: set the JNDI variable, you must also set the system property:
Ryan: can you open this as a seperate bug? ... preferably with log info
(ie: do you get the "Solr home set to" line at all? what about "JNDI not
configured for Solr" or "No /solr/home in JNDI" ?
-Hoss
[jira] Commented: (SOLR-165) Improved Doc on setting env solr/home
Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474265 ]
Ryan McKinley commented on SOLR-165:
------------------------------------
*something* has changed that makes things blow up if you don't set the solr.solr.home property. In resin (at least), it is not enough to just set the JNDI variable, you must also set the system property:
<web-app id="/solr/"
document-directory="/path/to/solr/webapp/solr"
archive-path="/path/to/solr/webapp/solr.war">
<system-property solr.solr.home="/path/to/solr"/>
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/path/to/solr</env-entry-value>
</env-entry>
</web-app>
I have not looked into why...
> Improved Doc on setting env solr/home
> -------------------------------------
>
> Key: SOLR-165
> URL: https://issues.apache.org/jira/browse/SOLR-165
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Environment: linux/tomcat
> Reporter: Eric Passmore
> Priority: Trivial
>
> It would be nice if this page included the following to
> http://wiki.apache.org/solr/SolrTomcat
> Here is an example on linux, note the full path to the solr.war and the use of ${catalina.home}.
> <Context docBase="${catalina.home}/webapps/solr.war" debug="0" crossContext="true" >
> <Environment name="solr/home" type="java.lang.String" value="/home/data/solr" override="true" />
> </Context>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (SOLR-165) Improved Doc on setting env solr/home
Posted by "Erik Hatcher (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474251 ]
Erik Hatcher commented on SOLR-165:
-----------------------------------
That page is on our wiki... feel free to create a wiki account (self-serve) and adjust the documentation. Thanks!
> Improved Doc on setting env solr/home
> -------------------------------------
>
> Key: SOLR-165
> URL: https://issues.apache.org/jira/browse/SOLR-165
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Environment: linux/tomcat
> Reporter: Eric Passmore
> Priority: Trivial
>
> It would be nice if this page included the following to
> http://wiki.apache.org/solr/SolrTomcat
> Here is an example on linux, note the full path to the solr.war and the use of ${catalina.home}.
> <Context docBase="${catalina.home}/webapps/solr.war" debug="0" crossContext="true" >
> <Environment name="solr/home" type="java.lang.String" value="/home/data/solr" override="true" />
> </Context>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.