Bug 857208 - Plugin JBossAS7 times out in the middle of loading the resource types
Summary: Plugin JBossAS7 times out in the middle of loading the resource types
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Inventory
Version: 4.4
Hardware: All
OS: All
urgent
high
Target Milestone: ---
: RHQ 4.6
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 857189
TreeView+ depends on / blocked
 
Reported: 2012-09-13 19:19 UTC by Larry O'Leary
Modified: 2013-09-04 08:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 857189
Environment:
Last Closed: 2013-09-04 08:39:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Larry O'Leary 2012-09-13 19:19:36 UTC
+++ 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 (192.168.1.15:9990), 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):
3.1.0

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 08:39:48 UTC
Closing as Bug 857189 has been marked as verified.


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