Skip to Content
0
Former Member
Dec 17, 2007 at 07:13 AM

Exception : while retrieving MBean Info

32 Views

Hi,

I trying to extract the MBeanInfo details as follows:

private static void getMBeanInformation(MBeanServerConnection mcon, ObjectName obj)

{

try

{

MBeanInfo bean = mcon.getMBeanInfo(obj);

System.out.println((bean.getClassName()).toString());

}

catch(Exception e){ System.out.println("Exception -> "+ e);}

}

I am getting the follwong exception:

Exception -> javax.management.InstanceNotFoundException: com.sap.default:* not in repository

Plz any one can help in resolveing this issue.

Thanks in Advance.