Hi All,

It seems there may be some bug in FileServlet in weblogic 5.1 Because it is giving IOException for different files at different times. And all the files are available still in the document root. Pls found the stack trace it is giving:

java.net.SocketException: socket write error (code=10053) at java.net.SocketOutputStream.socketWrite(Native Method) at java.net.SocketOutputStream.write(SocketOutputStream.java, Compiled Code) at weblogic.servlet.internal.ChunkUtils.writeChunks(ChunkUtils.java, Compiled Code) at weblogic.servlet.internal.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java, Compiled Code) at weblogic.servlet.internal.ServletOutputStreamImpl.writeStream(ServletOutputStreamImpl.java, Compiled Code) at weblogic.servlet.FileServlet.sendFile(FileServlet.java:176) at weblogic.servlet.FileServlet.service(FileServlet.java:47) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java, Compiled Code) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code) Sat Apr 07 20:57:05 GMT+05:30 2001:<E> <HTTP> Servlet request terminated with IOException: java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '4096' bytes instead of stated: '8633' bytes. at weblogic.servlet.internal.ServletOutputStreamImpl.finish(ServletOutputStreamImpl.java, Compiled Code) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

Sat Apr 07 20:57:05 GMT+05:30 2001:<E> <HTTP> Connection failure java.net.SocketException: ReadFile on fd=1096 failed with err=64 at weblogic.socket.NTSocketMuxer.initiateIO(Native Method) at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

Sat Apr 07 20:57:05 GMT+05:30 2001:<E> <HTTP> Connection failure java.net.SocketException: ReadFile on fd=1192 failed with err=64 at weblogic.socket.NTSocketMuxer.initiateIO(Native Method) at weblogic.socket.NTSocketMuxer.read(NTSocketMuxer.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.requeue(MuxableSocketHTTP.java, Compiled Code) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java, Compiled Code) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)

As a result session attached with request becoming invalid.As a result request.isRequestedSessionIdValid() becoming false.

Is there any way out of this ? I have tried to install service pack8, but it seems it doesn't work with jdk1.3 as no javai.dll is available in jdk1.3 which is required for this.

CAn any one pls give suggestions?

Thanks and Regards,
Sudarson