Bug 672943 - When an EAR is removed, It's not possible to add it to inventory again
Summary: When an EAR is removed, It's not possible to add it to inventory again
Keywords:
Status: CLOSED DUPLICATE of bug 714812
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.0.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-26 18:49 UTC by Bruno Machado
Modified: 2011-10-06 19:50 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-10-04 21:45:50 UTC
Embargoed:


Attachments (Terms of Use)
The EAR file used for testing. (18.34 MB, application/octet-stream)
2011-01-26 18:50 UTC, Bruno Machado
no flags Details
The datasource file used for testing. (665 bytes, text/xml)
2011-01-26 18:51 UTC, Bruno Machado
no flags Details

Description Bruno Machado 2011-01-26 18:49:09 UTC
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:

Comment 1 Bruno Machado 2011-01-26 18:50:37 UTC
Created attachment 475464 [details]
The EAR file used for testing.

Comment 2 Bruno Machado 2011-01-26 18:51:14 UTC
Created attachment 475466 [details]
The datasource file used for testing.

Comment 3 Charles Crouch 2011-10-04 21:45:50 UTC

*** This bug has been marked as a duplicate of bug 714812 ***


Note You need to log in before you can comment on or make changes to this bug.