Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem while uploading a file

843835Apr 24 2002 — edited Feb 12 2003
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 12 2003
Added on Apr 24 2002
2 comments
145 views