[opencms-dev] SORL Error
Ing. Angelo Marras - Consulmedia
amarras at consulmedia.it
Tue Mar 18 18:37:22 CET 2014
Hi all,
I installed 3 OpenCms 9.0.1 contexts on Apache Tomcat/7.0.47 and JVM
1.6.0_30-b30 but the SOLR engine is started only in one context (the
first). In other contexts, the following error is generated:
ERROR [pencms.search.CmsSearchManager:2797]
[org.opencms.i18n.CmsMessageContainer, bundle:
org.opencms.search.messages, key: ERR_SOLR_CORE_CONTAINER_NOT_CREATED_1,
arg1: /opt/tomcat7/webapps/..../WEB-INF/solr/solr.xml]
org.apache.solr.common.SolrException:
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:390)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:358)
at org.apache.solr.core.CoreContainer.<init>(CoreContainer.java:160)
at
org.opencms.search.CmsSearchManager.createCoreContainer(CmsSearchManager.java:2789)
at
org.opencms.search.CmsSearchManager.registerSolrIndex(CmsSearchManager.java:1704)
at org.opencms.search.solr.CmsSolrIndex.initialize(CmsSolrIndex.java:367)
at
org.opencms.search.CmsSearchManager.initSearchIndexes(CmsSearchManager.java:2334)
at
org.opencms.search.CmsSearchManager.initializeIndexes(CmsSearchManager.java:1494)
at
org.opencms.search.CmsSearchManager.initialize(CmsSearchManager.java:1476)
at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1309)
at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1431)
at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:2003)
at
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:85)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: 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(UnknownSource)
at
com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument(SAX2DOM.java:328)
at
com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:88)
at
com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:191)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:404)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:310)
at org.apache.solr.core.ConfigSolrXml.copyDoc(ConfigSolrXml.java:295)
at org.apache.solr.core.ConfigSolrXml.<init>(ConfigSolrXml.java:101)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:388)
... 26 more
18 Mar 2014 10:36:43,926 ERROR [pencms.search.CmsSearchManager:2797]
[org.opencms.i18n.CmsMessageContainer, bundle:
org.opencms.search.messages, key: ERR_SOLR_CORE_CONTAINER_NOT_CREATED_1,
arg1: /opt/tomcat7/webapps/bibliotecaoristano/WEB-INF/solr/solr.xml]
org.apache.solr.common.SolrException:
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:390)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:358)
at org.apache.solr.core.CoreContainer.<init>(CoreContainer.java:160)
at
org.opencms.search.CmsSearchManager.createCoreContainer(CmsSearchManager.java:2789)
at
org.opencms.search.CmsSearchManager.registerSolrIndex(CmsSearchManager.java:1704)
at org.opencms.search.solr.CmsSolrIndex.initialize(CmsSolrIndex.java:367)
at
org.opencms.search.CmsSearchManager.initSearchIndexes(CmsSearchManager.java:2334)
at
org.opencms.search.CmsSearchManager.initializeIndexes(CmsSearchManager.java:1494)
at
org.opencms.search.CmsSearchManager.initialize(CmsSearchManager.java:1476)
at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1309)
at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1431)
at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:2003)
at
org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:85)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1120)
at
org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1678)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
Caused by: 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(UnknownSource)
at
com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.createDocument(SAX2DOM.java:328)
at
com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.<init>(SAX2DOM.java:88)
at
com.sun.org.apache.xalan.internal.xsltc.runtime.output.TransletOutputHandlerFactory.getSerializationHandler(TransletOutputHandlerFactory.java:191)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:404)
at
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:310)
at org.apache.solr.core.ConfigSolrXml.copyDoc(ConfigSolrXml.java:295)
at org.apache.solr.core.ConfigSolrXml.<init>(ConfigSolrXml.java:101)
at org.apache.solr.core.CoreContainer.load(CoreContainer.java:388)
... 26 more
Do you have any idea?
Thank you in advance.
Angelo.
--
-------------------------------------------------------
Angelo Marras -- ConsulMedia Srl
Via Mattei 72 - 09170 Oristano (OR) - ITALY
tel.+39 0783 71405; fax. +39 0783 301727
e-mail:amarras at consulmedia.it http://www.consulmedia.it
-------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20140318/703572b0/attachment.htm>
More information about the opencms-dev
mailing list