commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mart...@apache.org>
Subject Re: [fileupload] SocketException
Date Sun, 29 Feb 2004 00:59:31 GMT
On Mon, 23 Feb 2004, Phani, Kumar (IE10) wrote:

> Hello all,
> I am using commons file upload version 1.0 and when I call parseRequeset on
> DiskFileUpload object, its throwing a SocketException.
> What could be the reason for this?

The particular error you're getting ("Connection reset by peer") is
usually caused when someone hits "Stop" on their browser, or when someone
makes a second request while the first request is still being processed
(e.g. by impatiently clicking on "Submit" a second time).

--
Martin Cooper


> Following is the stack trace for the exception.
> [2/23/04 14:46:33:562 GMT+05:30] 6bbd888d SystemErr     R
> org.apache.commons.fileupload.FileUploadException: Processing of
> multipart/form-data request failed. Connection reset by peer: socket closed
> [2/23/04 14:46:33:562 GMT+05:30] 6bbd888d SystemErr     R 	at
> org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.jav
> a:429)
> [2/23/04 14:46:33:562 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.honeywell.hrsa.web.pulsesurvey.FileUploadHandler.execute(FileUploadHandl
> er.java:136)
> [2/23/04 14:46:33:562 GMT+05:30] 6bbd888d SystemErr     R 	at
> java.lang.reflect.Method.invoke(Native Method)
> [2/23/04 14:46:33:578 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.honeywell.framework.web.Controller.performTask(Controller.java:80)
> [2/23/04 14:46:33:578 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.honeywell.framework.web.Controller.doPost(Controller.java:51)
> [2/23/04 14:46:33:578 GMT+05:30] 6bbd888d SystemErr     R 	at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
> [2/23/04 14:46:33:578 GMT+05:30] 6bbd888d SystemErr     R 	at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [2/23/04 14:46:33:578 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle
> tInstance.java:110)
> [2/23/04 14:46:33:578 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy
> cleServlet.java:174)
> [2/23/04 14:46:33:578 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ
> let.java:313)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc
> leServlet.java:116)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java
> :258)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer
> vletReferenceState.java:42)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns
> tanceReference.java:40)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(
> WebAppRequestDispatcher.java:872)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques
> tDispatcher.java:491)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest
> Dispatcher.java:173)
> [2/23/04 14:46:33:594 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker
> .java:199)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C
> achedInvocation.java:71)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(C
> acheableInvocationContext.java:114)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq
> uestProcessor.java:187)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene
> r.java:331)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav
> a:56)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.http.HttpConnection.run(HttpConnection.java:343)
> [2/23/04 14:46:33:609 GMT+05:30] 6bbd888d SystemErr     R 	at
> com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)
> Anybody has any idea why this happens?
> BTW, I am using Websphere 5.0 Application server and IE 6.0.
> Thanks in advance,
> Phani Kumar
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message