Please help! I am using JBoss 4.0.4.GA and JBoss Messaging 1.0.1.CR2. I am trying to create Messaging queues dynamically. To do this requires that I get a handle to the "jmx/invoker/RMIAdaptor" MBeanServerConnection object. The following code, taken from a JBoss provided example, is causing an exception:
| InitialContext ic = new InitialContext(); | MBeanServerConnection p = | (MBeanServerConnection)ic.lookup("jmx/invoker/RMIAdaptor"); The exception generated is: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.rmi.RMIAdaptor (no security manager: RMI class loader disabled)] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:729) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588) at javax.naming.InitialContext.lookup(InitialContext.java:351) ... ============================================ I would appreciate it if someone could explain how to correct this! Thanks, Barry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949144#3949144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949144 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user