This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts file upload to blob - Connection reset Error ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts file upload to blob - Connection reset Error !" Watch "Struts file upload to blob - Connection reset Error !" New topic
Author

Struts file upload to blob - Connection reset Error !

Harshavardhan Hublikar
Greenhorn

Joined: Apr 18, 2005
Posts: 1
Hi,
I am developing an application using Struts on WSAD 5.1. I have included file upload functionality using the StrutsBlobApp. This works fine using the oci drivers, but fails for files larger than 4k when I use the thin drivers. I am using ojdbc14.jar to connect to an oracle 9.2.0.1 database.
Following is the error message:
CONM7007I: Mapping the following SQLException, with ErrorCode 17,002 and SQLState <null>, to a StaleConnectionException: java.sql.SQLException: Io exception: Connection reset

The same code works fine using the thin drivers for files upto 4k.

I have been searching for clues on this for past 2 days. Does anyone have any idea about this?

Thanks,
Harsha
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts file upload to blob - Connection reset Error !
 
Similar Threads
ATG oracle thin problem
File upload filter for displaying files
jdbc and oracle
Oracle Blob using Java help (Error: JVM_recv in socket input stream read )
connection to database - reset by peer - SQL Exception -???!!!