1 Reply Latest reply on Aug 30, 2003 7:53 AM by Adrian Brock

    A question on JMS Security

    rurality Newbie

      The following is my jndi.properties files
      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
      java.naming.provider.url=localhost:8090
      java.naming.rmi.security.manager=no
      java.naming.security.principal=dynsub
      java.naming.security.credentials=dynsub

      Then I execute the clause
      QueueConnectionFactory factory = (QueueConnectionFactory)initContext.lookup("ConnectionFactory");

      The exception is as followed:
      javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)