Deleting a WAR/EAR resource deletes the underlying file but
doesn't actually undeploy it from JBAS
--------------------------------------------------------------------------------------------------
Key: JOPR-32
URL:
https://jira.jboss.org/jira/browse/JOPR-32
Project: Jopr
Issue Type: Bug
Components: Plugin - JBoss AS 4
Affects Versions: 2.1
Reporter: Charles Crouch
Assignee: Charles Crouch
Fix For: 2.2
This causes problems for Embedded (EMBJOPR-45) but should also show up when monitoring
EAP instances with JON. Steps to reproduce the problem before the fix:
1) Setup an EAP instance, make sure you have the jmx-console.war deployed. I picked EAP
because by default its deployment scanner is set for 60mins, iirc, but an JBAS instance
where the deployment scanner has a long delay or is disabled should show this.
2) Inventory the instance, including the jmx-console.war
3) check you can hit the jmx-console:
http://localhost:8080/jmx-console
4) Go to the Inventory tab of the EAP instance in JON and delete (not uninventory) the
jmx-console.war. This should succeed.
5) Check the jmx-console.war is no longer in the /deploy folder
6) Check the EAP log and you should not see any entries talking about undeploying
jmx-console
7) Check you can hit the jmx-console again:
http://localhost:8080/jmx-console
After the fix:
1)..
6) Check the EAP log and you *should* see entries talking about undeploying jmx-console
7) Check you *cannot* hit the jmx-console again:
http://localhost:8080/jmx-console
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: