On Wed, Apr 24, 2013 at 11:07:38PM +0530, Dharmesh Kakadia wrote:
> Hi,
> 
> I am setting up dev environment following :
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/DevCloud

Dev environment specifics are here:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment

If you are using master branch for building:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+on+master+branch

You might want to give more memory as shown in the wiki:
export MAVEN_OPTS="-XX:MaxPermSize=512m -Xmx2g -Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n"

The supported tomcat version is 6.0.33. So you might want to downgrade
and setup your CATALINA_HOME to point to the correct tomcat install.

-- 
Prasanna.,

> 
> I am stuck on step 7.3 while starting the management server.
> 
> the output of
> 
> mvn -pl :cloud-client-ui jetty:run
> 
> gets stuck after
> 
> INFO  [utils.component.ComponentContext] (main:) Setup Spring Application
> context
> 
> I tried starting client-ui manually by copying the cloud-client-ui war file
> into tomcat.
> 
> Interestingly the log says
> 
> SEVERE: Error listenerStart
> Apr 24, 2013 6:32:38 PM org.apache.catalina.core.StandardContext start
> SEVERE: Context [/cloud-client-ui-4.2.0-SNAPSHOT] startup failed due to
> previous errors
> Apr 24, 2013 6:32:38 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/cloud-client-ui-4.2.0-SNAPSHOT] appears to
> have started a thread named [Timer-0] but has failed to stop it. This is
> very likely to create a memory leak.
> Apr 24, 2013 6:32:38 PM org.apache.catalina.loader.WebappClassLoader
> clearReferencesThreads
> SEVERE: The web application [/cloud-client-ui-4.2.0-SNAPSHOT] appears to
> have started a thread named [ClusteredAgentManager Timer] but has failed to
> stop it. This is very likely to create a memory leak.
> Apr 24, 2013 6:32:38 PM org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> SEVERE: The web application [/cloud-client-ui-4.2.0-SNAPSHOT] created a
> ThreadLocal with key of type [java.lang.ThreadLocal] (value
> [java.lang.ThreadLocal@3a7d1a7a]) and a value of type
> [com.cloud.utils.db.Transaction] (value [ : ]) but failed to remove it when
> the web application was stopped. This is very likely to create a memory
> leak.
> 
> I am running this on Mac OS with tomcat apache-tomcat-6.0.36 and java
> 1.6.0_45 and maven 3.0.3.
> 
> Any help ?
> 
> Thanks,
> Dharmesh


------------------------
Powered by BigRock.com

Reply via email to