2 Replies Latest reply on Jun 24, 2002 4:34 PM by Dain Sundstrom

    client throws an UnmarshalException

    ionel Newbie

      Hi,

      When i try to launch a client, it display the following error message :


      javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalExcept
      ion: error unmarshalling return; nested exception is:
      java.lang.ClassNotFoundException: org.jnp.interfaces.MarshalledValuePair
      (no security manager: RMI class loader disabled)
      java.lang.ClassNotFoundException: org.jnp.interfaces.MarshalledValuePair (no sec
      urity 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.jav
      a:143)
      at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
      :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:365)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
      at javax.naming.InitialContext.lookup(InitialContext.java:350)
      at annuaire.initComponents(annuaire.java:31)
      at annuaire.(annuaire.java:22)
      at annuaire.main(annuaire.java:59)


      I'm using JBoss3.0.0RC3 w/ Tomcat (binary downloaded from SourceForge)

      - Service file for the jdbc connection works fine.
      - Bean deployment works fine too
      - No error message displayed in the server terminal when the client fails

      the jndi.property file I use is :

      java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
      java.naming.provider.url=grsun36:1080
      java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces


      this bean and its clients works fine with 3.0.0beta (which i use before)


      thanks,
      ionel