I am facing a problem while performing upload to the tune of 100MB and more! I am using MVC Framework (similar to Struts), WAS 5.0 and IBM DB2.
Process of Upload: From the client PC, the file is stored in Application server temp directory and then stored in to the database.
Problem is as follows: During upload of a huge file, the IE browser 6.0 gets timed out exactly one hour after the file is uploaded from the client PC to the application server's temp directory.
Not sure why this happens.
Solution tried: -------------- We have tried to load a dummy JSP in an IFRAME in the Upload JSP, which hits the WebServer with a dummy request, after every 5 secs, thinking that some request from that browser window to the server will prevent the browser window from getting timed out. But this does not work and browser gets timed out.
I have used Struts to implement upload functionality the problems encountered were 1 when huge files being uploaded say >100MB ur JVM tends to throw OutOfMemoryException.
2 u need to go back to ur server side code where ur handling storage of file in the temporary place u look for optimal java coding to increase the file writing process (www.javaperformancetuning.com)
we can discuss further if u feel my inputs were helpful to u
regards Satish Kumar
Satish SN<br />SCJP 1.4 & SCWCD 1.4
Joined: Feb 25, 2006
We are in critical stage of the project and it would not be feasible to switch to FTP at this point in time. With that constraint, do you have any suggestion for resolving the problem?
To resolve this problem, we are assuming that if there is a request sent to the server continuously after some time intervals, the browser will not get timed out. First of all is that assumption correct?
If you think that the problem can be resolved by following some other line of thinking, then please let me know.