Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16505

Deployment marker not removed when removing exploded war from EAP6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.2.0.Alpha2
    • 4.2.0.Alpha2
    • server

      When you start EAP 6.2 and deploy an exploded war on it, it deploys fine. But when you remove said module from the server (in server view), the dir is removed without notifying the server first - autodeploy of exploded wars is off in EAP 6 by default. And the .deployed file stays behind in the deployments folder.

      17:22:48,563 WARN  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) JBAS015006: The deployment scanner found that the content for exploded deployment jboss-as-kitchensink-html5-mobile.war has been deleted, but auto-deploy/undeploy for exploded deployments is not enabled and the jboss-as-kitchensink-html5-mobile.war.deployed marker file for this deployment has not been removed. As a result, the deployment is not being undeployed, but resources needed by the deployment may have been deleted and application errors may occur. Deleting the jboss-as-kitchensink-html5-mobile.war.deployed marker file to trigger undeploy is recommended.
      

      As a consequence, when you deploy the module again, the server console shows:

      17:20:38,251 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) JBAS018565: Replaced deployment "jboss-as-kitchensink-html5-mobile.war" with deployment "jboss-as-kitchensink-html5-mobile.war"
      

      And when you remove the module and then stop the server, the .deployed marker is still there.

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: