lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack Krupansky" <j...@basetechnology.com>
Subject Re: No files added to classloader from lib
Date Wed, 05 Jun 2013 16:08:01 GMT
"apache-solr-dataimporthandler-.*\.jar" - note that the "apache-" prefix has 
been removed from Solr jar files.

-- Jack Krupansky

-----Original Message----- 
From: O. Olson
Sent: Wednesday, June 05, 2013 12:01 PM
To: solr-user@lucene.apache.org
Subject: No files added to classloader from lib

Hi,

I downloaded Solr 4.3 and I am attempting to run and configure a separate
Solr instance under Jetty. I copied the Solr "dist" directory contents to a
directory called "solrDist" under the single core "db" that I was running. I
then attempted to get the DataImportHandler using the following in my
solrconfig.xml:

  <lib dir="solrDist/" regex="apache-solr-dataimporthandler-.*\.jar" />

In the log file, I see a lot of messages that the Jar Files in "solrDist"
were added to the classloader. E.g.

…….
534  [coreLoadExecutor-3-thread-1] INFO
org.apache.solr.core.SolrResourceLoader  - Adding
'file:/C:/Users/<<MyUsername>>/Documents/Jetty/Jetty9/solr/db/lib/solr-clustering-4.3.0.jar'
to classloader
534  [coreLoadExecutor-3-thread-1] INFO
org.apache.solr.core.SolrResourceLoader  - Adding
'file:/C:/Users/<<MyUsername>>/Documents/Jetty/Jetty9/solr/db/lib/solr-core-4.3.0.jar'
to classloader
535  [coreLoadExecutor-3-thread-1] INFO
org.apache.solr.core.SolrResourceLoader  - Adding
'file:/C:/Users/<<MyUsername>>/Documents/Jetty/Jetty9/solr/db/lib/solr-dataimporthandler-4.3.0.jar'
to classloader
535  [coreLoadExecutor-3-thread-1] INFO
org.apache.solr.core.SolrResourceLoader  - Adding
'file:/C:/Users/<<MyUsername>>/Documents/Jetty/Jetty9/solr/db/lib/solr-dataimporthandler-extras-4.3.0.jar'
to classloader
535  [coreLoadExecutor-3-thread-1] INFO
org.apache.solr.core.SolrResourceLoader  - Adding
'file:/C:/Users/<<MyUsername>>/Documents/Jetty/Jetty9/solr/db/lib/solr-langid-4.3.0.jar'
to classloader
535  [coreLoadExecutor-3-thread-1] INFO
org.apache.solr.core.SolrResourceLoader  - Adding
'file:/C:/Users/<<MyUsername>>/Documents/Jetty/Jetty9/solr/db/lib/solr-solrj-4.3.0.jar'
to classloader

………….

However in the end I get the following Warning:

570  [coreLoadExecutor-3-thread-1] WARN
org.apache.solr.core.SolrResourceLoader  - No files added to classloader
from lib: solrDist/ (resolved as:
C:\Users\<<MyUsername>>\Documents\Jetty\Jetty9\solr\db\solrDist).

Why is this? I thought the Jar Files were added to the classloader, but the
last messages seems to say that none were added. I know that this is a
warning, but I am just curious. I’d be grateful to anyone who has an idea
regarding this.

Thank you,
O. O.




--
View this message in context: 
http://lucene.472066.n3.nabble.com/No-files-added-to-classloader-from-lib-tp4068374.html
Sent from the Solr - User mailing list archive at Nabble.com. 


Mime
View raw message