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

Hoss Man resolved SOLR-166.
---------------------------

    Resolution: Fixed

commited with two small changes...

1) log any unexpected RuntimeExceptions durring JNDI checks as warnings instead 
of silently ignoring (expected exceptions when JNDI isn't available are already 
loged as "info")

2) use !isInstanceDirInitalized() instead of testing ==null directly.


thanks for finding this and implimenting the fix Ryan

> trunk requires solr.solr.home set even if JNDI is set
> -----------------------------------------------------
>
>                 Key: SOLR-166
>                 URL: https://issues.apache.org/jira/browse/SOLR-166
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.2
>            Reporter: Ryan McKinley
>         Assigned To: Hoss Man
>         Attachments: SOLR-166-InitalizationOrder.patch
>
>
> The current trunk requires the solr.solr.home property to be set - even if 
> JNDI is configured properly.  
> I think this is because SolrServlet loads before SolrDispatchFilter and calls 
> SolrCore.getSolrCore();
> is there a way to make sure SolrDispatchFilter gets initalized first?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to