Bug 657302 - AS4 plugin: provide session metrics for clustered wars
Summary: AS4 plugin: provide session metrics for clustered wars
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
low
medium vote
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: jon30-bugs
Blocks: 674531
TreeView+ depends on / blocked
 
Reported: 2010-11-25 12:34 UTC by Heiko W. Rupp
Modified: 2018-11-14 16:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 674531 (view as bug list)
Environment:
Last Closed: 2014-06-30 20:33:11 UTC


Attachments (Terms of Use)
ear file with <distributed/> tag in the web.xml (1.04 KB, application/octet-stream)
2011-01-27 11:50 UTC, Heiko W. Rupp
no flags Details
war file with distributed tag (907 bytes, application/octet-stream)
2011-01-27 11:56 UTC, Heiko W. Rupp
no flags Details

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


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