File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts file upload to blob - Connection reset Error !

Harshavardhan Hublikar
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 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?

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic