Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connection reset by peer error when uploading files > 4KB with Toplink 9.04

418538May 9 2004 — edited May 18 2004
I am getting the following error when I attempt to perform an insert statement which inserts a file >100KB into the database as a blob.

com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: javax.transaction.SystemE
xception: com.evermind.transaction.MarshallingXAException: Error closing connection for this TX: Io
exception: Connection reset by peer: socket write error

I am using Oracle DB 10g, Toplink 9.0.4 and JDBC driver 9.2.0.1

I am using JDBC thin drivers and have the following settings in my Toplink descriptor:
<uses-byte-array-binding>true</uses-byte-array-binding>
<uses-streams-for-binding>true</uses-streams-for-binding>

Does anyone have any idea what could be wrong? My code which uses TopLink resides in an EJB, and the EJB code executes without any problem. The exception occurs when the EJB returns control to the caller(delegate).

I do not have any problems retrieving files > 200KB though.

Is uploading files as blobs using the JDBC Thin driver on Toplink 9.0.4 supported?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2004
Added on May 9 2004
2 comments
580 views