[
https://issues.apache.org/jira/browse/SOLR-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651895#comment-13651895
]
Shawn Heisey commented on SOLR-4801:
------------------------------------
The profanity is in the log because it's in the example solrconfig.xml file,
and this config was likely based on the example. We might want to replace that
path in the example config with something less controversial. I find it
amusing, and I hate giving into such pressures, but we have to live in the real
world.
I'm wondering if these warnings might be another symptom of SOLR-4791.
[~brentil], does everything work despite the warnings? If you used the entire
Solr download as-is, those paths should exist, but if you've copied only
required bits from example into a separate Jetty installation, they would not
exist. Do you need any of the contrib features in one of the directories that
are mentioned? Is testing a branch_4x checkout something you can do? A more
relevant option would be to try 4.3.0 source with the patch from SOLR-4791.
> "Can't find (or read) directory to add to classloader" at startup
> -----------------------------------------------------------------
>
> Key: SOLR-4801
> URL: https://issues.apache.org/jira/browse/SOLR-4801
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.3
> Environment: Windows 2008 R2
> Java JRE 1.6.0_45 x64
> Jetty 8.1.10
> Solr 4.3.0 + lib\etc files
> Reporter: Leith Tussing
> Priority: Minor
>
> I upgraded from 4.2.1 by replacing the war file and adding the lib\etc files
> from the example section into my Jetty installation. Now every time I start
> the services I get WARN messages I've never gotten before during startup.
> Additionally there appears to be profanity in the last WARN message as it
> looks for a "/total/crap/dir/ignored" after failing the other items.
> {code:xml}
> WARN - 2013-05-08 08:46:06.710; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader:
> ../../../contrib/extraction/lib (resolved as:
> C:\Jetty\solr\instance1\..\..\..\contrib\extraction\lib).
> WARN - 2013-05-08 08:46:06.714; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader: ../../../dist/
> (resolved as: C:\Jetty\solr\instance1\..\..\..\dist).
> WARN - 2013-05-08 08:46:06.715; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader:
> ../../../contrib/clustering/lib/ (resolved as:
> C:\Jetty\solr\instance1\..\..\..\contrib\clustering\lib).
> WARN - 2013-05-08 08:46:06.716; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader: ../../../dist/
> (resolved as: C:\Jetty\solr\instance1\..\..\..\dist).
> WARN - 2013-05-08 08:46:06.716; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader:
> ../../../contrib/langid/lib/ (resolved as:
> C:\Jetty\solr\instance1\..\..\..\contrib\langid\lib).
> WARN - 2013-05-08 08:46:06.717; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader: ../../../dist/
> (resolved as: C:\Jetty\solr\instance1\..\..\..\dist).
> WARN - 2013-05-08 08:46:06.717; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader:
> ../../../contrib/velocity/lib (resolved as:
> C:\Jetty\solr\instance1\..\..\..\contrib\velocity\lib).
> WARN - 2013-05-08 08:46:06.718; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader: ../../../dist/
> (resolved as: C:\Jetty\solr\instance1\..\..\..\dist).
> WARN - 2013-05-08 08:46:06.719; org.apache.solr.core.SolrResourceLoader;
> Can't find (or read) directory to add to classloader: /total/crap/dir/ignored
> (resolved as: C:\Jetty\solr\instance1\total\crap\dir\ignored).
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]