Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-784

Remove deployment doesn't really remove it

XMLWordPrintable

      Steps:
      1) Deploy something by copying an archive to the standalone/deployments directory.
      2) Using the CLI or Console, remove the deployment.
      i.e. /deployment=mywar.war/:remove

      The deployment will stop, but the .war file and .deployed marker remain on the file system. When you restart the server, mywar.war will deploy again.

      The problem is that "remove" doesn't really remove. It only stops the deployment until the next full restart. If you try to do some other operation on the deployment you will get a NoSuchElementException.

      And from the file system, it looks like the deployment is still deployed.

      So we need to do something to fully "remove" the deployment. Perhaps we need (yet another) marker file called .removed

          There are no Sub-Tasks for this issue.

              bstansbe@redhat.com Brian Stansberry
              ssilvert@redhat.com Stan Silvert
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: