0 Replies Latest reply on Jul 4, 2005 3:11 AM by chris phil

    eclipse plugin and MBeans

    chris phil Newbie

      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

      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