Hi,
i want to connect to my MBean from an eclipse plugin.
It worked from a simple test class that ran as a normal java application. but when i run it in an eclipse plugin it crashes.
the error message:
Unhandled event loop exception
Reason:
javax/management/MBeanServerConnection
InitialContext initialContext = new InitialContext(properties);
MBeanServerConnection server = (MBeanServerConnection) initialContext.lookup("jmx/rmi/RMIAdaptor");
if i make only the lookup there is no error. but when i cast the result of the lookup in a MBeanServerConnection the error occures.
please help