-
Sub-task
-
Resolution: Done
-
Critical
-
JBossAS-5.1.0.GA
In the as4 plugin, we exposed the following trait:
<metric property="partitionName" dataType="trait" displayType="summary"
description="the name of the cluster partition this app server instance belongs to"/>
which we obtained via JMX as follows:
private String getPartitionName() {
ObjectNameQueryUtility queryUtility = new ObjectNameQueryUtility(
"jboss:partitionName=%partitionName%,service=DistributedReplicantManager");
try {
List<EmsBean> mBeans = loadConnection().queryBeans(queryUtility.getTranslatedQuery());
if (mBeans.size() == 1) {
if (queryUtility.setMatchedKeyValues(mBeans.get(0).getBeanName().getKeyProperties()))
}
} catch (Exception e)
return null;
}
We need this value exposed via some ManagedObject so we can provide the same trait in the as5 plugin.
- blocks
-
JBPAPP-2077 Expose cluster partition name via some ManagedObject
- Closed
- is blocked by
-
JBAS-6094 Management interface for core clustering services
- Closed