Bug 1051413

Summary: RFE: give plugin authors a tool to monitor MBeans of an application deployed on AS7 or EAP6
Product: [Other] RHQ Project Reporter: Thomas Segismont <tsegismo>
Component: PluginsAssignee: Thomas Segismont <tsegismo>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10CC: hrupp
Target Milestone: ---Keywords: FutureFeature
Target Release: RHQ 4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-23 12:31:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thomas Segismont 2014-01-10 09:20:24 UTC
It has been asked quite often on the forum and the users/devel list how to monitor MBeans of an application deployed on AS7 or EAP6.

Here, for example:
https://community.jboss.org/thread/235189

AS7 plugin could provide a tool to make this easy (zero or little coding)

Comment 1 Thomas Segismont 2014-01-10 13:50:57 UTC
Fixed in master

commit 0af8802b5e73d767f002ca1f1dcf277bdcb57f8b
Author: Thomas Segismont <tsegismo>
Date:   Fri Jan 10 13:12:03 2014 +0100

Added ApplicationMBeansComponent and ApplicationMBeansComponent. A separate project is needed because of classloading issues (the discovery class loader needs access to both the AS7 and JMX plugin classes).
    
The application MBeans container resource will be a service resource with a StandaloneAS or Managed AS parent.
    
Added a sample service MBean to javaee6-test-app.
Added mbeans-on-as7-plugin sample to demonstrate usage of the new facility

Comment 2 Heiko W. Rupp 2014-04-23 12:31:04 UTC
Bulk closing of 4.10 issues.

If an issue is not solved for you, please open a new BZ (or clone the existing one) with a version designator of 4.10.