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

Jan Høydahl commented on SOLR-4791:
-----------------------------------

This is the log output
{noformat}
40   [localhost-startStop-1] INFO  org.apache.solr.core.CoreContainer  – 
looking for solr config file: 
/Users/janhoy/git/openesp/build/openesp/bin/../conf/solr/solr.xml
44   [localhost-startStop-1] INFO  org.apache.solr.core.CoreContainer  – New 
CoreContainer 218790518
47   [localhost-startStop-1] INFO  org.apache.solr.core.CoreContainer  – 
Loading CoreContainer using Solr Home: 
'/Users/janhoy/git/openesp/build/openesp/bin/../conf/solr/'
48   [localhost-startStop-1] INFO  org.apache.solr.core.SolrResourceLoader  – 
new SolrResourceLoader for directory: 
'/Users/janhoy/git/openesp/build/openesp/bin/../conf/solr/'
373  [localhost-startStop-1] INFO  org.apache.solr.core.CoreContainer  – 
loading shared library: /Users/janhoy/git/openesp/build/openesp/bin/../lib/solr
374  [localhost-startStop-1] INFO  org.apache.solr.core.SolrResourceLoader  – 
Adding 'file:/Users/janhoy/git/openesp/build/openesp/lib/solr/' to classloader
{noformat}

...it believes that the folder is a file... while in 4.2.1 it looks like this

{noformat}
INFO: looking for solr.xml: 
/Users/janhoy/git/openesp/build/openesp/bin/../conf/solr/solr.xml
mai 07, 2013 3:18:46 AM org.apache.solr.core.CoreContainer <init>
INFO: New CoreContainer 39755063
mai 07, 2013 3:18:46 AM org.apache.solr.core.CoreContainer load
INFO: Loading CoreContainer using Solr Home: 
'/Users/janhoy/git/openesp/build/openesp/bin/../conf/solr/'
(...)
mai 07, 2013 3:18:46 AM org.apache.solr.core.CoreContainer load
INFO: loading shared library: 
/Users/janhoy/git/openesp/build/openesp/bin/../lib/solr
mai 07, 2013 3:18:46 AM org.apache.solr.core.SolrResourceLoader 
replaceClassLoader
INFO: Adding 
'file:/Users/janhoy/git/openesp/build/openesp/lib/solr/activation-1.1.jar' to 
classloader
mai 07, 2013 3:18:46 AM org.apache.solr.core.SolrResourceLoader 
replaceClassLoader
INFO: Adding 
'file:/Users/janhoy/git/openesp/build/openesp/lib/solr/apache-mime4j-core-0.7.2.jar'
 to classloader
{noformat}
                
> solr.xml sharedLib does not work in 4.3.0
> -----------------------------------------
>
>                 Key: SOLR-4791
>                 URL: https://issues.apache.org/jira/browse/SOLR-4791
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.3
>            Reporter: Jan Høydahl
>
> The sharedLib attribute on {{<solr>}} tag in solr.xml stopped working in 4.3.
> Using old-style solr.xml with sharedLib defined on solr tag. Solr does not 
> load any of them. Simply swapping out solr.war with the 4.2.1 one, brings 
> sharedLib loading back.

--
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