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
fiddling nose habit
Login control design and Programming
iphone saying can't connect to server on Exchange 2010 account...
Terminal Server client side CD/DVD writing
Sharing Methods Between Applications on the Same Server
Integrating projects
Cannot get dos to recognise 'nmake' variable
Identifying creator of fake facebook page
VirtualInfrastructure.Util
s.HttpWebR
equestProx
y' threw an exception.
Wireless Access Point - Hard Plastics Protective Cover