Alfresco solr 跟踪失败
Alfresco solr tracking failed
因此,就我的项目的时间顺序而言:
我使用 mvn archetype:generate -Dfilter=org.alfresco:
(Alfresco Platform JAR 原型)生成了一个 alfresco maven 存储库,然后我在 repo-test/src/main/resources/alfresco/module/repo-test/model/scModel.xml 中添加了一个自定义内容模型 XML 文件,其中包含您可以找到的内容 here 在我通过在 repo-test/src/main/resources/alfresco/module/repo-test/context/bootstrap-context.xml
中添加这些行来注册新模型之后:
<!-- Registration of new models -->
<bean id="${project.artifactId}_dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/module/${project.artifactId}/model/scModel.xml</value>
</list>
</property>
</bean>
安装顺利。但是当我尝试启动 run.sh 时,它会卡住并重复此操作:
2017-05-02 18:34:00,192 ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr.AlfrescoCoreAdminHandler@1bb39ea_Worker-21] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 04020731 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)
at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:174)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:190)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
有人知道如何解决这个问题吗?
我也尝试在不修改任何东西的情况下启动它(我创建了另一个项目)但是在编译一晚后出现错误:
INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58:03 min
[INFO] Finished at: 2017-05-02T19:39:08+02:00
[INFO] Final Memory: 223M/224M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:3.0.0:it (start-alfresco) on project content-tutorial-repo: Unable to execute mojo: N'a pas pu démarrer Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
java.lang.NoClassDefFoundError: de /schlichtherle/truezip/fs/FsLockControllerSync
P.S : 我在 Raspbian 32 位...
我不得不更新我的依赖项来解决这个问题,如果您遇到这样的问题请尝试 Maven: Command to update repository after adding dependency to POM
中的命令
因此,就我的项目的时间顺序而言:
我使用 mvn archetype:generate -Dfilter=org.alfresco:
(Alfresco Platform JAR 原型)生成了一个 alfresco maven 存储库,然后我在 repo-test/src/main/resources/alfresco/module/repo-test/model/scModel.xml 中添加了一个自定义内容模型 XML 文件,其中包含您可以找到的内容 here 在我通过在 repo-test/src/main/resources/alfresco/module/repo-test/context/bootstrap-context.xml
中添加这些行来注册新模型之后:
<!-- Registration of new models -->
<bean id="${project.artifactId}_dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/module/${project.artifactId}/model/scModel.xml</value>
</list>
</property>
</bean>
安装顺利。但是当我尝试启动 run.sh 时,它会卡住并重复此操作:
2017-05-02 18:34:00,192 ERROR [solr.tracker.AbstractTracker] [org.alfresco.solr.AlfrescoCoreAdminHandler@1bb39ea_Worker-21] Tracking failed
org.alfresco.error.AlfrescoRuntimeException: 04020731 GetModelsDiff return status is 404
at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1181)
at org.alfresco.solr.tracker.ModelTracker.trackModelsImpl(ModelTracker.java:256)
at org.alfresco.solr.tracker.ModelTracker.trackModels(ModelTracker.java:214)
at org.alfresco.solr.tracker.ModelTracker.doTrack(ModelTracker.java:174)
at org.alfresco.solr.tracker.AbstractTracker.track(AbstractTracker.java:190)
at org.alfresco.solr.tracker.TrackerJob.execute(TrackerJob.java:54)
at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)
有人知道如何解决这个问题吗? 我也尝试在不修改任何东西的情况下启动它(我创建了另一个项目)但是在编译一晚后出现错误:
INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 58:03 min
[INFO] Finished at: 2017-05-02T19:39:08+02:00
[INFO] Final Memory: 223M/224M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.alfresco.maven.plugin:alfresco-maven-plugin:3.0.0:it (start-alfresco) on project content-tutorial-repo: Unable to execute mojo: N'a pas pu démarrer Tomcat: Failed to start component [StandardServer[-1]]: Failed to start component [StandardService[Tomcat]]: Failed to start component [StandardEngine[Tomcat]]: A child container failed during start -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
java.lang.NoClassDefFoundError: de /schlichtherle/truezip/fs/FsLockControllerSync
P.S : 我在 Raspbian 32 位...
我不得不更新我的依赖项来解决这个问题,如果您遇到这样的问题请尝试 Maven: Command to update repository after adding dependency to POM
中的命令