lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Wolanin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-4077) Solr params like zkHost are not consistently settable via JNDI - many only via system properties
Date Wed, 14 Nov 2012 20:58:12 GMT
Peter Wolanin created SOLR-4077:
-----------------------------------

             Summary: Solr params like zkHost are not consistently settable via JNDI - many
only via system properties
                 Key: SOLR-4077
                 URL: https://issues.apache.org/jira/browse/SOLR-4077
             Project: Solr
          Issue Type: Bug
          Components: SolrCloud
            Reporter: Peter Wolanin
             Fix For: 4.0.1, 4.1, 5.0



The Solr home can be set via JNDI environment, and in general system properties should be
used for configuring the container, not the application, since the container may run several
web apps.

Let's add a helper method to something like SolrResourceLoader.java to look up values like
zkHost (to find the zookeepers) or hostPort that can currently be in solr.xml OR in a system
property, but not in e.g. a tomcat context file.

The helper would avoid then need to write code to try both options as currently exists in
locateSolrHome()

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message