[jboss-jira] [JBoss JIRA] Created: (AS7-1240) Allow FS deployment scanner to treat deleting deployment content as a trigger for undeploy

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sat Jul 9 09:31:23 EDT 2011


Allow FS deployment scanner to treat deleting deployment content as a trigger for undeploy
------------------------------------------------------------------------------------------

                 Key: AS7-1240
                 URL: https://issues.jboss.org/browse/AS7-1240
             Project: Application Server 7
          Issue Type: Feature Request
          Components: Server
    Affects Versions: 7.0.0.CR1
            Reporter: Brian Stansberry
            Assignee: Brian Stansberry
             Fix For: 7.0.1.Final


Currently you have to delete the .deployed file to trigger an undeploy. FileSystemDeploymentService should also treat deleting the deployment content as a trigger.

Deleting the content *is the incorrect way to trigger undeployment of an exploded archive.*  It's perfectly fine for a zipped deployment, but for an exploded deployment it removes the content out from under the appserver before the AS has a chance to properly undeploy.

Still, even though deleting the content as a trigger is the wrong thing to do in the exploded case, it's the more intuitive thing to do in the non-exploded case, and having the AS use it as a trigger in the exploded case doesn't increase the harm. The content is gone; the app is broken, might as well try and undeploy it.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list