Bug 857208

Summary: Plugin JBossAS7 times out in the middle of loading the resource types
Product: [Other] RHQ Project Reporter: Larry O'Leary <loleary>
Component: InventoryAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.4CC: dsteigne, hrupp, loleary
Target Milestone: ---   
Target Release: RHQ 4.6   
Hardware: All   
OS: All   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 857189 Environment:
Last Closed: 2013-09-04 04:39:48 EDT Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 857189    

Description Larry O'Leary 2012-09-13 15:19:36 EDT
+++ This bug was initially created as a clone of product Bug #857189 +++

Description of problem:
The transaction timeout by default is 10 minutes if the transaction times out during the Resource Type database inserts, the log says the Plugin was loaded but you will receive the following errors when a JBossAS7 server is discovered on the agent.

ERROR [org.rhq.enterprise.server.discovery.DiscoveryBossBean] Reported resource [Resource[id=0, uuid=0fc086b0-376f-4741-b24b-0ec92bdcbab2, type={JBossAS7}JBossAS7 Standalone Server, key=/app/jboss/standalone, name=EAP (, parent=parent-platform.com, version=EAP ]] has an unknown type [{JBossAS7}JBossAS7 Standalone Server]. The Agent most likely has a plugin named 'JBossAS7' installed that is not installed on the Server. Resource will be ignored...

You have to delete, purge and re-load the JBossAS7 plugin to correct the issue.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install JON 3.1.0
2. Edit the jboss-service.xml to lower the timeout to 1 minute 
3. Drop the EAP Plugin Pack into the jon-server/plugins directory
4. Start the server
5. The load for the JBossAS7 plugin should timeout and not complete (Even though the rhq-server-log4j.log states it's load.
6. Install EAP 6 and start up in Standalone 
7. Install and start an agent
8. Run Discovery -f
Actual results:
The above ERROR message is displayed.

Expected results:
The server would roll back the transactions and attempt to re-load the plugins Resource Types

Additional info:
Comment 2 Heiko W. Rupp 2013-09-04 04:39:48 EDT
Closing as Bug 857189 has been marked as verified.