Whoops, of course I meant

public class BigObject implements java.io.Serializable.....

Joe

-----Original Message-----
From:   Joe Gittings [SMTP:[EMAIL PROTECTED]]
Sent:   Wednesday, October 04, 2000 2:23 PM
To:     [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject:        Bug report? Jeremie in Jonas 2.1 hangs/stalls when serializing large 
compound objects

I think there may be a bug in the way that the new version of Jeremie 
serializes large objects. If I have an accessor function in an EJB which 
returns a serializable class, which itself aggregates several other 
serializable classes, e.g. in the implementation class of the EJB:

public class BigObjectAccessorBean implements EntityBean
{
        public BigObject bigObjectMember;

        public BigObject getBigObject()
        {
                return bigObjectMember;
        }
}

where

public class BigObject
{
        public Hashtable member1;
        public Hashtable member2;
        public Vector member3;
        etc...
}

the "return bigObjectMember" is never completed, and the call to 
getBigObject() in the client never returns.

This problem is new: it did not happen in Jonas 2.0, either with RMI or 
with Jeremie. And it does not happen with RMI in Jonas 2.1. It only happens 
with the Jonas 2.1 version of Jeremie. I am using Sun's JDK 1.3.0 for 
Windows. Jeremie in Jonas 2.1 does work fine for me for accessors which 
return simple types, strings, etc. For now, I have reverted to using RMI. I 
have been looking at this problem since yesterday, so am pretty sure it is 
happening as described!

With thanks,
Joe

=====================================================================
Joe Gittings, Royal Botanic Gardens, Kew
Hanover House, Kew, Richmond, Surrey TW9 3AB

[EMAIL PROTECTED]
+44 20 8332 5712
fax: +44 20 8332 5736

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to