cargo-run timeout in Ubuntu

103 views
Skip to first unread message

Keshan Sodimana

unread,
Mar 6, 2016, 1:56:23 PM3/6/16
to Hippo Community
Hi,

I am newbie here. I tried to follow getting started tutorial and I successfully installed everything and did modification on a machine runs Mac OS. Then I tried to do the same in a Ubuntu instance runs on DigitalOcean. first time it worked and then after installing few plugins through /essentials it timeouts when doing mvn -Pcargo.run -Drepo.path=<path to storage>

[INFO] [talledLocalContainer] 06-Mar-2016 13:06:27.702 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /home/dermveda/myhippoproject/target/tomcat8x/webapps/essentials.war

[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.

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 10:12.879s

[INFO] Finished at: Sun Mar 06 13:16:27 EST 2016

[INFO] Final Memory: 12M/164M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:start (cargo-run) on project myhippoproject: Execution cargo-run of goal org.codehaus.cargo:cargo-maven2-plugin:1.4.13:start failed: 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/PluginExecutionException


This happened few times in both Ubuntu 14.04 and 15.10 as i mentioned above it never happened on Mac. Really appreciate your help.


Thanks,

Keshan 

Oscar Farg

unread,
Mar 7, 2016, 3:04:34 AM3/7/16
to hippo-c...@googlegroups.com
Could be a memory issue, how much RAM does the VM have?

The prefered way for running Hippo on a server is a standalone tomcat installation and then deploy Hippo on it like you would normally deploy a java web application. More information can be found here http://www.onehippo.org/library/enterprise/installation-and-configuration/linux-installation-manual.html

Kinds regards,

Oscar
 

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Keshan Sodimana

unread,
Mar 7, 2016, 10:48:54 AM3/7/16
to Hippo Community
Thanks Oscar for the reply, currently the droplet has 2GB of RAM.
Reply all
Reply to author
Forward
0 new messages