1 Reply Latest reply on Nov 18, 2005 7:19 PM by acatjboss

    get exception (jndi) in accessing a MBean from a stand alone

    acatjboss

      I am trying to access a MBean in JBoss and following is the part of the stand alone java client:
      ------------
      MBeanServerConnection server = (MBeanServerConnection)ctx.lookup("jmx/invoker/RMIAdaptor");
      -
      ------------
      I get following exception:
      javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.rmi.RMIAdaptor (no security manager: RMI class loader disabled)]

      Am I missing anything? I have the standard jboss-service.xml and all the configurations as specified in the following link:
      http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean

      Any pointers on the cause of this problem would be highly appreciated. Thanks.

      -Anirban.