Very strange????

Okay, now I want to create a entity bean which have as attribute a
object(this object have a only StringBuffer() object).

The create method of the entity will be access from a session bean(in the
same apps). The client have access on the session bean.

If the session bean call the create method of the entity and the StingBuffer
is small it will work.

If the StringBuffer() containts a String about 200 KB it throws the message

    javax.ejb.CreateException: Error creating EntityBean: E/A-Exception:
Connection
    reset by peer: socket write error

If the String is bigger than 600 kb I will get the Message:

com.evermind.server.rmi.RMIConnectionException
com.evermind.server.rmi.OrionRemoteException: Disconnected: Disconnected


WHAT HAPPENS´???
I HAVE NO ANSWER HOW I CAN GET IT TO WORK!

THANKS!!!!!

Tobi

-----Ursprüngliche Nachricht-----
Von: Tobias Streckel <[EMAIL PROTECTED]>
An: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Datum: Donnerstag, 21. Juni 2001 13:11
Betreff: Re: big text in string as object over the network:


>Hy,
>
>I want to save a file. In the database I have used a BLOB datatyp for the
>field. What kind of variable is used in the Entity Bean to save the File.
>
>Is it a java.io.File object?
>
>Thanks a lot
>
>by
>
>Tobi
>


Reply via email to