Couldn't retrieve the Attribute of type "javax.management.j2ee.statistics.Stats" . 
But could able to retrieve other attributes through a Remote Client.

 Could any one help me in retrieving the Stats Attribute.My code is like this.
----------------------------------------------
MBeanInfo mbInfo = server.getMBeanInfo(MBeanObName);
MBeanAttributeInfo[] attrInfo = mbInfo.getAttributes();
for (int jj=0; jj<attrInfo.length; jj++) {
try{
String attrName = attrInfo[jj].getName();
String attrType = attrInfo[jj].getType();
Object value  = server.getAttribute(MBeanObName, attrName);
if(value!=null)System.out.println(value);
}catch(Exception e){System.out.println("Error...");
}
---------------------------------------------------------

Thanks


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

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to