You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Wolanin (JIRA)" <ji...@apache.org> on 2012/11/14 21:58:12 UTC
[jira] [Created] (SOLR-4077) Solr params like zkHost are not
consistently settable via JNDI - many only via system properties
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