Thanks for wrapping this up, it's always nice to get closure, especially when it comes to googling <G>..
On Wed, Nov 14, 2012 at 5:34 AM, Adam Neal <an...@mass.co.uk> wrote: > Just to wrap up this one. Previously all the lib jars were located in the > war file on our setup, this was mainly to ease deployment as it's just a > single file. Moving the lib directory external to the war seems to have > fixed the issue. > > Thanks for the pointer Erick. > > > -----Original Message----- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Tue 13/11/2012 12:05 > To: solr-user@lucene.apache.org > Subject: Re: Unable to run two multicore Solr instances under Tomcat > > > At a guess you have leftover jars from your earlier installation in your > classpath that are being picked up. I've always found that figuring out how > _that_ happened is...er... "interesting"... > > Best > Erick > > > On Mon, Nov 12, 2012 at 7:44 AM, Adam Neal <an...@mass.co.uk> wrote: > > > Hi, > > > > I have been running two multicore Solr instances under Tomcat using a > > nightly build of 4.0 from September 2011. This has been running fine but > > when I try to update these instances to the release version of 4.0 I'm > > hitting problems when the second instance starts up. If I have one > instance > > on the release version and one on the nightly build it also works fine. > > > > It's running on a Solaris 10 box using Tomcat 6.0.26 and Java 1.6.0_20 > > > > I can run up either instance on it's own and it works fine, it's just > when > > starting both together so I'm pretty sure my configs aren't the issue. > > > > Snippet from the log is below, please note that I have had to type this > > out so there may be some typos, hopefully not! > > > > Any ideas? > > > > Adam > > > > > > 12-Nov-2012 09:58:50 org.apache.solr.core.SolrResourceLoader > locateSolrHome > > INFO: Using JNDI solr.home: /conf_solr/instance2 > > 12-Nov-2012 09:58:50 org.apache.solr.core.SolrResourceLoader <init> > > INFO: new SolrResourceLoader for deduced Solr Home: > '/conf_solr/instance2/' > > 12-Nov-2012 09:58:52 org.apache.solr.servlet.SolrDispatchFilter init > > INFO: SolrDispatchFilter.init() > > 12-Nov-2012 09:58:52 org.apache.solr.core.SolrResourceLoader > locateSolrHome > > INFO: Using JNDI solr.home /conf_solr/instance2 > > 12-Nov-2012 09:58:52 org.apache.solr.core.CoreContainer$Initializer > > initialize > > INFO: looking for solr.xml: /conf_solr/instance2/solr.xml > > 12-Nov-2012 09:58:52 org.apache.solr.core.CoreContainer <init> > > INFO: New CoreContainer 15471347 > > 12-Nov-2012 09:58:52 org.apache.solr.core.CoreContainer load > > INFO: Loading CoreContainer using Solr Home: '/conf_solr/instance2/' > > 12-Nov-2012 09:58:52 org.apache.solr.core.SolrResourceLoader <init> > > INFO: new SOlrResourceLoader for directory: '/conf_solr/instance2/' > > 12-Nov-2012 09:58:52 org.apache.solr.servlet.SolrDispatchFilter init > > SEVERE: Could not start Solr. Check solr/home property and the logs > > 12-Nov-2012 09:58:52 org.apache.solr.common.SolrException log > > SEVERE: null:java.lang.ClassCastException: > > org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast > > to org.apache.xerces.xni.parser.XMLParserConfiguration > > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > > at org.apache.xerces.parsers.DOMParser.<init>(Unknown Source) > > at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(Unknown > > Source) > > at > > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown > > Source) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument(SAX2DOM.java:324) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:84) > > at > > > com.sun.org.apache.xalan.internal.xsltc.runtime.output.TranslateOutputHandlerFactory.getSerializationHanlder(TransletOutputHandlerFactory.java:187) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:392) > > at > > > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:298) > > at > > org.apache.solr.core.CoreContainer.copyDoc(CoreContainer.java:551) > > at > org.apache.solr.core.CoreContainer.load(CoreContainer.java:381) > > at > org.apache.solr.core.CoreContainer.load(CoreContainer.java:356) > > at > > > org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:308) > > at > > > org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:107) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422) > > at > > > org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115) > > at > > > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3838) > > at > > org.apache.catalina.core.StandardContext.start(StandardContext.java:4488) > > at > > > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) > > at > > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) > > at > > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) > > at > > > org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637) > > at > > > org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563) > > at > > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498) > > at > > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) > > at > > > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) > > at > > > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > > at > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) > > at > > org.apache.catalina.core.StandardHost.start(StandardHost.java:785) > > at > > org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) > > at > > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) > > at > > org.apache.catalina.core.StandardService.start(StandardService.java:519) > > at > > org.apache.catalina.core.StandardServer.start(StandardServer.java:710) > > at org.apache.catalina.startup.Catalina.start(Catalina.java@581) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > org.apache.cataline.startup.Bootstrap.start(Bootstrap.java:289) > > at org.apache.cataline.startup.Bootstrap.main(Bootstrap.java:414) > > > > > > > ##################################################################################### > > > > This E-mail is the property of Mass Consultants Ltd. It is confidential > > and intended only for the use of the addressee or with its permission. > Use > > by anyone else for any purpose is prohibited. If you are not the > > addressee, you should not use, disclose, copy or distribute this e-mail > and > > should notify us of receipt immediately by return e-mail to the address > > where the e-mail originated. > > > > This E-mail may not have been sent through a secure system and > accordingly > > (i) its contents should not be relied upon by any person without > > independent verification from Mass Consultants Ltd and (ii) it is the > > responsibility of the recipient to ensure that the onward transmission, > > opening or use of this message and any attachments will not adversely > > affect its systems or data. No responsibility is accepted by Mass > > Consultants Ltd in this regard. > > > > Any e-mails that are sent to Mass Consultants Ltd's e-mail addresses may > > be monitored by systems or persons other than the addressee, for the > > purposes of ascertaining whether the communication complies with the law > > and Mass Consultants Ltd's policies. > > > > Mass Consultants Ltd is registered in England No. 1705804, Enterprise > > House, Great North Road, Little Paxton, Cambs., PE19 6BN, United Kingdom. > > Tel: +44 (0) 1480 222600. > > > > > > > ##################################################################################### > > > > > > ##################################################################################### > > This E-mail is the property of Mass Consultants Ltd. It is confidential > and intended only for the use of the addressee or with its permission. Use > by anyone else for any purpose is prohibited. If you are not the > addressee, you should not use, disclose, copy or distribute this e-mail and > should notify us of receipt immediately by return e-mail to the address > where the e-mail originated. > > This E-mail may not have been sent through a secure system and accordingly > (i) its contents should not be relied upon by any person without > independent verification from Mass Consultants Ltd and (ii) it is the > responsibility of the recipient to ensure that the onward transmission, > opening or use of this message and any attachments will not adversely > affect its systems or data. No responsibility is accepted by Mass > Consultants Ltd in this regard. > > Any e-mails that are sent to Mass Consultants Ltd's e-mail addresses may > be monitored by systems or persons other than the addressee, for the > purposes of ascertaining whether the communication complies with the law > and Mass Consultants Ltd's policies. > > Mass Consultants Ltd is registered in England No. 1705804, Enterprise > House, Great North Road, Little Paxton, Cambs., PE19 6BN, United Kingdom. > Tel: +44 (0) 1480 222600. > > > ##################################################################################### >