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
Wrong favicons displayed on desktop & favs
Calendar Control in Excel 2003 VBA
Server 2008 R2 DC File Permissions
DMZ access to Public URL which NAT'ed to internal OWA host
Determine average resistance!
Java Applet Client - Security Exception
Ubuntu 10.04 startup script
Firewall Service won't start after I applied Web access policy wizard
Sync Issues” and “Local Failures make the OST size more than 6 GB
Outlook/Exchange Issue with Emails not showing