Get your CodeRanch badge!*
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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts file upload to blob - Connection reset Error !
 
Similar Threads
ATG oracle thin problem
Oracle Blob using Java help (Error: JVM_recv in socket input stream read )
File upload filter for displaying files
jdbc and oracle
connection to database - reset by peer - SQL Exception -???!!!