Error of Solr on Docker Container (Alfresco 6.1)

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Error of Solr on Docker Container (Alfresco 6.1)

Hi All,

I am getting following error for Alfresco 6.1 on docker container.Can anyone help me for same ??

---------------------------------------------------------------------------------------------------------------------------------------------------

ERROR

---------------------------------------------------------------------------------------------------------------------------------------------------

OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.jetty.util.BufferUtil (file:/opt/alfresco-search-services/solr/server/lib/jetty-util-9.3.14.v20161028.jar) to field java.nio.MappedByteBuffer.fd
WARNING: Please consider reporting this to the maintainers of org.eclipse.jetty.util.BufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2019-05-24 07:22:45.132 INFO (main) [ ] o.e.j.s.Server jetty-9.3.14.v20161028
2019-05-24 07:22:45.586 INFO (main) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solr™ version 6.6.5
2019-05-24 07:22:45.586 INFO (main) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in standalone mode on port 8983
2019-05-24 07:22:45.586 INFO (main) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: /opt/alfresco-search-services/solr
2019-05-24 07:22:45.596 INFO (main) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2019-05-24T07:22:45.588081Z
2019-05-24 07:22:46.275 INFO (main) [ ] o.e.j.s.Server Started @1765ms
2019-05-24 07:22:56.252 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'
2019-05-24 07:22:56.711 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.
2019-05-24 07:22:56.715 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.
2019-05-24 07:22:57.554 WARN (Thread-12) [ x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
2019-05-24 07:22:57.674 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'
2019-05-24 07:22:57.997 WARN (Thread-12) [ x:alfresco] o.a.s.h.c.AlfrescoSolrClusteringComponent No default engine for document clustering.
2019-05-24 07:22:58.098 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: 04240000 alfresco GetModelsDiff return status is 403
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1182)
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.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2019-05-24 07:23:00.035 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@c9d82f9_Worker-3) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
org.alfresco.error.AlfrescoRuntimeException: 04240001 api/solr/aclchangesets return status:403
at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:170)
at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:215)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

1 Reply
Highlighted
Alfresco Employee

Re: Error of Solr on Docker Container (Alfresco 6.1)

If you are using this proxy service:

acs-deployment/docker-compose.yml at master · Alfresco/acs-deployment · GitHub 

The problem is that HTTP access to SOLR has been disabled. So you need to change this service in order to allow access to SOLR urls.

If you are using Community, then you can switch to

https://github.com/Alfresco/acs-community-deployment/blob/master/docker-compose/docker-compose.yml 

Software Engineer in Alfresco Search Team.