You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:56:02 UTC

[jira] [Updated] (SOLR-4077) Solr params like zkHost are not consistently settable via JNDI - many only via system properties

     [ https://issues.apache.org/jira/browse/SOLR-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley updated SOLR-4077:
-------------------------------

    Fix Version/s:     (was: 4.7)
                   4.8

> 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.8
>
>
> 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.2#6252)

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