on 12-17-2007 7:13 AM
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.
Hi,
Are you sure, the MBean is registered?
Also are you obtaining the ObjectName from somewhere, or creating it yourself?
You sure that it is correct?
Is this MBean registered on a local or a remote engine?
Gagan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.