Description of problem: EAR deployed in JON 2.4 can be removed because there is the "DELETE" button exposed on the resources page. However, when you try to add it again using the "Create new option" in the inventory page, or even copying the same EAR to the deploy directory in JBoss EAP 5.x it doesn't appear to Jon auto-discovery tab or any other page. It's impossible to make it visible to Jon again after this operation. To make it visible to Jon again we need to do an uninventory of the full JBoss EAP stack and inventory it again. Version-Release number of selected component (if applicable): Tested in JON 2.4.0 and JBoss EAP 5.1 How reproducible: Reproducible every time. Steps to Reproduce: I used customers EAR file. 1. Run JON server; 2. Run JON agent; 3. Run JBoss - I used 5.1, "default" configuration; 4. Add JBoss to the inventory; 5. Deploy sicos-ds.xml file (for JBoss 5.1 resource -> go to Inventory -> Overview tab and add a new Datasource) 6. Deploy mps-sicos-ear.ear file (for JBoss 5.1 resource -> go to Inventory -> Overview tab and add EAR file) 7. Confirm that the EAR file is properly deployed. 8. To delete the EAR file and all resources that were deployed with it - on the same Inventory -> Overview tab -> check the delete check box located next to the mps-sicos-ear.ear file and press "DELETE" button. This step could be also done using the Resources menu -> Services -> check the checkbox located next to mps-sicos-ear.ear -> uninventory selected 9. Reproduce the steps 5, 6 and 7 again. Actual results: When you reproduce 7, you will see that mps-sicos-ear.ear is not deployed an it doesn't appear in any other place to be included in JON inventory again. Expected results: When you reproduce 7, we expected that the mps-sicos-ear.ear should be available to be monitored and controled by JON again Additional info:
Created attachment 475464 [details] The EAR file used for testing.
Created attachment 475466 [details] The datasource file used for testing.
*** This bug has been marked as a duplicate of bug 714812 ***