[
https://issues.apache.org/jira/browse/SOLR-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474314
]
Ryan McKinley commented on SOLR-166:
------------------------------------
> Ryan: one thing to try is changing the web.xml to use the 2.4 XSD instead of
> the 2.3 DTD
no dice. it must be a resin bug.
>
> in general, i think it's good to load Servlets on startup even if...
agreed
>
> In a nutshell, getInstanceDir should check if a dir has been set, if not
1. try JNDI,
2. system prop,
3. default to CWD
call setInstanceDir.
>
> what do you think?
I like it! as long as it only attempts the JNDI stuff if does not require
extra libraries for a lightweight embedded version.
> 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
>
> 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.