Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 48365 invoked from network); 3 May 2010 13:10:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 May 2010 13:10:52 -0000 Received: (qmail 49852 invoked by uid 500); 3 May 2010 13:10:52 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 49737 invoked by uid 500); 3 May 2010 13:10:52 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 49730 invoked by uid 99); 3 May 2010 13:10:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 13:10:52 +0000 X-ASF-Spam-Status: No, hits=1.0 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xhhsld@gmail.com designates 209.85.221.183 as permitted sender) Received: from [209.85.221.183] (HELO mail-qy0-f183.google.com) (209.85.221.183) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 13:10:46 +0000 Received: by qyk13 with SMTP id 13so4048165qyk.1 for ; Mon, 03 May 2010 06:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=EYv/qvH4tfeHj9ZnK4tnVMnmXhUGStWT2z5FW/z1n3k=; b=eGen5T/g/i9bYrHAYHfwUe6nu1g7rDWVU3ASrceUCeLbHZZxoENysib+kw6ELNAmJR DcFwIFFKi+tM0EmmAeeOiMR+bfBQwpSceBta4KP5HZyJd4wlUGwhmAJTFtNB4Hz8VhaU 8fZyVgSxmr3MAzq7zz3TrKNSFEJI8QirW3NA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=IxXaM25ANjYsC78vKWkvAs9kejldyZF42YuG4ElSi+OI42FK8/DF5DLlNU7xRmf6Hg F1cI0yEhifUkjExAuKdXEiCoNbh68cP8hOloHOsq9g8U3Lrq40PujaYg7k8KWFoAwALx Ntp16bfhfI2r7jVYpekIHbLUPDlCXu4TMjigs= MIME-Version: 1.0 Received: by 10.224.7.202 with SMTP id e10mr2956199qae.205.1272892225142; Mon, 03 May 2010 06:10:25 -0700 (PDT) Received: by 10.229.111.135 with HTTP; Mon, 3 May 2010 06:10:25 -0700 (PDT) In-Reply-To: References: Date: Mon, 3 May 2010 21:10:25 +0800 Message-ID: Subject: Re: geronimo-jetty7-javaee5-2.2/ war module could not be deployed but also giving error if undeployed From: Ivan To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=000feaf14816eac2660485b050e0 --000feaf14816eac2660485b050e0 Content-Type: text/plain; charset=ISO-8859-1 The undeploy command should be something like : deploy undeploy grailsApps/a12/0.1/war Thanks ! 2010/5/3 Tapas Mishra > I am using geronimo-jetty7-javaee5-2.2/ > and Grails 1.2.2 > First of all the module could not be deployed but when I try to > undeploy also it is not happening. > > > > ---------------------------------------------------------------------------------------------------------------------------- > /geronimo-jetty7-javaee5-2.2/bin# ./deploy.sh deploy > /root/a12/target/a12-0.1.war > Using GERONIMO_HOME: /root/geronimo-jetty7-javaee5-2.2 > Using GERONIMO_TMPDIR: var/temp > Using JRE_HOME: /root/jdk1.6.0_20/jre > 2010-05-03 06:19:20,686 ERROR [DeployTool] Error: > org.apache.geronimo.common.DeploymentException: Unable to deploy > a12-0.1.war: Module grailsApps/a12/0.1/war already exists in the > server. Try to undeploy it first or use the redeploy command. > > at > org.apache.geronimo.deployment.cli.CommandDeploy.runCommand(CommandDeploy.java:45) > at > org.apache.geronimo.deployment.cli.CommandDistribute.executeOnline(CommandDistribute.java:149) > at > org.apache.geronimo.deployment.cli.CommandDistribute.execute(CommandDistribute.java:125) > at > org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at > org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > > > > ---------------------------------------------------------------------------------------------------------------------------- > > > Now if I am trying to undeploy so that the error does not come as it > is saying then > staging:~/geronimo-jetty7-javaee5-2.2/bin# ./deploy.sh deploy > /root/a12/target/a12-0.1.war > > > > > > ----------------------------------------------------------------------------------------------------------------------------un > Using GERONIMO_HOME: /root/geronimo-jetty7-javaee5-2.2 > Using GERONIMO_TMPDIR: var/temp > Using JRE_HOME: /root/jdk1.6.0_20/jre > Exception in thread "main" java.lang.IllegalArgumentException: id must > be in the form [groupId]/[artifactId]/[version]/[type] : > /root/a12/target/a12-0.1.war > at > org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:61) > at > org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:51) > at > org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:193) > at > org.apache.geronimo.deployment.cli.CommandStart.execute(CommandStart.java:57) > at > org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:168) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at > org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31) > > > ---------------------------------------------------------------------------------------------------------------------------- > > > > What should I check in? > -- Ivan --000feaf14816eac2660485b050e0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The undeploy command should be something like : deploy undeploy grailsApps/= a12/0.1/war
Thanks !

2010/5/3 Tapas Mi= shra <mighty= dreams@gmail.com>
I am using geroni= mo-jetty7-javaee5-2.2/
and Grails 1.2.2
First of all the module could not be deployed but when I try to
undeploy also it is not happening.


---------------------------------------------------------------------------= -------------------------------------------------
/geronimo-jetty7-javaee5-2.2/bin# ./deploy.sh =A0deploy
/root/a12/target/a12-0.1.war
Using GERONIMO_HOME: =A0 /root/geronimo-jetty7-javaee5-2.2
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: =A0 =A0 =A0 =A0/root/jdk1.6.0_20/jre
2010-05-03 06:19:20,686 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Unable to deploy
a12-0.1.war: Module grailsApps/a12/0.1/war already exists in the
server. =A0Try to undeploy it first or use the redeploy command.

=A0 =A0 =A0 =A0at org.apache.geronimo.deployment.cli.CommandDeploy.runComma= nd(CommandDeploy.java:45)
=A0 =A0 =A0 =A0at org.apache.geronimo.deployment.cli.CommandDistribute.exec= uteOnline(CommandDistribute.java:149)
=A0 =A0 =A0 =A0at org.apache.geronimo.deployment.cli.CommandDistribute.exec= ute(CommandDistribute.java:125)
=A0 =A0 =A0 =A0at org.apache.geronimo.deployment.cli.DeployTool.execute(Dep= loyTool.java:168)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.util.MainConfigurationBootstra= pper.main(MainConfigurationBootstrapper.java:45)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractC= LI.java:65)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.deployer.DeployerCLI.main(Deploye= rCLI.java:31)


---------------------------------------------------------------------------= -------------------------------------------------


Now if I am trying to undeploy so that the error does not come as it
is saying then
staging:~/geronimo-jetty7-javaee5-2.2/bin# ./deploy.sh deploy
/root/a12/target/a12-0.1.war




---------------------------------------------------------------------------= -------------------------------------------------un
Using GERONIMO_HOME: =A0 /root/geronimo-jetty7-javaee5-2.2
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME: =A0 =A0 =A0 =A0/root/jdk1.6.0_20/jre
Exception in thread "main" java.lang.IllegalArgumentException: id= must
be in the form [groupId]/[artifactId]/[version]/[type] :
/root/a12/target/a12-0.1.war
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.repository.Artifact.create(Art= ifact.java:61)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.repository.Artifact.create(Art= ifact.java:51)
=A0 =A0 =A0 =A0at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.i= dentifyTargetModuleIDs(ConfigIDExtractor.java:193)
=A0 =A0 =A0 =A0at org.apache.geronimo.deployment.cli.CommandStart.execute(C= ommandStart.java:57)
=A0 =A0 =A0 =A0at org.apache.geronimo.deployment.cli.DeployTool.execute(Dep= loyTool.java:168)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.util.MainConfigurationBootstra= pper.main(MainConfigurationBootstrapper.java:45)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractC= LI.java:65)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.deployer.DeployerCLI.main(Deploye= rCLI.java:31)

---------------------------------------------------------------------------= -------------------------------------------------



What should I check in?



--
Ivan
--000feaf14816eac2660485b050e0--