Microsoft
Software
Hardware
Network
Question : EOF sent to Glassfish when upload fails with mod_jk
Hi everyone.
I develop a file uploader. A Java client that sends data and a servlet that receives them. It works ok except that if the upload is interrupted I expect an IOError but get EOF.
In my dev setup, I'm uploading the files directly to glassfish and it works as expected but in production environment, glassfish is "behind" apache https with mod_jk (AJP). It seems that glassfish receives the datastream as EOF when the connection fails. My problem is that I cannot identify a connection failure from a completed upload.
Anyone has an idea about how to fix this? or workaround?
I need proxy through httpd to glassfish enabled so removing mod_jk is not an option without a replacement.
Answer : EOF sent to Glassfish when upload fails with mod_jk
No worries, I had a look at the script and it should do the job. If you have any bother with it just yell :)
Chris
Random Solutions
Loan application function
Optional parameters
Silverlight Master Details
Recommended Anti-Virus, Anti-Malware for Droid Phones
What is the proper DNS settings for ...
Failover internet routing advice
ms access update query
Newsletter emails stuck in qmail queue
Vlookup with exact number format
Always view the last row of a textarea box