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
Check entries from user with Javascript
cannot receive email
How to refer dynamically to specific pages in Indesign CS2
Access chart sorting
Scanstyles does nothing in Webkit/Firefox
Call a WCF Service from VBScript
Stand-Alone Terminal Server
how to find the nodes inteconnectivity is propperly configured
Error Code 10061: Connection refused after replacing certificates
netapp change active directory domain