Bug 860233 - [as7 plugin] newly deployed war through JON CLI is not discovered
Summary: [as7 plugin] newly deployed war through JON CLI is not discovered
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.5.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-25 11:08 UTC by bkramer
Modified: 2012-12-04 08:57 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 860231
: 860231 (view as bug list)
Environment:
Last Closed: 2012-12-04 08:57:22 UTC
Embargoed:


Attachments (Terms of Use)

Description bkramer 2012-09-25 11:08:32 UTC
Description of problem:
Using JON CLI, newly created war file was "promoted" to the server-group of the eap6. That worked fine and the result of the operation was successful. Also, the server.log file showed successful deployment. However, deployed war file was not discovered and not added into inventory. The log file showed the following message:

...
"TRACE [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- No need to prepare the activation of resource Resource[id=29821, uuid=c757a5a1-739c-4ebf-b035-011ce532219a, type={JBossAS7}DomainDeployment, key=deployment=helloworld, name=helloworld, parent=EAP Domain Controller (127.0.0.1:9990)] - its component is already started and its plugin config has not been updated since it was last started."
...

After more then one hour, and after "discovery -f" was performed, the war file was discovered and added into ManagedServerDeployments. 

Version-Release number of selected component (if applicable):
JON 3.1
EAP 6.0 (domain mode)

How reproducible:
Every time.

Steps to Reproduce:
1. import EAP6 in domain mode; 
2. create new DomainDeployment for EAP 6.0 using JON UI;
3. use JON CLI and "scheduleResourceOperation" method to promote war file to the server-group;
 
  
Actual results:
Deployment is properly done but promoted war file is not discovered and it's not added in the inventory.

Expected results:
Promoted war file is properly discovered and added into inventory

Additional info:
Discovery of the war file was performed after "discovery -f" was executed from the JON Agent command line.

Comment 1 Heiko W. Rupp 2012-12-04 08:57:22 UTC
Closing, as this was already fixed in August and is thus included in RHQ 4.5.1


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