I had the same problem.  Character arrays (char[]) also work.

The problem doesn't appear to be JUST with serializing, because I managed to
serialize very large strings to disk.  I think the problem is more of
serializing over RMI.

Mike

----- Original Message -----
From: "Jens Stutte" <[EMAIL PROTECTED]>
To: "Orion-Interest" <[EMAIL PROTECTED]>
Sent: Thursday, June 21, 2001 5:49 AM
Subject: AW: big text in string as object over the network:


> This may be related to an old Java problem, that strings over 65535
> characters or so could not be serialized. I don't know, by when if ever it
> was fixed by Sun, but try using StringBuffer instead. If this works, you
> found the problem...
>
> Regards,
>
> Jens Stutte
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Tobias Streckel [mailto:[EMAIL PROTECTED]]
> > Gesendet am: Donnerstag, 21. Juni 2001 13:07
> > An: Orion-Interest
> > Betreff: big text in string as object over the network:
> >
> > Hello,
> >
> > if I want to save a String(he is in a object which will save
> > in a Oracle DB
> > as a BLOB) I get by huge texts a Error:
> >
> > com.evermind.server.rmi.RMIConnectionException
> > com.evermind.server.rmi.OrionRemoteException: Disconnected:
> > Disconnected
> >
> > Have anyone a answer why it doesn't work?
> >
> > Thanks
> >
> > Tobi
> >
> >
> >
>


Reply via email to