Dear All,
I have an application that performs
applet servlet communication with IBM Websphere 3.5 Advanced Edition. The entire application is an n-tier application and it works fine in almost all cases. But in one particular case, where the database(Oracle) takes 9 minutes to complete its operation (due to the sheer volume of data) I recieve a java.net.SocketException from the applet side with the message that "end of file" appended to the exception. I am using a URLConnection to communicate to and from the servlet. The communication from the applet to the servlet is fine, but after the middleware and backend have completed their operations, when the servlet tries to convey back the result to the applet the error appears. I have increased the Transaction time out to 2000, tried fiddling around with all other settings, but nothing seems to help. I examined the JDK source code and it states that if the HTTP header is corrupted then the exception with the above error message is thrown, so from the looks of it, I guess the HTTP Header does not exist on the way back from the servlet to the applet, is this due to the excessive time being taken by the middleware and backend?? If anyone knows the solution to this, please reply immediately.. this is very urgent!
Thanks in advance
Regards
Sriraj Rajaram