Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B4D7F965B for ; Tue, 11 Sep 2012 14:04:56 +0000 (UTC) Received: (qmail 76679 invoked by uid 500); 11 Sep 2012 14:04:56 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 76636 invoked by uid 500); 11 Sep 2012 14:04:56 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 76628 invoked by uid 99); 11 Sep 2012 14:04:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 14:04:56 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gavin.lxh@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vb0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 14:04:49 +0000 Received: by vbbez10 with SMTP id ez10so645370vbb.6 for ; Tue, 11 Sep 2012 07:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oFJirLg05MUv1PdgFn4Uw4u+gvXCdpPhEgj1LKP+Fb4=; b=vq18cSPw4jf/SO6z9cfJdq8AFbWl6SPV57CL/ETTyaqNve+c8b67+NSiIkXF3aauN9 QSxMEGQXmKaWwj1Is5coLXgAR27s6+WBa8Bm/3uru/w4YKa2Dwj+PzKD8UwP2LZjSqAv 0/L25zD21tejIiMsoWfezPmA3DbhU9nqcEM3wMc1CnpFmwBfswVYniByo8ZsrgkAKZLz bvprESbhiQxC6xOV3G1fsGDUBE/NCrV3bCuWhepJ8E3oAXF3hDf0XplxeMWkKmc3kg+I +ss+QZSwYugI1aLTy/JyEMDVgVMhcK0qJ3rVQxy2+Z5AhxzDcboqwgi1AQanUoeSYDEh yWBw== MIME-Version: 1.0 Received: by 10.58.74.196 with SMTP id w4mr27381383vev.7.1347372268853; Tue, 11 Sep 2012 07:04:28 -0700 (PDT) Received: by 10.58.237.38 with HTTP; Tue, 11 Sep 2012 07:04:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 11 Sep 2012 22:04:28 +0800 Message-ID: Subject: Re: ant debug failed to launch From: Gavin Lee To: cloudstack-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > Make sure you're the owner on the source code (where your jars are) and on CATALINA_HOME. > chown -R > > ant deploy-server > > and, > > ant debug! > > Regards, > Rohit > > On 11-Sep-2012, at 3:24 PM, Gavin Lee 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 > -- Gavin