I'd recommend moving to mod_proxy_http, it will be easier for you to debug.
the error below seems tobe more of a problem with apache (mod_proxy_ajp) then with tomcat, tomcat is simply trying to write a message, but the connection is no longer valid.

Filip

c. wrote:
Hello,

I'm using mod_proxy_ajp as my link b/w tomcat and apache.  Things are
working well with the exception of getting the following error:

2007-03-22 20:02:42,875 [TP-Processor51] WARN
org.apache.jk.core.MsgContext - Error sending end packet
java.net.SocketException: Broken pipe
   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:518)
at org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:112)
   at org.apache.jk.core.MsgContext.action(MsgContext.java:293)
   at org.apache.coyote.Response.action(Response.java:182)
   at org.apache.coyote.Response.finish(Response.java:304)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:204)
   at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
   at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754)
   at org.apache.jk.common.ChannelSocket.processConnection(
ChannelSocket.java:684)
   at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(
ChannelSocket.java:876)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
ThreadPool.java:684)
   at java.lang.Thread.run(Thread.java:595)
2007-03-22 20:02:42,875 [TP-Processor51] WARN
org.apache.jk.common.ChannelSocket - processCallbacks status 2

a few times a day.

This is from a medium traffic e-commerce site (approx. 1000 trans a day) and it seems to occur when the user is on the secure checkout page and hits the
order button.  They complain of being presented with a blank page after
hitting the purchase button.

Pertinent details from the servlet.xml:

<Connector address="139.0.0.1"
              port="8009"
              enableLookups="false"
              protocol="AJP/1.3"
              minSpareThreads="20"
              maxSpareThreads="200"
              maxThreads="1024"
              connectionTimeout="600000"
/>

Any ideas as to why this is happening?

Thanks,

Chris.



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

Reply via email to