河马 CMS 的初始设置被冻结并以错误消息结束
initial setup for hippo CMS is frozen and ends with error message
我正在尝试开始使用 Hippo CMS。根据文档 Get started with Hippo 到目前为止一切正常。但是在最后一步你必须 运行
mvn -Pcargo.run (-Drepo.path=storage)
安装过程似乎被冻结,至少 5 分钟后完成并显示此错误消息。不知道该怎么做,根据文档 Hippo Prerequisites 到目前为止一切设置都是正确的(Java 和 Maven 版本)。
报错信息如下:
[INFO] --- cargo-maven2-plugin:1.6.5:start (cargo-run) @ myhippoproject
--- [INFO] [2.ContainerStartMojo] Resolved container artifact
org.codehaus.cargo:cargo-core-container-tomcat:jar:1.6.5 for container
tomcat8x [INFO] [talledLocalContainer] Tomcat 8.x starting... [INFO]
[stalledLocalDeployer] Deploying
[/Users/Mangrove/Desktop/myhippoproject/cms/target/cms.war] to
[/Users/Mangrove/Desktop/myhippoproject/target/tomcat8x/webapps]...
[INFO] [stalledLocalDeployer] Deploying
[/Users/Mangrove/Desktop/myhippoproject/site/target/site.war] to
[/Users/Mangrove/Desktop/myhippoproject/target/tomcat8x/webapps]...
[WARNING] [stalledLocalDeployer] The WAR contains a context.xml file
which sets the path to [essentials], which means path set it the Cargo
configuration will be ignored by Tomcat [INFO] [stalledLocalDeployer]
Deploying
[/Users/Mangrove/Desktop/myhippoproject/essentials
/target/essentials.war]
to [/Users/Mangrove/Desktop/myhippoproject/target/tomcat8x/webapps]...
[INFO] [yer.DeployerWatchdog] Deployable
[http://localhost:8080/cargocpc/index.html] failed to finish deploying
within the timeout period [600000]. The Deployable state is thus
unknown. [WARNING] [talledLocalContainer]
org.codehaus.cargo.container.ContainerException: Deployable
[http://localhost:8080/cargocpc/index.html] failed to finish deploying
within the timeout period [600000]. The Deployable state is thus
unknown. [ERROR] Starting container
[org.codehaus.cargo.container.tomcat.
Tomcat8xInstalledLocalContainer@40f8f
5a8] failed, now stopping container [INFO] [talledLocalContainer]
Tomcat 8.x is stopping... [INFO] [talledLocalContainer] Tomcat 8.x is
stopped [INFO] -------------------------------------------------------
----------------- [INFO] BUILD FAILURE [INFO] ------------------------
------------------------------------------------ [INFO] Total time:
10:28 min [INFO] Finished at: 2018-05-13T15:57:13+02:00 [INFO] -------
-----------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-
plugin:1.6.5:start (cargo-run) on project myhippoproject: Cannot start
container
[org.codehaus.cargo.container.tomcat.
Tomcat8xInstalledLocalContainer@40f8f
5a8]: Deployable [http://localhost:8080/cargocpc/index.html] failed to
finish deploying within the timeout period [600000]. The Deployable
state is thus unknown. -> [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
非常欢迎任何提示、建议、tipp、建议,谢谢。
报错只是容器没有启动。在这种情况下拒绝连接只是 cargo 如何检查容器是否启动的一个症状。
话虽这么说,但要等很久才能开始。您可以尝试增加超时时间,但即使这个超时时间对于正常工作而言也太长了。
尝试的方法包括增加超时时间、增加 jvm 内存、重新开始或尝试使用不同的计算机。还要确保该进程具有 运行 正确的权限。
终于解决了。 Maven 设置未正确连接。无论如何,我不得不重置我的电脑,突然间它现在可以工作了。我当时也有不同的 java 版本。河马论坛也提供了很大的帮助 Hippo Community Forum. 谢谢大家。
我正在尝试开始使用 Hippo CMS。根据文档 Get started with Hippo 到目前为止一切正常。但是在最后一步你必须 运行
mvn -Pcargo.run (-Drepo.path=storage)
安装过程似乎被冻结,至少 5 分钟后完成并显示此错误消息。不知道该怎么做,根据文档 Hippo Prerequisites 到目前为止一切设置都是正确的(Java 和 Maven 版本)。
报错信息如下:
[INFO] --- cargo-maven2-plugin:1.6.5:start (cargo-run) @ myhippoproject
--- [INFO] [2.ContainerStartMojo] Resolved container artifact
org.codehaus.cargo:cargo-core-container-tomcat:jar:1.6.5 for container
tomcat8x [INFO] [talledLocalContainer] Tomcat 8.x starting... [INFO]
[stalledLocalDeployer] Deploying
[/Users/Mangrove/Desktop/myhippoproject/cms/target/cms.war] to
[/Users/Mangrove/Desktop/myhippoproject/target/tomcat8x/webapps]...
[INFO] [stalledLocalDeployer] Deploying
[/Users/Mangrove/Desktop/myhippoproject/site/target/site.war] to
[/Users/Mangrove/Desktop/myhippoproject/target/tomcat8x/webapps]...
[WARNING] [stalledLocalDeployer] The WAR contains a context.xml file
which sets the path to [essentials], which means path set it the Cargo
configuration will be ignored by Tomcat [INFO] [stalledLocalDeployer]
Deploying
[/Users/Mangrove/Desktop/myhippoproject/essentials
/target/essentials.war]
to [/Users/Mangrove/Desktop/myhippoproject/target/tomcat8x/webapps]...
[INFO] [yer.DeployerWatchdog] Deployable
[http://localhost:8080/cargocpc/index.html] failed to finish deploying
within the timeout period [600000]. The Deployable state is thus
unknown. [WARNING] [talledLocalContainer]
org.codehaus.cargo.container.ContainerException: Deployable
[http://localhost:8080/cargocpc/index.html] failed to finish deploying
within the timeout period [600000]. The Deployable state is thus
unknown. [ERROR] Starting container
[org.codehaus.cargo.container.tomcat.
Tomcat8xInstalledLocalContainer@40f8f
5a8] failed, now stopping container [INFO] [talledLocalContainer]
Tomcat 8.x is stopping... [INFO] [talledLocalContainer] Tomcat 8.x is
stopped [INFO] -------------------------------------------------------
----------------- [INFO] BUILD FAILURE [INFO] ------------------------
------------------------------------------------ [INFO] Total time:
10:28 min [INFO] Finished at: 2018-05-13T15:57:13+02:00 [INFO] -------
-----------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-
plugin:1.6.5:start (cargo-run) on project myhippoproject: Cannot start
container
[org.codehaus.cargo.container.tomcat.
Tomcat8xInstalledLocalContainer@40f8f
5a8]: Deployable [http://localhost:8080/cargocpc/index.html] failed to
finish deploying within the timeout period [600000]. The Deployable
state is thus unknown. -> [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
非常欢迎任何提示、建议、tipp、建议,谢谢。
报错只是容器没有启动。在这种情况下拒绝连接只是 cargo 如何检查容器是否启动的一个症状。
话虽这么说,但要等很久才能开始。您可以尝试增加超时时间,但即使这个超时时间对于正常工作而言也太长了。
尝试的方法包括增加超时时间、增加 jvm 内存、重新开始或尝试使用不同的计算机。还要确保该进程具有 运行 正确的权限。
终于解决了。 Maven 设置未正确连接。无论如何,我不得不重置我的电脑,突然间它现在可以工作了。我当时也有不同的 java 版本。河马论坛也提供了很大的帮助 Hippo Community Forum. 谢谢大家。