This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes multipart upload servlet timing out? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "multipart upload servlet timing out?" Watch "multipart upload servlet timing out?" New topic
Author

multipart upload servlet timing out?

Sheldon Plankton
Ranch Hand

Joined: Feb 11, 2004
Posts: 33
Hi,
I want to know how to prevent ...
java.net.SocketTimeoutException: Read timed out
... from happening when I up load very large files.
Here is the list of the files I want to upload.
-rw-r--r-- 1 Plank None 5427 Feb 5 11:56 XYZ_ABC_01.dat
-rw-r--r-- 1 Plank None 702 Feb 5 11:56 XYZ_ABC_02.dat
-rw-r--r-- 1 Plank None 112 Feb 5 11:56 XYZ_ABC_03.dat
-rw-r--r-- 1 Plank None 17877 Feb 5 11:56 XYZ_ABC_04.dat
-rw-r--r-- 1 Plank None 1749 Feb 5 11:56 XYZ_ABC_05.dat
-rw-r--r-- 1 Plank None 952 Feb 5 11:56 XYZ_ABC_06.dat
-rw-r--r-- 1 Plank None 14703464 Feb 17 13:30 XYZ_PDQ_07.dat
-rw-r--r-- 1 Plank None 287694 Feb 17 13:31 XYZ_PDQ_08.dat
-rw-r--r-- 1 Plank None 0 Feb 12 11:54 XYZ_PDQ_09.dat
-rw-r--r-- 1 Plank None 71570688 Feb 5 11:56 XYZ_PDQ_10.dat
-rw-r--r-- 1 Plank None 121130074 Feb 17 13:20 XYZ_PDQ_11.dat
-rw-r--r-- 1 Plank None 42880710 Feb 17 13:23 XYZ_PDQ_12.dat
-rw-r--r-- 1 Plank None 11528014 Feb 17 13:23 XYZ_PDQ_13.dat
I am using servlet that inports com.oreilly.servlet.multipart to upload the files. I know the files are big there is nothing I can do about that. Is there someway to increase the timeout threshold or even turn off time outs?
Thanks
Sheldon
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multipart upload servlet timing out?