Bugs item #600474, was opened at 2002-08-26 14:31
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=600474&group_id=22866

Category: JBossServer
>Group: v3.0 Rabbit Hole
Status: Open
>Resolution: Later
Priority: 5
Submitted By: Marcus Redeker (mredeker)
>Assigned to: Scott M Stark (starksm)
Summary: EJB Handles in jboss3.0 not Serializable

Initial Comment:
Hi,

I am sending an EJBHandle as serialized object from 
one webcontext to another. The deserialization does not 
work and I get an exception. This worked in Jboss2.4.x 
and not in JBoss3 (3.0.1) anymore. 

We have a really big application with more then 10000 
logins a day and would really like to put this on a 
clustered environment. URGENT!!!

This is a snippet from the error:

11:32:08,379 ERROR [Engine] StandardManager[] 
IOException while loading persisted sessions: 
java.io.EOFException
java.io.EOFException
at java.io.DataInputStream.readUnsignedShort
(DataInputStream.java:347)
at 
java.io.ObjectInputStream$BlockDataInputStream.readUn
signedShort(ObjectInputStream.java:2633)
at 
java.io.ObjectInputStream$BlockDataInputStream.readUT
F(ObjectInputStream.java:2689)
at java.io.ObjectInputStream.readUTF
(ObjectInputStream.java:989)
at java.rmi.server.RemoteObject.readObject
(RemoteObject.java:394)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
 


----------------------------------------------------------------------

>Comment By: Scott M Stark (starksm)
Date: 2002-09-09 14:36

Message:
Logged In: YES 
user_id=175228

The problem is that you are serializing the handle and then 
transporting that back to the client rather than letting the 
transport layer do the serialization. This fails because the 
JRMPInvoker is not being replaced by its remote stub. The 
immeadiate workaround is to pass the handle back to the 
client and let the rmi transport layer handle the marshalling of 
the RMI object. I'll look at changing the marshalling of the 
JRMPInvokerProxy to handle this automatically.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=600474&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to