[ 
https://issues.apache.org/jira/browse/SOLR-4801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13651943#comment-13651943
 ] 

Leith Tussing commented on SOLR-4801:
-------------------------------------

That's correct, I picked the war file and the lib\etc files from the package 
and put them into a non-example Jetty installation.  I had copied over just the 
dist\solr-4.3.0.war and renamed it to solr.war at first which then resulted in 
failed loading.  Looking at the logs informed me I was missing slf4j components 
so I then read the newly created [http://wiki.apache.org/solr/SolrLogging] 
which informed me to copy over the solr/example/lib/ext items as well.

>From everything I've testing the functionality is working as expected.  I was 
>able to add new entries and search existing ones.  As far as I know we do not 
>need the contrib items, however if I've incorrectly installed Solr I'd like to 
>know how to fix it.

I'm not exactly sure how to run the branch_4x (this correct? 
[http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/]) or the 
normal 4.3.0 as source.  If there is some guidance documentation you can point 
me to I would gladly give it a try.
                
> "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]

Reply via email to