You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2014/11/12 09:52:33 UTC
[jira] [Commented] (SOLR-6643) Core load silently aborted if
missing depenencies
[ https://issues.apache.org/jira/browse/SOLR-6643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207830#comment-14207830 ]
Jan Høydahl commented on SOLR-6643:
-----------------------------------
Any ideas for how to solve this?
> Core load silently aborted if missing depenencies
> -------------------------------------------------
>
> Key: SOLR-6643
> URL: https://issues.apache.org/jira/browse/SOLR-6643
> Project: Solr
> Issue Type: Bug
> Components: Schema and Analysis
> Affects Versions: 4.10.1
> Reporter: Jan Høydahl
> Priority: Minor
> Labels: logging
>
> *How to reproduce*
> # Start with standard collection1 config
> # Add a field type to schema using the ICU contrib, no need for a field
> {code:XML}
> <fieldType name="text_icu" class="solr.TextField">
> <analyzer><tokenizer class="solr.ICUTokenizerFactory"/></analyzer>
> </fieldType>
> {code}
> # {{cd example}}
> # {{mkdir solr/lib}}
> # {{cp ../contrib/analysis-extras/lucene-libs/lucene-analyzers-icu-4.10.1.jar solr/lib/}}
> # {{bin/solr -f}}
> # Core is not loaded, and no messages in log after this line
> {code}
> ... INFO org.apache.solr.schema.IndexSchema – [collection1] Schema name=example
> {code}
> Note that we did *not* add the dependency libs from {{analysis-extras/lib}}, so we'd expect a {{ClassNotFoundException}}, but some way the initialization of schema aborts silently. The ICUTokenizerFactory is instansiated by reflection and I suspect that some exception is swallowed in {{AbstractPluginLoader#create()}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org