1 Reply Latest reply on Jul 4, 2002 6:20 AM by Adrian Brock

    run error

    zhaotianhai Newbie

      there are something wrong when i run this program on jboss3.0 final, but it can run successfully on jboss2.4.6.
      here is the error messages:javax.naming.CommunicationException.
      Root exception is java.rmi.UnmarshalExcepion: error unmarshalling return;
      nested exception is: java.lang.ClassNotFundException: org.jnp.interfaces.MarshalledValuePai(no security manager: RMI class loader disabled)
      java.lang.ClassNotFoundException:org.jnp.interfaces.MarshalledValuePair (no seurity manager: RMI class loader disabled)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:318)
      at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:132)
      at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.ja
      a:143)
      at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.jav
      :918)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:366)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
      at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
      at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:300)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:134)
      at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
      at javax.naming.InitialContext.lookup(InitialContext.java:350)
      at HelloClient.main(HelloClient.java:12)