gpt4 book ai didi

maven - 露天 Solr "aclchangesets return status:403"

转载 作者:行者123 更新时间:2023-12-05 02:30:27 25 4
gpt4 key购买 nike

我已经使用 alfresco-allinone-archetype 4.4.0 创建了一个 Maven 项目,并且我有一个干净的 Alfresco。

使用 .\run.bat build_start 启动项目我从 Solr 收到此错误:

docker-nutella-acs-1       | 12-Apr-2022 10:54:15.943 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/usr/local/tomcat/webapps/ROOT]
docker-nutella-acs-1 | 12-Apr-2022 10:54:15.958 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin Match [Context] failed to
set property [debug] to [100]
docker-nutella-acs-1 | 12-Apr-2022 10:54:16.137 INFO [main] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
docker-nutella-acs-1 | 12-Apr-2022 10:54:16.144 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application
directory [/usr/local/tomcat/webapps/ROOT] has finished in [200] ms
docker-nutella-acs-1 | 12-Apr-2022 10:54:16.165 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
docker-nutella-acs-1 | 12-Apr-2022 10:54:16.219 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [126593] milliseconds
docker-nutella-ass-1 | 2022-04-12 10:54:16.841 ERROR (searcherExecutor-7-thread-1-processing-x:alfresco) [ x:alfresco] o.a.s.t.AbstractTracker
Model tracking failed for core: alfresco
docker-nutella-ass-1 | org.alfresco.error.AlfrescoRuntimeException: 03120000 alfresco GetModelsDiff return status is 403
docker-nutella-ass-1 | at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:291)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:249)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.ModelTracker.ensureFirstModelSync(ModelTracker.java:271)
docker-nutella-ass-1 | at org.alfresco.solr.lifecycle.SolrCoreLoadRegistration.registerForCore(SolrCoreLoadRegistration.java:110)
docker-nutella-ass-1 | at org.alfresco.solr.lifecycle.SolrCoreLoadListener.newSearcher(SolrCoreLoadListener.java:44)
docker-nutella-ass-1 | at org.apache.solr.core.SolrCore.lambda$getSearcher$15(SolrCore.java:2249)
docker-nutella-ass-1 | at java.util.concurrent.FutureTask.run(FutureTask.java:266)
docker-nutella-ass-1 | at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
docker-nutella-ass-1 | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
docker-nutella-ass-1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
docker-nutella-ass-1 | at java.lang.Thread.run(Thread.java:748)
docker-nutella-ass-1 | 2022-04-12 10:54:20.040 ERROR (org.alfresco.solr.AlfrescoCoreAdminHandler@29a5f4e7_Worker-3) [ ] o.a.s.t.AbstractTracker Tracking failed for AclTracker - archive
docker-nutella-ass-1 | org.alfresco.error.AlfrescoRuntimeException: 03120001 api/solr/aclchangesets return status:403
docker-nutella-ass-1 | at org.alfresco.solr.client.SOLRAPIClient.getAclChangeSets(SOLRAPIClient.java:169)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.AclTracker.checkRepoAndIndexConsistency(AclTracker.java:326)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.AclTracker.trackRepository(AclTracker.java:303)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.AclTracker.doTrack(AclTracker.java:95)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:215)
docker-nutella-ass-1 | at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:47)
docker-nutella-ass-1 | at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
docker-nutella-ass-1 | at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

它可能是由什么引起的?

如何解决?

期待亲切的回复,提前谢谢你。

最佳答案

这是 Alfresco 7.2.0 和捆绑在该原型(prototype)中的旧版本 Solr 的一个已知问题。

您可以按照突出显示的步骤进行操作 here为了暂时在本地解决您的问题,而对于 Alfresco SDK 的 future 版本,很可能会捆绑更新的兼容版本的搜索服务。

关于maven - 露天 Solr "aclchangesets return status:403",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71843738/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com