incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <Chiradeep.Vit...@citrix.com>
Subject Re: ant debug failed to launch
Date Tue, 11 Sep 2012 18:15:38 GMT
To get even further, here are the additional steps:
rm $CATALINA_HOME/lib/axis*.jar
rm $CATALINA_HOME/lib/slf4j*
rm $CATALINA_HOME/lib/*jcl*
rm $CATALINA_HOME/webapps7080/awsapi/WEB-INF/lib/log4j-1.2.15.jar


Not sure where the problem is -- maven or ant.



On 9/11/12 10:28 AM, "Chiradeep Vittal" <Chiradeep.Vittal@citrix.com>
wrote:

>I found that I had to remove $CATALINA_HOME/lib/servlet-api-2.3.jar to
>move past this error.
>
>On 9/11/12 7:04 AM, "Gavin Lee" <gavin.lxh@gmail.com> wrote:
>
>>My environment was ok yesterday for ant debug before I update the source
>>code.
>>I use root account, I know it's not good, I checked both CATALINA_HOME
>>and src folder, the folder permission/ownership is correct.
>>
>>On Tue, Sep 11, 2012 at 8:05 PM, Rohit Yadav <rohit.yadav@citrix.com>
>>wrote:
>>> 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.lifecy
>>>>c
>>>>leEvent(StandardHost.java:616)
>>>>     [java]     at
>>>> 
>>>>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
>>>>u
>>>>pport.java:142)
>>>>     [java]     at
>>>> 
>>>>org.apache.catalina.core.StandardContext.start(StandardContext.java:470
>>>>0
>>>>)
>>>>     [java]     at
>>>> 
>>>>org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.j
>>>>a
>>>>va: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:
>>>>1
>>>>079)
>>>>     [java]     at
>>>> 
>>>>org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.jav
>>>>a
>>>>: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:3
>>>>2
>>>>4)
>>>>     [java]     at
>>>> 
>>>>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS
>>>>u
>>>>pport.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.ja
>>>>v
>>>>a:57)
>>>>     [java]     at
>>>> 
>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
>>>>r
>>>>Impl.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+Ma
>>>>v
>>>>en
>>>>
>>>> --
>>>> Gavin
>>>
>>
>>
>>
>>-- 
>>Gavin
>


Mime
View raw message