geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tapas Mishra <mightydre...@gmail.com>
Subject geronimo-jetty7-javaee5-2.2/ war module could not be deployed but also giving error if undeployed
Date Mon, 03 May 2010 13:04:53 GMT
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?

Mime
View raw message