[jboss-jira] [JBoss JIRA] Commented: (JBAS-6701) DeploymentManager.remove() doesn't work when the application is deployed in exploded form
Ian Springer (JIRA)
jira-events at lists.jboss.org
Fri Apr 3 10:19:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12460494#action_12460494 ]
Ian Springer commented on JBAS-6701:
------------------------------------
Actually, it doesn't look like deploymentManager.remove() is working even for non-exploded apps. When I call DeploymentManager.remove() on a boo.war ManagedDeployment, it returns a status of completed, the warfile is deleted from the deploy dir, and managementView.getDeploymentNamesForType("war") no longer returns a ManagedDeployment for the war. However, the following MBeans, which all correspond to boo.war, are still deployed:
- jboss.classloader:domain="vfszip:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/boo.war/",system=26759037
- jboss.classloader:id="vfszip:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/boo.war/"
- jboss.deployment:id="jboss.jacc:id="vfszip:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/boo.war/",service=jacc",type=Component
- jboss.deployment:id="vfszip:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/boo.war/",type=Deployment
- jboss.jacc:id="vfszip:/C:/opt/jboss-5.1.0.CR1-SNAPSHOT/server/default/deploy/boo.war/",service=jacc
- jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=WebModule,name=boo.war
and I can still hit the webapp (i.e. http://localhost:8080/boo/) successfully via browser.
So it doesn't look like DeploymentManager is doing everything it's supposed to.
> DeploymentManager.remove() doesn't work when the application is deployed in exploded form
> ------------------------------------------------------------------------------------------
>
> Key: JBAS-6701
> URL: https://jira.jboss.org/jira/browse/JBAS-6701
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: ProfileService
> Reporter: Ian Springer
> Assignee: Emanuel Muckenhuber
> Priority: Minor
>
> deploymentManager.remove() reports success [1]. Peeking under the covers, the directory corresponding to the app does get deleted. However, managementView.getDeployment(deploymentName) still returns the deployment, even after refreshing the view.
> [1] Side Note: Actually both isRunning() and isCompleted() return true, which doesn't seem right.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list