[
https://issues.apache.org/jira/browse/SOLR-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14117948#comment-14117948
]
Shalin Shekhar Mangar commented on SOLR-4077:
---------------------------------------------
Solr will stop shipping a war file with the next major release (5.0) so I don't
think we're going to implement this feature request. For more details on why
and how, see SOLR-4792
> 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.9, 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 was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]