Here`s the catalina.out contents: Out 20, 2012 12:55:58 PM org.apache.solr.core.SolrResourceLoader locateSolrHome INFO: using system property solr.solr.home: /home/rogerio/Dados/salutisvitae Out 20, 2012 12:55:58 PM org.apache.solr.core.SolrResourceLoader <init> INFO: new SolrResourceLoader for deduced Solr Home: '/home/rogerio/Dados/salutisvitae/' Out 20, 2012 12:55:58 PM org.apache.solr.servlet.SolrDispatchFilter init INFO: SolrDispatchFilter.init() Out 20, 2012 12:55:58 PM org.apache.solr.core.SolrResourceLoader locateSolrHome INFO: No /solr/home in JNDI Out 20, 2012 12:55:58 PM org.apache.solr.core.SolrResourceLoader locateSolrHome INFO: using system property solr.solr.home: /home/rogerio/Dados/salutisvitae Out 20, 2012 12:55:58 PM org.apache.solr.core.CoreContainer$Initializer initialize INFO: looking for solr.xml: /home/rogerio/Dados/salutisvitae/solr.xml Out 20, 2012 12:55:58 PM org.apache.solr.core.CoreContainer <init> INFO: New CoreContainer 1806276996
/home/rogerio/Dados/salutisvitae really exists and has two core dirs, collection1 and collection2, but only collection1 is initialized as we can see below: INFO: unique key field: id Out 20, 2012 12:56:29 PM org.apache.solr.core.SolrCore <init> INFO: [collection1] Opening new SolrCore at /home/rogerio/Dados/salutisvitae/collection1/, dataDir=/home/rogerio/Dados/salutisvitae/collection1/data/ Out 20, 2012 12:56:29 PM org.apache.solr.core.SolrCore <init> INFO: JMX monitoring not detected for core: collection1 Out 20, 2012 12:56:29 PM org.apache.solr.core.SolrCore getNewIndexDir WARNING: New index directory detected: old=null new=/home/rogerio/Dados/salutisvitae/collection1/data/index/ Out 20, 2012 12:56:29 PM org.apache.solr.core.CachingDirectoryFactory get INFO: return new directory for /home/rogerio/Dados/salutisvitae/collection1/data/index forceNew:false No more cores are initialized after collection1. Note, I`m just making a simple copy of multicore example to /home/rogerio/Dados/salutisvitae and renaming core1 to collection1, copying collection1 to collection2 and doing the configuration changes on solrconfig.xml, and to set the path above I`m using the solr.solr.home system property with solr admin deployed on tomcat from solr.war I`m getting the same strange behavior on both Xubuntu 10.04 and Ubuntu 12.10 2012/10/16 Chris Hostetter <hossman_luc...@fucit.org> > : To answer your question, I tried both -Dsolr.solr.home and solr/home JNDI > : variable, in both cases I got the same result. > : > : I checked the logs several times, solr always only loads up the > collection1, > > That doesn't really answer any of the questions i was asking you. > > *Before* solr logs anything about loading collection1, it will log > information about how/where it is locating the solr home dir and > solr.xml.... > > : if you look at the logging when solr first starts up, you should ese > : several messages about how/where it's trying to locate the Solr Home Dir > : ... please double check that it's finding the one you intended. > : > : Please give us more details about those log messages related to the solr > : home dir, as well as how you are trying to set it, and what your > directory > : structure looks like in tomcat. > > For example, this is what Solr logs if it can't detect either the system > property, or JNDI, and is assuming it should use "./solr" ... > > Oct 16, 2012 8:48:52 AM org.apache.solr.core.SolrResourceLoader > locateSolrHome > INFO: JNDI not configured for solr (NoInitialContextEx) > Oct 16, 2012 8:48:52 AM org.apache.solr.core.SolrResourceLoader > locateSolrHome > INFO: solr home defaulted to 'solr/' (could not find system property or > JNDI) > Oct 16, 2012 8:48:52 AM org.apache.solr.core.SolrResourceLoader <init> > INFO: new SolrResourceLoader for deduced Solr Home: 'solr/' > Oct 16, 2012 8:48:53 AM org.apache.solr.servlet.SolrDispatchFilter init > INFO: SolrDispatchFilter.init() > Oct 16, 2012 8:48:53 AM org.apache.solr.core.SolrResourceLoader > locateSolrHome > INFO: JNDI not configured for solr (NoInitialContextEx) > Oct 16, 2012 8:48:53 AM org.apache.solr.core.SolrResourceLoader > locateSolrHome > INFO: solr home defaulted to 'solr/' (could not find system property or > JNDI) > Oct 16, 2012 8:48:53 AM org.apache.solr.core.CoreContainer$Initializer > initialize > INFO: looking for solr.xml: > /home/hossman/lucene/dev/solr/example/solr/solr.xml > > What do your startup logs look like as far as finding the solr home dir? > > because my suspicion is that the reason it's not loading your > multicore setup, or complaining about malformed xml in your solr.xml > file, is because it's not fiding the directory you want at all. > > > > -Hoss > -- Regards, Rogério Pereira Araújo Blogs: http://faces.eti.br, http://ararog.blogspot.com Twitter: http://twitter.com/ararog Skype: rogerio.araujo MSN: ara...@hotmail.com Gtalk/FaceTime: rogerio.ara...@gmail.com (0xx62) 8240 7212 (0xx62) 3920 2666