AnsweredAssumed Answered

Solr ne démarre plus

Question asked by geminux on Apr 25, 2015
Latest reply on Apr 29, 2015 by geminux
Bonsoir à tous,

j'ai un alfresco 4.2-c qui tourne sans problème depuis longtemps.
Suite à un reboot, solr ne démarre plus. La recherche ne fonctionne pas et les tags sont indisponibles.

Je ne vois pas bien où chercher… voici le log :
—-
avr. 25, 2015 12:45:58 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4.6.
avr. 25, 2015 12:45:58 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
avr. 25, 2015 12:45:58 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 0.9.8o 01 Jun 2010)
avr. 25, 2015 12:45:58 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
avr. 25, 2015 12:45:58 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
avr. 25, 2015 12:45:58 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8443"]
avr. 25, 2015 12:45:58 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 752 ms
avr. 25, 2015 12:45:58 AM org.apache.catalina.core.StandardService startInternal
INFO: Démarrage du service Catalina
avr. 25, 2015 12:45:58 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.30
avr. 25, 2015 12:45:58 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Déploiement du descripteur de configuration /opt/alfresco-4.2.c/tomcat/conf/Catalina/localhost/solr.xml
2015-04-25 00:46:00,803  ERROR [util.plugin.AbstractPluginLoader] [localhost-startStop-1] org.alfresco.service.cmr.dictionary.DictionaryException: 03250000 Failed to parse model
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:102)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:88)
   at org.alfresco.solr.AlfrescoDataType.init(AlfrescoDataType.java:168)
   at org.apache.solr.schema.FieldType.setArgs(FieldType.java:117)
   at org.apache.solr.schema.IndexSchema$1.init(IndexSchema.java:443)
   at org.apache.solr.schema.IndexSchema$1.init(IndexSchema.java:414)
   at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:176)
   at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:456)
   at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:95)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:426)
   at org.apache.solr.core.CoreContainer.load(CoreContainer.java:278)
   at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117)
   at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
   at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
   at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
   at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
   at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
   at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
   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:618)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
   at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
   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:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
Caused by: org.jibx.runtime.JiBXException: Error parsing document (line 1, col 1)
   at org.jibx.runtime.impl.StAXReaderWrapper.next(StAXReaderWrapper.java:302)
   at org.jibx.runtime.impl.UnmarshallingContext.toStart(UnmarshallingContext.java:446)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2750)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2900)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:97)
   … 30 more
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
   at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686)
   at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
   at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
   at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
   at org.jibx.runtime.impl.StAXReaderWrapper.next(StAXReaderWrapper.java:240)
   … 34 more

2015-04-25 00:46:00,877  ERROR [solr.core.CoreContainer] [localhost-startStop-1] java.lang.NullPointerException
   at org.alfresco.solr.AlfrescoSolrDataModel.getSolrLuceneAnalyser(AlfrescoSolrDataModel.java:1561)
   at org.alfresco.solr.AlfrescoDataType.getAnalyzer(AlfrescoDataType.java:258)
   at org.alfresco.solr.AlfrescoDataType.getAnalyzer(AlfrescoDataType.java:75)
   at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.analyzerCache(IndexSchema.java:345)
   at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.<init>(IndexSchema.java:339)
   at org.apache.solr.schema.IndexSchema.refreshAnalyzers(IndexSchema.java:331)
   at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:660)
   at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:95)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:426)
   at org.apache.solr.core.CoreContainer.load(CoreContainer.java:278)
   at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117)
   at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
   at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
   at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
   at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
   at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
   at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
   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:618)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
   at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
   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:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)

2015-04-25 00:46:01,065  ERROR [util.plugin.AbstractPluginLoader] [localhost-startStop-1] org.alfresco.service.cmr.dictionary.DictionaryException: 03250001 Failed to parse model
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:102)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:88)
   at org.alfresco.solr.AlfrescoDataType.init(AlfrescoDataType.java:168)
   at org.apache.solr.schema.FieldType.setArgs(FieldType.java:117)
   at org.apache.solr.schema.IndexSchema$1.init(IndexSchema.java:443)
   at org.apache.solr.schema.IndexSchema$1.init(IndexSchema.java:414)
   at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:176)
   at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:456)
   at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:95)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:426)
   at org.apache.solr.core.CoreContainer.load(CoreContainer.java:278)
   at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117)
   at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
   at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
   at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
   at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
   at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
   at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
   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:618)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
   at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
   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:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
Caused by: org.jibx.runtime.JiBXException: Error parsing document (line 1, col 1)
   at org.jibx.runtime.impl.StAXReaderWrapper.next(StAXReaderWrapper.java:302)
   at org.jibx.runtime.impl.UnmarshallingContext.toStart(UnmarshallingContext.java:446)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2750)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2900)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:97)
   … 30 more
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
   at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:686)
   at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
   at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
   at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
   at org.jibx.runtime.impl.StAXReaderWrapper.next(StAXReaderWrapper.java:240)
   … 34 more

2015-04-25 00:46:01,069  ERROR [solr.core.CoreContainer] [localhost-startStop-1] java.lang.NullPointerException
   at org.alfresco.solr.AlfrescoSolrDataModel.getSolrLuceneAnalyser(AlfrescoSolrDataModel.java:1561)
   at org.alfresco.solr.AlfrescoDataType.getAnalyzer(AlfrescoDataType.java:258)
   at org.alfresco.solr.AlfrescoDataType.getAnalyzer(AlfrescoDataType.java:75)
   at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.analyzerCache(IndexSchema.java:345)
   at org.apache.solr.schema.IndexSchema$SolrIndexAnalyzer.<init>(IndexSchema.java:339)
   at org.apache.solr.schema.IndexSchema.refreshAnalyzers(IndexSchema.java:331)
   at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:660)
   at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:95)
   at org.apache.solr.core.CoreContainer.create(CoreContainer.java:426)
   at org.apache.solr.core.CoreContainer.load(CoreContainer.java:278)
   at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:117)
   at org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
   at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:277)
   at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:258)
   at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
   at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
   at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
   at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
   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:618)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
   at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
   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:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
[…]


Merci pour votre aide

Outcomes