AnsweredAssumed Answered

Solr throws exceptions after upgrade to 5.0.b

Question asked by jbrucher on Oct 30, 2014
Latest reply on Nov 25, 2014 by lulrich
Hi,

I upgraded Alfresco 4.2.e to 5.0.b. After that there are many exceptions inside the solr.log.

What I did:

- Backup Database and alf_data (including the solr index)
- Installations of 5.0.b
- Testing the the new version
- In alfresco-global.properties, set index.subsystem.name=solr
- Roll in the Backup into the new version

Alfresco 5.0.b is working fine except the solr subsystem, here are the log messages (all the time there is something with the new property "facetable"):



09:14:08,667 WARN  [org.apache.solr.handler.component.SpellCheckComponent] No queryConverter defined, using default converter
09:14:11,825 WARN  [org.apache.solr.handler.component.SpellCheckComponent] No queryConverter defined, using default converter
09:16:32,567 WARN  [org.alfresco.solr.tracker.CoreTracker] Tracking communication timed out.
09:16:32,570 WARN  [org.alfresco.solr.tracker.CoreTracker] Tracking communication timed out.
09:17:28,127 ERROR [org.alfresco.solr.tracker.CoreTracker] Tracking failed
org.alfresco.service.cmr.dictionary.DictionaryException: 09290000 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.client.SOLRAPIClient.getModel(SOLRAPIClient.java:1023)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1905)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1227)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:513)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.jibx.runtime.JiBXException: Expected "{http://www.alfresco.org/model/dictionary/1.0}index" end tag, found "{http://www.alfresco.org/model/dictionary/1.0}facetable" start tag (line 60, col 25)
   at org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:731)
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_30()
   at org.alfresco.repo.dictionary.JiBX_defaultM2Property_access.unmarshal()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_17()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_22()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_27()
   at org.alfresco.repo.dictionary.JiBX_defaultM2Type_access.unmarshal()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_7()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_9()
   at org.alfresco.repo.dictionary.JiBX_defaultM2Model_access.unmarshal()
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2757)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2900)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:97)
   … 8 more
09:17:28,172 ERROR [org.alfresco.solr.tracker.CoreTracker] Tracking failed
org.alfresco.service.cmr.dictionary.DictionaryException: 09290001 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.client.SOLRAPIClient.getModel(SOLRAPIClient.java:1023)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1905)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1227)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:513)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
Caused by: org.jibx.runtime.JiBXException: Expected "{http://www.alfresco.org/model/dictionary/1.0}index" end tag, found "{http://www.alfresco.org/model/dictionary/1.0}facetable" start tag (line 60, col 25)
   at org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:731)
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_30()
   at org.alfresco.repo.dictionary.JiBX_defaultM2Property_access.unmarshal()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_17()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_22()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_27()
   at org.alfresco.repo.dictionary.JiBX_defaultM2Type_access.unmarshal()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_7()
   at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_9()
   at org.alfresco.repo.dictionary.JiBX_defaultM2Model_access.unmarshal()
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2757)
   at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2900)
   at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:97)
   … 8 more


This is repeating all the time…

Any suggestion are highly welcome!


Regards Johannes

Outcomes