tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: java.net.socketException...Connection reset by peer: JVM_recv in socket input stream read!!
Date Mon, 25 Aug 2008 16:27:49 GMT
the exception is not in Tomcat, but in your application. You will need 
to catch the exception or handle the connection management differently

Filip

Thangavel Sankaranarayanan wrote:
> Hi ,
>
> I am getting a java.net.socket exception in tomcat
> Stack trace is below...
>   To avoid this errror what can be done.?
>
>
> java.net.SocketException: Connection reset by peer: JVM_recv in socket
> input stream read
>       at java.net.SocketInputStream.socketRead0(Native Method)
>       at java.net.SocketInputStream.read(SocketInputStream.java:116)
>       at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
>       at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
>       at
> org.apache.commons.httpclient.HttpConnection.isStale(HttpConnection.java:506)
>       at
> org.apache.commons.httpclient.HttpConnection.closeIfStale(HttpConnection.java:431)
>       at
> org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.closeIfStale(MultiThreadedHttpConnectionManager.java:1291)
>       at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:354)
>       at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:168)
>       at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:393)
>       at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
>       at
> au.com.vodafone.siebel.transport.http.HttpSwsTransport.send(HttpSwsTransport.java:62)
>       at
> au.com.vodafone.siebel.message.SwsRequestMsg.send(SwsRequestMsg.java:47)
>       at
> au.com.vodafone.mpp.siebel.SiebelFactory.isValidBan(SiebelFactory.java:670)
>       at
> au.com.vodafone.mpp.ui.action.VerifyCustomerAction.execute(VerifyCustomerAction.java:247)
>       at au.com.vodafone.mpp.ui.action.MPPAction.execute(MPPAction.java:97)
>       at
> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
>       at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
>       at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
>       at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>       at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>       at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>       at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>       at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:492)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
>       at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>       at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>       at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>       at
> au.com.objectconsulting.catalina.valves.SetRemoteUserValve.invoke(SetRemoteUserValve.java:27)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>       at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>       at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>       at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>       at
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
>       at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:324)
>       at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:395)
>       at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
>       at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
>       at
> org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
>       at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>       at java.lang.Thread.run(Thread.java:536)
>
>
> Regards,
> Thangavel Sankaranarayanan
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message