Обсуждение: Connection reset errors

Поиск
Список
Период
Сортировка

Connection reset errors

От
Stephen Bacon
Дата:
Hi folks,
  I'm noticing a bunch of errors in the logs today. Any ideas what would
cause this / what I should look for? They occur on different pages, at
different times, but they're all basically the same "Connection reset"
error. Looking in my postgres log file shows no errors there.
I'm running Tomcat 3.3 / RedHat 7.3 (kernel-2.4.18-10) / Postgres 7.2.1
jar tvf pgjdbc2.jar (the latest verson I found about 4 weeks ago) gives:
46 Sat Feb 09 22:28:40 EST 2002 META-INF/MANIFEST.MF
-thanks
  Steve


2002-09-16 10:31:55 - Ctx(/erehabdata) : IOException in R( /erehabdata +
/LaunchScreen.jsp + null) - java.net.SocketException: Connection reset
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    at org.apache.tomcat.modules.server.Ajp13.send(Ajp13.java)
    at org.apache.tomcat.modules.server.Ajp13.doWrite(Ajp13.java)
    at
org.apache.tomcat.modules.server.Ajp13Response.doWrite(Ajp13Interceptor.java)
    at
org.apache.tomcat.core.OutputBuffer.realWriteBytes(OutputBuffer.java)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java)
    at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java)
    at
org.apache.tomcat.util.buf.IntermediateOutputStream.write(C2BConverter.java)
    at
sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:334)
    at
sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:402)
    at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:406)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:150)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
    at org.apache.tomcat.util.buf.WriteConvertor.flush(C2BConverter.java)
    at
org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java)
    at
org.apache.tomcat.core.OutputBuffer.realWriteChars(OutputBuffer.java)
    at org.apache.tomcat.util.buf.CharChunk.flushBuffer(CharChunk.java)
    at org.apache.tomcat.core.OutputBuffer.flush(OutputBuffer.java)
    at org.apache.tomcat.core.OutputBuffer.close(OutputBuffer.java)
    at org.apache.tomcat.core.Response.finish(Response.java)
    at
org.apache.tomcat.modules.server.Ajp13Response.finish(Ajp13Interceptor.java)
    at org.apache.tomcat.core.ContextManager.service(ContextManager.java)
    at
org.apache.tomcat.modules.server.Ajp13Interceptor.processConnection(Ajp13Interceptor.java)
    at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java)
    at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java)
    at java.lang.Thread.run(Thread.java:536)





Re: Connection reset errors

От
Stephen Bacon
Дата:
On Mon, 2002-09-16 at 12:13, Fredrik Wendt wrote:
> Does this really has anything to do with jdbc at all?
>
> Is it not just apache's timeout that closes the connection?

I'm not sure. This isn't a web-log connection reset message - it's from
a java.sql class, so I assumed it was either a driver proble, or the db
resetting the connection. Possibly it is because the user hit [stop] and
tomcat killed the connection, causing the error.
I was suspicioius because there were a bunch of them. Maybe I've got a
user on a flaky connection who keeps hitting the stop button.
Anyone?
-Steve

>
> Stephen Bacon wrote, On 2002-09-16 17:18:
>
> >Hi folks,
> >  I'm noticing a bunch of errors in the logs today. Any ideas what would
> >cause this / what I should look for? They occur on different pages, at
> >different times, but they're all basically the same "Connection reset"
> >error. Looking in my postgres log file shows no errors there.
> >I'm running Tomcat 3.3 / RedHat 7.3 (kernel-2.4.18-10) / Postgres 7.2.1
> >jar tvf pgjdbc2.jar (the latest verson I found about 4 weeks ago) gives:
> >46 Sat Feb 09 22:28:40 EST 2002 META-INF/MANIFEST.MF
> >-thanks
> >  Steve
> >
> >
> >2002-09-16 10:31:55 - Ctx(/erehabdata) : IOException in R( /erehabdata +
> >/LaunchScreen.jsp + null) - java.net.SocketException: Connection reset
> >    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
> >    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
> >    at org.apache.tomcat.modules.server.Ajp13.send(Ajp13.java)
> >    at org.apache.tomcat.modules.server.Ajp13.doWrite(Ajp13.java)
> >    at
<snip>