[Design of Management Features on JBoss] - Re: How to Expose MBean Invocation Stats into admin-console?
by ALRubinger
OK, the working combo is:
1) Emanuel's patch
2) Scott's jboss:man SNAPSHOT
Resulting in:
ManagedDeployment: vfsfile:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x/build/output/jboss-5.2.0.Beta/server/default/deploy/profileservice-secured.jar/
| +++ ManagedComponent(name=jboss.j2ee:service=EJB3,name=SecureProfileService-metrics-invocation, type=(ComponentType{type=EJB3, subtype=Session}), compName=jboss.j2ee:service=EJB3,name=SecureProfileService-metrics-invocation, attachment: org.jboss.ejb3.metrics.deployer.ManagedInvocationStatisticsWrapper
| ++++++ properties: [stats]
| +++ ManagedComponent(name=jboss.j2ee:service=EJB3,name=SecureManagementView-metrics-invocation, type=(ComponentType{type=EJB3, subtype=Session}), compName=jboss.j2ee:service=EJB3,name=SecureManagementView-metrics-invocation, attachment: org.jboss.ejb3.metrics.deployer.ManagedInvocationStatisticsWrapper
| ++++++ properties: [stats]
| +++ ManagedComponent(name=jboss.j2ee:service=EJB3,name=SecureDeploymentManager-metrics-invocation, type=(ComponentType{type=EJB3, subtype=Session}), compName=jboss.j2ee:service=EJB3,name=SecureDeploymentManager-metrics-invocation, attachment: org.jboss.ejb3.metrics.deployer.ManagedInvocationStatisticsWrapper
| ++++++ properties: [stats]
| +++ ManagedComponent(name=jboss.j2ee:service=EJB3,name=SecureDeploymentManager-metrics-instance, type=(ComponentType{type=EJB3, subtype=SLSB}), compName=jboss.j2ee:service=EJB3,name=SecureDeploymentManager-metrics-instance, attachment: org.jboss.ejb3.metrics.deployer.BasicStatelessSessionInstanceMetrics
| ++++++ properties: [removeCount, currentSize, maxSize, createCount, availableCount]
| +++ ManagedComponent(name=jboss.j2ee:service=EJB3,name=SecureManagementView-metrics-instance, type=(ComponentType{type=EJB3, subtype=SLSB}), compName=jboss.j2ee:service=EJB3,name=SecureManagementView-metrics-instance, attachment: org.jboss.ejb3.metrics.deployer.BasicStatelessSessionInstanceMetrics
| ++++++ properties: [removeCount, currentSize, maxSize, createCount, availableCount]
| +++ ManagedComponent(name=jboss.j2ee:service=EJB3,name=SecureProfileService-metrics-instance, type=(ComponentType{type=EJB3, subtype=SLSB}), compName=jboss.j2ee:service=EJB3,name=SecureProfileService-metrics-instance, attachment: org.jboss.ejb3.metrics.deployer.BasicStatelessSessionInstanceMetrics
| ++++++ properties: [removeCount, currentSize, maxSize, createCount, availableCount]
I've therefore committed Emanuel's patch and released as jboss-ejb3-metrics-deployer:1.0.0-alpha-2.
When used in conjunction with jboss-man:2.1.1-20090531.135556-1, this satisfies the JON use case. Scott, would you like to make a formal release of this 2.1.1-SNAPSHOT series?
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234552#4234552
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234552
15 years, 7 months
[Design of Management Features on JBoss] - Re: How to Expose MBean Invocation Stats into admin-console?
by ALRubinger
Sorry, Emanuel, with your patch I still get:
ManagedDeployment: vfsfile:/home/alrubinger/business/jboss/wc/jbossas/branches/Branch_5_x/build/output/jboss-5.2.0.Beta/server/default/deploy/profileservice-secured.jar/
| +++ ManagedComponent(name=org.jboss.ejb3.metrics.deployer.ManagedInvocationStatisticsWrapper, type=(ComponentType{type=EJB3, subtype=Session}), compName=jboss.j2ee:service=EJB3,name=SecureManagementView-metrics-invocation, attachment: org.jboss.ejb3.metrics.deployer.ManagedInvocationStatisticsWrapper
| ++++++ properties: [stats]
| +++ ManagedComponent(name=org.jboss.ejb3.metrics.deployer.BasicStatelessSessionInstanceMetrics, type=(ComponentType{type=EJB3, subtype=SLSB}), compName=jboss.j2ee:service=EJB3,name=SecureDeploymentManager-metrics-instance, attachment: org.jboss.ejb3.metrics.deployer.BasicStatelessSessionInstanceMetrics
| ++++++ properties: [removeCount, currentSize, maxSize, createCount, availableCount]
|
Naming collisions still present. There should be both invocation and instance metrics for each EJB.
Now trying Scott's again, will post back.
S,
ALR
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234541#4234541
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234541
15 years, 7 months