Posted By:
Srijeeb_Roy
Posted On:
Wednesday, May 2, 2001 04:43 PM
I am facing one problem when I am Accessing EJB'S deployed in WeblogicServer6.0 from 1.2 JVM Clients. I am calling a method which returns a String on my bean (Stateless Session). Everything works Ok when the return String is lessthan 64KB. But when the return String is greater than 64 KB , I am getting java.io.StreamCorruptedException exception in Client. But If I use 1.3 JVM Client everything is OK. I have seen the platform support document of Weblogic also. ( http://www.weblogic.com/platforms/index.html#mix) There it is written that "Using Weblogic 6.0 it is possible to connect to clients using a 1.2 JVM. However a 1.3.0 SDK mu
More>>
I am facing one problem when I am Accessing EJB'S deployed
in WeblogicServer6.0 from 1.2 JVM Clients. I am calling a
method which returns a String on my bean (Stateless Session).
Everything works Ok when the return String is lessthan 64KB.
But when the return String is greater than 64 KB , I am getting
java.io.StreamCorruptedException exception in Client.
But If I use 1.3 JVM Client everything is OK. I have seen the
platform support document of Weblogic also.
( http://www.weblogic.com/platforms/index.html#mix)
There it is written that
"Using Weblogic 6.0 it is possible to connect to clients using
a 1.2 JVM. However a 1.3.0 SDK must be running on the
server. "
And I am using 1.3.0 SDK on my Server Side.
I am attaching the Full Exception ....
java.rmi.UnmarshalException: failed to unmarshal class java.lang.String;
nested
exception is:
java.io.StreamCorruptedException: Type code out of range, is 124
java.io.StreamCorruptedException: Type code out of range, is 124
at java.io.ObjectInputStream.peekCode(ObjectInputStream.java,
Compiled C
ode)
at java.io.ObjectInputStream.refill(ObjectInputStream.java:1401)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:273)
at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:232)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:106)
at
weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedO
bjectInputStream.java:114)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:47)
at
weblogic.rmi.internal.BasicRemoteRef.unmarshalReturn(BasicRemoteRef.j
ava:136)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:251)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java, Compiled Code)
at
XMLInvoker.InvokerBeanEOImpl_WLStub.obsCall(InvokerBeanEOImpl_WLStub.
java:143)
at XMLInvoker.Client.example(client.java:78)
at XMLInvoker.Client.main(client.java:59)
Method called
Removing the Invoker
There was an exception while creating and using the Invoker.
This indicates that there was a problem communicating with the server:
java.rmi.
UnmarshalException: failed to unmarshal cookie; nested exception is:
java.io.StreamCorruptedException: Unknown code in readObject 124
PLEASE HELP ME OUT OF THIS SITUATION. BECAUSE I NEED TO
MAKE WORK THIS SCENARIO BADLY.
<<Less