tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RK" <raj...@trafficpayment.com>
Subject Tomcat connection problems. Webapp hangs up after a while.
Date Tue, 06 Jul 2004 17:15:02 GMT
Hi,
 
            I have a webapp on tomcat 4.1.24 (Win 2000 and SQL Server).
The application works fine for a while and later on it fails to do any
action and writes "Software caused connection abort: socket write error"
and also "connection reset by peer error". But if I restart the tomcat
server, everything works fine for a while and hangs up again.
Any Ideas? please see below the error from the log file. And also I
turned on the SQL profiler but it's not getting the database call. So
looks like the web app is hanging somewhere and I can't figure out.
 
StandardWrapperValve[default]: Servlet.service() for servlet default
threw exception
java.net.SocketException: Software caused connection abort: socket write
error
            at java.net.SocketOutputStream.socketWrite0(Native Method)
            at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
            at
java.net.SocketOutputStream.write(SocketOutputStream.java:136)
            at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.d
oWrite(InternalOutputBuffer.java:668)
            at
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOu
tputFilter.java:160)
            at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuff
er.java:523)
            at org.apache.coyote.Response.doWrite(Response.java:524)
            at
org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBuffer.java:
384)
            at
org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:439)
            at
org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:359)
            at
org.apache.coyote.tomcat4.OutputBuffer.writeBytes(OutputBuffer.java:411)
            at
org.apache.coyote.tomcat4.OutputBuffer.write(OutputBuffer.java:398)
            at
org.apache.coyote.tomcat4.CoyoteOutputStream.write(CoyoteOutputStream.ja
va:110)
            at
org.apache.catalina.servlets.DefaultServlet.copyRange(DefaultServlet.jav
a:1996)
            at
org.apache.catalina.servlets.DefaultServlet.copy(DefaultServlet.java:174
5)
            at
org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet
.java:1073)
            at
org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:50
6)
            at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
            at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247)
            at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193)
            at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:191)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
            at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
            at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172)
            at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            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.i
nvokeNext(StandardPipeline.java:643)
            at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80)
            at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
            at
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
            at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:59
4)
            at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
onnection(Http11Protocol.java:392)
            at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
            at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:619)
            at java.lang.Thread.run(Thread.java:536)
 
Thanks
RK

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message