08-25-2022 11:36 AM
Hi There,
I have a proble starting Solr 6 i alwas get the error
====
2022-08-25 15:16:44.901 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.h.c.ClusteringComponent No default engine for document clustering.
2022-08-25 15:16:44.979 ERROR (searcherExecutor-7-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.c.SolrCore null:java.lang.RuntimeException: Missing value for alfresco.secureComms.secret configuration property. Make sure to pass this property as a JVM Argument (eg. -Dalfresco.secureComms.secret=my-secret-value).
at org.alfresco.solr.security.SecretSharedPropertyCollector.getSecret(SecretSharedPropertyCollector.java:163)
at org.alfresco.solr.security.SecretSharedPropertyCollector.completeCoreProperties(SecretSharedPropertyCollector.java:199)
at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:119)
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)
2022-08-25 15:16:44.980 ERROR (searcherExecutor-8-thread-1-processing-x:archive) [ x:archive] o.a.s.c.SolrCore null:java.lang.RuntimeException: Missing value for alfresco.secureComms.secret configuration property. Make sure to pass this property as a JVM Argument (eg. -Dalfresco.secureComms.secret=my-secret-value).
at org.alfresco.solr.security.SecretSharedPropertyCollector.getSecret(SecretSharedPropertyCollector.java:163)
at org.alfresco.solr.security.SecretSharedPropertyCollector.completeCoreProperties(SecretSharedPropertyCollector.java:199)
at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:119)
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)
====
SecureComms=secret
and i la sharinf the password between Alfresco and solr i defined the same PW in alfresco and archive solrcore.properties
Any Help
Tha
08-26-2022 03:58 AM
"Missing value for alfresco.secureComms.secret configuration property. Make sure to pass this property as a JVM Argument (eg. -Dalfresco.secureComms.secret=my-secret-value)."
You need to pass the value as JVM argument, using the solrcore.properties for it is not allowed.
03-14-2023 02:55 AM
sir when using https is is required to pass the value of secret? please responce sir ty
03-14-2023 02:59 AM
sir where do you need to config this in alfresco-global.properties or in docker-compose.yml? if im using https do i need to config this? please reply sir
Explore our Alfresco products with the links below. Use labels to filter content by product module.