Problem while uploading a file
843835Apr 24 2002 — edited Feb 12 2003Hi there,
I am using multipartparser for uploading file from remote to my server. Now the problem what i am facing is, If I upload file within a specific size, there is not any problem. The file is uploaded and after that I could able to display a html page with the status.
Where as if I upload a file above the specified limit an IOException is thrown from the MultipartParser.class method. I am catching this exception and tries to display an html page with the printwriter object.
In this stage I am unable to display the html page and I am getting an error in weblogic server as below.
////Somebody pls suggest how to overcome this problem////
<Apr 23, 2002 6:32:57 PM GMT+05:30> <Error> <NT Performance Pack> <failure in processSockets() - GetData: 'weblogic.socket.GetData@44b9ff - fd: '1236'
, numBytes: '3736''
java.lang.NullPointerException
at weblogic.socket.TunnelContext.getServlet(TunnelContext.java:22)
at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTTP.java:237)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:638)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
<Apr 23, 2002 6:32:57 PM GMT+05:30> <Error> <HTTP> <Connection failure
java.lang.NullPointerException
at weblogic.socket.TunnelContext.getServlet(TunnelContext.java:22)
at weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTTP.java:237)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:638)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
/////ends/////
what could be wrong, how to display the status.
Awaiting your reply.
regards,
venkat