Description of problem: Application disappears from Manage Deployments section of EAP console after reenabling the application and after server restart. Version-Release number of selected component (if applicable): EAP 6.1.1.GA How reproducible: Always when application is disabled -> enabled -> and server is restarted. Steps to Reproduce: 1. Unzip jboss-eap-6.1.1.zip. Create management user. Copy some Application.war into jboss-eap-6.1/standalone/deployments. Create file Application.war.dodeploy in the same folder. 2. Start standalone server. 3. Open EAP console -> Manage Deployments. Disable application. Enable application (After this Application.war.undeployed should be replaced with Application.war.deployed in jboss-eap-6.1/standalone/deployments folder). 4. Restart standalone server. 5. Open EAP console -> Manage Deployments. Actual results: Application disappears from Manage Deployments section of EAP console. Application.war.undeployed file is present in jboss-eap-6.1/standalone/deployments folder. Expected results: Application is still visible in Manage Deployments section of EAP console. Application.war.deployed file is present in jboss-eap-6.1/standalone/deployments folder. Additional info:
My experience (with 6.2.0) is different from the description. After disabling and then re-enabling the application, I don't see Application.war.deployed; I still see Application.war.undeployed. That explains why it doesn't get deployed after restart.
I see also Application.war.undeployed after step 3. In brackets I described what I am expecting after step 3.
Upstream PR : https://github.com/wildfly/wildfly/pull/6117 PR : https://github.com/jbossas/jboss-eap/pull/1179
Setting this back to assigned since it caused https://bugzilla.redhat.com/show_bug.cgi?id=1092355 which was raised as a potential beta blocker. To get around this the commit for https://bugzilla.redhat.com/show_bug.cgi?id=1092355 was reverted on the 6.x branch and also in the 'special' branch used for ER3 containing just ER2 and beta blockers: https://github.com/jbossas/jboss-eap/tree/EAP_6.3.0.ER3-dev
Upstream PR : https://github.com/wildfly/wildfly/pull/6220 PR: https://github.com/jbossas/jboss-eap/pull/1309
*** Bug 1040493 has been marked as a duplicate of this bug. ***
Verified on EAP 6.3.0.ER7