[jboss-jira] [JBoss JIRA] Closed: (JBAS-3398) Non exploded sar containing war cannot undeploy the war file properly

Dimitris Andreadis (JIRA) jira-events at jboss.com
Fri Jan 19 06:29:52 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAS-3398?page=all ]

Dimitris Andreadis closed JBAS-3398.
------------------------------------

    Fix Version/s:     (was: JBossAS-5.0.0.GA)
       Resolution: Done

Branch_4_2 now contains deploy/jboss-web.deployer.

The server shuts down cleanly with the test b.sar.

> Non exploded sar containing war cannot undeploy the war file properly
> ---------------------------------------------------------------------
>
>                 Key: JBAS-3398
>                 URL: http://jira.jboss.com/jira/browse/JBAS-3398
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Deployment services
>    Affects Versions: JBossAS-4.0.4.GA, JBossAS-4.0.3 SP1, JBossAS-4.0.3 Final
>         Environment: JBoss-4.0.4.GA
> MacOSX Tiger
> Java 1.4.2
>            Reporter: Julien Viet
>         Assigned To: Dimitris Andreadis
>             Fix For: JBossAS-4.2.0.CR1
>
>         Attachments: b.sar
>
>
> A sar file containing a war file non exploded is dropped in AS before startup.
> Start JBoss
> Shutdown JBoss
> The MainDeployer wants to stop() / destroy() the war file.
> The Web deployer is already gone and it produces an javax.management.InstanceNotFoundException when it tries to stop() / destroy() the war deployer
> Because the war is nested in a sar file, the web deployer is undeployed before the sar containing the war is undeployed.
> Note : this does not happen with exploded sar (like http invoker sar that contains the invoker.war) because the war is added to the MainDeployer.deploymentList list. This does not
> happen with non exploded because the war file is not in the local directory but rather in tmp and thus does not get added to the deployment list. Here are some field values :
> the string used to discriminate wether it's in local or tmp
> - file:/Users/julien/java/jboss-4.0.4.GA/server/default/tmp/deploy/
> a war in non exploded sar
> - file:/Users/julien/java/jboss-4.0.4.GA/server/default/tmp/deploy/tmp51485jboss-portal.sar-contents/portal-core.war
> invoker.war in exploded sar
> - file:/Users/julien/java/jboss-4.0.4.GA/server/default/deploy/http-invoker.sar/invoker.war/

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

        



More information about the jboss-jira mailing list