[jboss-user] [Management, JMX/JBoss] - Re: JBoss MBean API

yizhao do-not-reply at jboss.com
Mon Aug 14 16:15:44 EDT 2006


Hi,

Thanks for that info.  I didn't state my question too clearly but I was actually asking a slitly different question.  For example, after I establish a connection with the JBoss AS, if I wanted to get the version number I would do the following:

ObjectName on = new ObjectName("jboss.system:type=Server");
Object ver = server.getAttribute(on, "VersionName");
System.out.println("Version " + ver);

After starting the server, from the web-console page, under "System->JMX Mbeans", there is a list of mbeans and associated attributes.  I am having trouble finding the MBeans and attributes that I need.  For example, JVM heap size, current heap usage, JDBCDataSourceRuntime info, ExecuteQueue info, OpenSocketsCurrentCount, SocketsOpenedTotalCount.

Thanks!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3965104#3965104

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965104



More information about the jboss-user mailing list