Hi,
i´m in trouble with a Tomcat 4.1.29 (Standalone, no Apache !, Win2K)
acting as as Mapserver. It seems to work fine, but writes tons of
exceptions to isapi.log and sterr.log. I´ve googled a few hours withe
the result, that 'Connection reset by peer' may happen when the client
presses the stop button, closes connection etc. That is impossible, i´ve
got over 1000 exceptions in my logfile. There must be another reason.
isapi.log:
[Thu Aug 04 14:44:27 2005] [jk_ajp_common.c (651)]:
ajp_connection_tcp_get_message: Error - jk_tcp_socket_recvfull failed
[Thu Aug 04 14:44:27 2005] [jk_ajp_common.c (1009)]: Error reading reply
[Thu Aug 04 14:44:27 2005] [jk_ajp_common.c (1146)]: In
jk_endpoint_t::service, ajp_get_reply failed in send loop 0
sterr.log:
04.08.2005 14:37:15 org.apache.jk.server.JkCoyoteHandler action
SCHWERWIEGEND: Error in action code
java.net.SocketException: Connection reset by peer: 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.jk.common.ChannelSocket.send(ChannelSocket.java:457)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:654)
at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:435)
at org.apache.coyote.Response.action(Response.java:222)
at org.apache.coyote.Response.finish(Response.java:343)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:314)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
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:666)
at java.lang.Thread.run(Thread.java:534)
04.08.2005 14:37:37 org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
04.08.2005 14:44:25 org.apache.jk.common.ChannelSocket processConnection
INFO: connection timeout reached
Maybe, someone can answer one of the following questions:
- What is jk_ajp_common.c ? (Seems to be a native class for the Apache
connector)
- what is org.apache.jk.server.JkCoyoteHandler exacly responsible for ?
- How do i know, what EXACT connection is reseted.
- is the reseted connection necessarily a http connection or possibly a
database connection ?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]