cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresoc SDK 4.4.0 Error

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

I have created new sdk 4.4.0 all-in-one project and running first time, It is giving error as below.

2022-07-27 06:02:06.517 WARN  (Thread-12) [   x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1919, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/opt/alfresco-search-services/solrhome/alfresco'
2022-07-27 06:02:07.362 WARN  (Thread-12) [   x:alfresco] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [org.apache.solr.analysis.WordDelimiterFilterFactory]. Please consult documentation how to replace it accordingly.
2022-07-27 06:02:07.373 WARN  (Thread-12) [   x:alfresco] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly.
2022-07-27 06:02:09.393 WARN  (Thread-12) [   x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
2022-07-27 06:02:09.900 WARN  (Thread-12) [   x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1919, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/opt/alfresco-search-services/solrhome/archive'
2022-07-27 06:02:11.742 WARN  (Thread-12) [   x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
2022-07-27 06:03:12.071 ERROR (searcherExecutor-7-thread-1-processing-x:alfresco) [   x:alfresco] o.a.s.t.AbstractTracker Model tracking failed for core: alfresco
org.alfresco.error.AlfrescoRuntimeException: 06270000 alfresco GetModelsDiff return status is 403
        at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
        at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
        at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
        at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:271)
        at org.alfresco.solr.lifecycle.SolrCoreLoadRegistration.registerForCore(SolrCoreLoadRegistration.java:110)
        at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:44)
        at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2022-07-27 06:03:20.032 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@29a5f4e7_Worker-3) [   ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
org.alfresco.error.AlfrescoRuntimeException: 06270002 api/solr/aclchangesets return status:403

I am able to login. There is no customization.

If I am trying to search then It is giving below error.

   |     at java.lang.Thread.run(Thread.java:748)
search-extension-demo-ass_1       |
search-extension-demo-ass_1       | 2022-07-27 06:07:27.324 ERROR (qtp1205044462-15) [   x:alfresco] o.a.s.s.HttpSolrCall null:org.alfresco.service.namespace.NamespaceException: Namespace prefix cm is not mapped to a namespace URI
search-extension-demo-ass_1       |     at org.alfresco.service.namespace.QName.createQName(QName.java:109)
search-extension-demo-ass_1       |     at org.alfresco.service.namespace.QName.createQName(QName.java:131)
search-extension-demo-ass_1       |     at org.alfresco.repo.search.impl.parsers.AlfrescoFunctionEvaluationContext.getLuceneFieldName(AlfrescoFunctionEvaluationContext.java:346)
search-extension-demo-ass_1       |     at org.alfresco.solr.AlfrescoSolr4FunctionEvaluationContext.getLuceneFieldName(AlfrescoSolr4FunctionEvaluationContext.java:59)
search-extension-demo-ass_1       |     at org.alfresco.repo.search.impl.querymodel.impl.lucene.functions.LuceneFTSTerm.addComponent(LuceneFTSTerm.java:75)
search-extension-demo-ass_1       |     at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneFunctionalConstraint.addComponent(LuceneFunctionalConstraint.java:63)
search-extension-demo-ass_1       |     at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneDisjunction.addComponent(LuceneDisjunction.java:71)
1 ACCEPTED ANSWER
2 REPLIES 2

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

With this change, I am able to run.

https://github.com/Alfresco/alfresco-sdk/issues/635