Bug 657302

Summary: AS4 plugin: provide session metrics for clustered wars
Product: [Other] RHQ Project Reporter: Heiko W. Rupp <hrupp>
Component: PluginsAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: low    
Version: 4.0.0CC: jshaughn, loleary
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 674531 (view as bug list) Environment:
Last Closed: 2014-06-30 20:33:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 625146    
Bug Blocks: 674531    
Attachments:
Description Flags
ear file with <distributed/> tag in the web.xml
none
war file with distributed tag none

Description Heiko W. Rupp 2010-11-25 12:34:59 UTC
When war files are clustered, the session metrics come from a different MBean than in the non-clustered case.
With the current code, only the non-clustered Mbean is honored and for the clustered case NaN is returned form the plugin, resulting in no data in the UI.

Comment 1 Heiko W. Rupp 2010-11-25 12:37:37 UTC
A first solution has been committed in 1239025

Comment 6 Heiko W. Rupp 2011-01-27 11:50:48 UTC
Created attachment 475586 [details]
ear file with <distributed/> tag in the web.xml

The attached ear file can be used to test this

THis shows up in jmx-console as 
jboss.web:WebModule=//localhost/test-ear,service=ClusterManager

Comment 8 Heiko W. Rupp 2011-01-27 11:56:01 UTC
Created attachment 475587 [details]
war file with distributed tag

This war file can be used for testing . Needs to be deployed in a cluster-config (e.g. production or all)

Comment 10 Charles Crouch 2011-02-22 20:29:27 UTC
This just needs to be fixed in master

Comment 12 Jay Shaughnessy 2014-06-30 20:33:11 UTC
This seems to be done