Hi
--

I am trying to connect to the jBoss-Container using a JDK.1.2.2 based
JVM.
Now the Problem is, that I always get the following exception:

----------8<-------snip

javax.naming.CommunicationException.  Root exception is
java.rmi.UnmarshalException: error unmarshalling return; nested
exception is: 
        java.io.StreamCorruptedException: Type code out of range, is 125
java.io.StreamCorruptedException: Type code out of range, is 125
        at
java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1276)
        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:278)
        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:228)
        at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:974)
        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:365)
        at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:228)
        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:280)
        at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:265)
        at javax.naming.InitialContext.lookup(InitialContext.java:354)
        at de.cogito.eVeryThing.ServCli.main(ServCli.java:79)

----------8<-----------------

If I use JDK1.3 instead the Bean-Client works. (It even works, when I
start the Container
on a JDK1.2.2 based JVM and run the Bean Client on a JVM1.3).

Any Idea how to fix this Problem without using a JDK1.3 ?

Volker Graf

Reply via email to