cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <rohit.ya...@citrix.com>
Subject Re: ant debug failed to launch
Date Tue, 11 Sep 2012 12:05:13 GMT
Make sure you're the owner on the source code (where your jars are) and on CATALINA_HOME.
chown -R <your-user> <path to tomcat and path to repo/src>

ant deploy-server

and,

ant debug!

Regards,
Rohit

On 11-Sep-2012, at 3:24 PM, Gavin Lee <gavin.lxh@gmail.com> wrote:

> I followed the instruction [1] to setup maven build environment.
> Everything went well except the last step: ant debug
> 
> I can use " mvn -P client -pl client jetty:run " but encounter some
> other issue such as system vm could not start. I want to attach
> eclipse debug.
> 
> Does anybody encounter following issue when using: ant debug?
> 
> [java] SEVERE: Error deploying web application directory awsapi
>     [java] java.lang.NoSuchMethodError:
> javax.servlet.ServletContext.getContextPath()Ljava/lang/String;
>     [java]     at
> org.apache.catalina.core.StandardHost$MemoryLeakTrackingListener.lifecycleEvent(StandardHost.java:616)
>     [java]     at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>     [java]     at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4700)
>     [java]     at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
>     [java]     at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
>     [java]     at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
>     [java]     at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
>     [java]     at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
>     [java]     at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
>     [java]     at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
>     [java]     at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
>     [java]     at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
>     [java]     at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
>     [java]     at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
>     [java]     at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
>     [java]     at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
>     [java]     at
> org.apache.catalina.core.StandardService.start(StandardService.java:525)
>     [java]     at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
>     [java]     at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
>     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java]     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>     [java]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     [java]     at java.lang.reflect.Method.invoke(Method.java:616)
>     [java]     at
> org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>     [java]     at
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
>     [java] Sep 11, 2012 5:52:39 PM
> org.apache.coyote.http11.Http11NioProtocol start
>     [java] INFO: Starting Coyote HTTP/1.1 on http-7080
> 
> 
> [1]: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Building+with+Maven
> 
> -- 
> Gavin


Mime
View raw message