1 Reply Latest reply on Feb 10, 2006 6:13 AM by Ovidiu Feodorov

    RMI Class loader disable

    Ali Dufour Newbie

      I'm using JBoss 4.0.3 SP1 with the JBoss Messaging 1.0 alpha. I also have a JAXWS set up.

      When trying to access either a created topic or the DLQ queue that comes with the messaging sar I get the following error:

      javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.jms.destination.JBossQueue (no security manager: RMI class loader disabled)]

      this is my code,quite simple:

      final InitialContext ctx = new InitialContext();

      Queue queue=(Queue)ctx.lookup("queue/DLQ");
      topic= (Topic)ctx.lookup("topic/logTopic");

      With the JMX console, I can see that both are correctly bounded.

      I get the same error when I do this:

      new InitialContext().listBindings("");

      Can anyone help me please.

      How do I enable the RMI class loader

      Thank you