Hi all,
I am having a problem with XWiki that is driving me crazy. It periodically
crashes--interval between crashes from a few days to a few weeks. There
are no errors in the log when it happens.
I am running XWiki enterprise 5.4.2 on Ubuntu, using Tomcat7, Postgresql,
and LDAP authentication.
I am getting errors like the following every hour in the log. I don't know
if this is related or not:
2014-02-23 07:00:00,198 [XWiki Solr index thread] ERROR o.a.s.c.SolrCore
- org.apache.solr.common.SolrException: ERROR:
[doc=xwiki:Scheduler.WatchListHourlyNotifier_] multiple values encountered
for non multiValued field class: [XWiki.SchedulerJobClass,
XWiki.WatchListJobClass, XWiki.XWikiRights]
at
org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:243)
at
org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdateCommand.java:73)
at
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:208)
at
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
at
org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)
at
org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:432)
at
org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:557)
at
org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:325)
at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:230)
at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:157)
arch.solr.internal.AbstractSolrInstance.add(AbstractSolrInstance.java:60)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:401)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.runInternal(DefaultSolrIndexer.java:374)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:131)
at java.lang.Thread.run(Thread.java:724)
2014-02-23 07:00:00,199 [XWiki Solr index thread] ERROR
o.x.s.s.i.DefaultSolrIndexer - Failed to process entry [INDEX
xwiki:Scheduler.WatchListHourlyNotifier()]
org.apache.solr.common.SolrException: ERROR:
[doc=xwiki:Scheduler.WatchListHourlyNotifier_] multiple values encountered
for non multiValued field class: [XWiki.SchedulerJobClass,
XWiki.WatchListJobClass, XWiki.XWikiRights]
at
org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:243)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdaarch.solr.internal.AbstractSolrInstance.add(AbstractSolrInstance.java:60)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:401)
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.runInternal(DefaultSolrIndexer.java:374)
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:131)
at java.lang.Thread.run(Thread.java:724)
teCommand.java:73) ~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06
03:05:35]
at
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:208)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:61)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.DistributedUpdateProcessor.doLocalAdd(DistributedUpdateProcessor.java:432)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:557)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:325)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:230)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:157)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:157)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1699)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:150)
~[solr-core-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:35]
at
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
~[solr-solrj-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:44]
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:116)
~[solr-solrj-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:44]
at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:102)
~[solr-solrj-4.0.0.jar:4.0.0 1394950 - rmuir - 2012-10-06 03:05:44]
at
org.xwiki.search.solr.internal.AbstractSolrInstance.add(AbstractSolrInstance.java:60)
~[xwiki-platform-search-solr-api-5.4.1.jar:na]
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.processBatch(DefaultSolrIndexer.java:401)
~[xwiki-platform-search-solr-api-5.4.1.jar:na]
at
org.xwiki.search.solr.internal.DefaultSolrIndexer.runInternal(DefaultSolrIndexer.java:374)
~[xwiki-platform-search-solr-api-5.4.1.jar:na]
at
com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:131)
~[xwiki-platform-legacy-oldcore-5.4.1.jar:na]
at java.lang.Thread.run(Thread.java:724) ~[na:1.7.0_25]
Thanks very much for your help.
Best regards,
Dan Thayer
--
Research Analyst
Health Information Research Unit
ILS2 Building 2nd Floor
Swansea University
Singleton Park
Swansea SA2 8PP
+44 (0)1792 602 766