Hi Daniel,

I don’t think the error below is related to the crash.

The SOLR error below is probably happening because you have upgraded your xwiki 
instance and haven’t removed/cleared the SOLR index. We mentioned this in the 
release notes since we changed the SOLR index format recently.

See 
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki53#HSolrSearchIndex
 for example.

On the crash aspect you should check the memory usage when it crashes (you can 
take a heap dump on OOM for example).

Thanks
-Vincent

On 28 Feb 2014 at 13:38:46, Daniel Thayer (d.s.tha...@swansea.ac.uk) wrote:

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  


_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to