10-12-2016 02:59 AM
Hello Alfrescians,
I've been using Alfresco Community Edition 5.1 for quite some time now and I've done some changes my Alfresco like: installing some AMP files and created a custom datalist, now suddenly my search engine doesn't work when I'm searching for any files, sites, or people. What has happen to my Alfresco? Is there a way to fix this? I've been searching some time and it leads me no progress.
Thanks in advance.
Best Regards,
June
10-12-2016 04:01 AM
If none of the search features are working then it sounds like it might be a problem with Solr - unfortunately you're not providing much to go on here. Is there any useful information in the error logs?
10-12-2016 05:14 AM
Hello Dave,
Here is the error log in solr.log
Its not the whole error log, I hope this is enough.
Best Regards,
June
10-12-2016 05:17 AM
OK, well ... it definitely looks Solr is the cause of the problem - unfortunately it's not an area of the application that I know very much about, I'll see if I can get someone else to take a look at this discussion thread.
10-12-2016 05:45 AM
Thank you Dave.
10-12-2016 08:41 AM
It seems like issue with your solr indexes because of some custom models.
First try to regenerate all solr indexes using following steps.
Performing a full reindex with Solr | Alfresco Documentation
If problem still persist post your full logs here.
10-12-2016 08:44 PM
Hello Mittal,
I will try this and give you a feedback as soon as possible, Thanks.
Best Regards,
June
10-12-2016 11:23 PM
Hello Mittal,
I followed the steps in the link you gave me but I still have errors.
Here are my logs:
2016-10-13 11:08:04,523 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loaded suggester shingleBasedSuggestions, took 21327 ms
2016-10-13 11:20:08,925 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2016-10-13 11:20:08,925 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Initializing SuggestComponent
2016-10-13 11:20:09,051 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loading suggester index for: shingleBasedSuggestions
2016-10-13 11:20:09,060 INFO [org.alfresco.solr.component.AsyncBuildSuggestComponent] Loaded suggester shingleBasedSuggestions, took 7 ms
2016-10-13 11:20:11,485 ERROR [org.apache.solr.util.plugin.AbstractPluginLoader] org.alfresco.service.cmr.dictionary.DictionaryException: 09130000 d_dictionary.model.err.parse.failure
at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:106)
at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:92)
at org.alfresco.solr.AlfrescoDataType.init(AlfrescoDataType.java:140)
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:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5542)
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:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jibx.runtime.JiBXException: Error accessing document
at org.jibx.runtime.impl.XMLPullReaderFactory$XMLPullReader.next(XMLPullReaderFactory.java:293)
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:101)
... 28 more
Caused by: java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jibx.runtime.impl.XMLPullReaderFactory$XMLPullReader.next(XMLPullReaderFactory.java:291)
... 32 more
2016-10-13 11:20:11,708 ERROR [org.apache.solr.core.CoreContainer] java.lang.NullPointerException
at org.alfresco.solr.AlfrescoSolrDataModel.getSolrLuceneAnalyser(AlfrescoSolrDataModel.java:1726)
at org.alfresco.solr.AlfrescoDataType.getAnalyzer(AlfrescoDataType.java:235)
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:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5542)
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:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2016-10-13 11:20:11,775 ERROR [org.apache.solr.util.plugin.AbstractPluginLoader] org.alfresco.service.cmr.dictionary.DictionaryException: 09130001 d_dictionary.model.err.parse.failure
at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:106)
at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:92)
at org.alfresco.solr.AlfrescoDataType.init(AlfrescoDataType.java:140)
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:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5542)
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:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jibx.runtime.JiBXException: Error accessing document
at org.jibx.runtime.impl.XMLPullReaderFactory$XMLPullReader.next(XMLPullReaderFactory.java:293)
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:101)
... 28 more
Caused by: java.io.EOFException: input contained no data
at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:3003)
at org.xmlpull.mxp1.MXParser.more(MXParser.java:3046)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1410)
at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jibx.runtime.impl.XMLPullReaderFactory$XMLPullReader.next(XMLPullReaderFactory.java:291)
... 32 more
2016-10-13 11:20:11,785 ERROR [org.apache.solr.core.CoreContainer] java.lang.NullPointerException
at org.alfresco.solr.AlfrescoSolrDataModel.getSolrLuceneAnalyser(AlfrescoSolrDataModel.java:1726)
at org.alfresco.solr.AlfrescoDataType.getAnalyzer(AlfrescoDataType.java:235)
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:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4854)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5542)
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:649)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
10-12-2016 11:26 PM
Alfresco use JiBX tool to bind xml content model file to java objects,
In your log file JiBX is failing to unmarshal the content model XML file. So it seems there is something wrong with your custom content models ,or it is damaged during downloading from alfresco server.
You can check the content model definition file in your ${SOLR_HOME}/alfrescoModels folder to see if it is legal.
10-13-2016 01:41 AM
Hi Kayne,
The namespace I've been using for my custom datalist is defined as "ap.testDatalist.com" (i just made it up), maybe this should be replaced? what do you think?, also, what namespace should I use?
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.