2 Replies Latest reply on Jun 2, 2006 5:41 AM by Hemil Shah

    trouble running JBOSS messageing examples

    jeff coffman Newbie

      I am using jboss messaging and jboss AS and trying to run the examples. When I run the jboss messaging topic example I get the following errors [see below].

      Does this have more todo with my JRE than JBOSS AS itself?


      thanks





      [java] JNDI API lookup failed: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      [java] java.lang.ClassNotFoundException: org.jboss.naming.LinkRefPair (no security manager: RMI class loader disabled)]
      [java] javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      [java] java.lang.ClassNotFoundException: org.jboss.naming.LinkRefPair (no security manager: RMI class loader disabled)]
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:723)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
      [java] at javax.naming.InitialContext.lookup(InitialContext.java:351)
      [java] at NavListener.(Unknown Source)
      [java] at NavListener.main(Unknown Source)
      [java] Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
      [java] java.lang.ClassNotFoundException: org.jboss.naming.LinkRefPair (no security manager: RMI class loader disabled)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:162)
      [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
      [java] ... 4 more
      [java] Caused by: java.lang.ClassNotFoundException: org.jboss.naming.LinkRefPair (no security manager: RMI class loader disabled)
      [java] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
      [java] at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
      [java] at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)
      [java] at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)
      [java] at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)
      [java] at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538)
      [java] at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
      [java] at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
      [java] at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
      [java] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
      [java] at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:290)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:139)
      [java] ... 6 more