You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org> on 2006/05/10 04:51:04 UTC

[jira] Resolved: (GERONIMO-1971) Redeployment of webapp without geronimo plan fails

     [ http://issues.apache.org/jira/browse/GERONIMO-1971?page=all ]
     
Anita Kulshreshtha resolved GERONIMO-1971:
------------------------------------------

    Resolution: Fixed

This has been fixed by Dain in rev. 405556. I have tested the following sequence using the same app- 
deploy, undeploy , deploy, redeploy, undeploy
  They are working fine

> Redeployment of webapp without geronimo plan fails
> --------------------------------------------------
>
>          Key: GERONIMO-1971
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1971
>      Project: Geronimo
>         Type: Bug
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.0
>     Reporter: Erin Mulder
>     Priority: Blocker
>      Fix For: 1.1

>
> I deployed an exploded web app (with no geronimo-web.xml) using the command-line deployer.  A few minutes later, I tried to redeploy it and got an error.  See below.
> meara@wildfire:~/dev/examples> java -jar ~/dev/geronimo-1.1/jetty/bin/deployer.jar deploy simple_web_app
>     Deployed default/simple_web_app/1146631722307/war @
>     http://wildfire:8080/simple_web_app
> meara@wildfire:~/dev/examples> java -jar ~/dev/geronimo-1.1/jetty/bin/deployer.jar redeploy simple_web_app
>     No ModuleID or TargetModuleID provided.  Attempting to guess based
>     on the content of the archive.
>     Unable to locate Geronimo deployment plan in archive.  Calculating
>     default ModuleID from archive name.
>     Attempting to use ModuleID 'simple_web_app'
> Exception in thread "main" java.lang.IllegalArgumentException: Invalid id: simple_web_app
>         at org.apache.geronimo.kernel.repository.Artifact.create(Artifact.java:49)
>         at org.apache.geronimo.deployment.plugin.ConfigIDExtractor.identifyTargetModuleIDs(ConfigIDExtractor.java:168)
>         at org.apache.geronimo.deployment.cli.AbstractCommand.identifyTargetModuleIDs(AbstractCommand.java:149)
>         at org.apache.geronimo.deployment.cli.CommandRedeploy.execute(CommandRedeploy.java:128)
>         at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:158)
>         at org.apache.geronimo.deployment.cli.DeployTool.main(DeployTool.java:312)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira