"Jim Goodspeed" <goodspeeds...@gmail.com> wrote in message news:84347690901081130k2b5e952agd426dd757e60d...@mail.gmail.com... > Hi, > > I am getting the following WARNING message in my catalina.out file. I am > currently running Apache 2.2.10, Tomcat 6.0.16 and Sun's JDK 1.6.0_07. I > can't tell if this is causing a problem or not. Thanks in advance for the > help. >
Other than taking up disc space, it isn't causing a problem. It just means that Apache dropped the connection before Tomcat could send it's message saying that it was ready for another request. The result will be that Tomcat will simply send the thread back to it's pool to wait for another connection. If you upgrade your Tomcat version, that message will be logged at DEBUG level (and so shouldn't show up with a production configuration). > > Jan 8, 2009 1:40:10 PM org.apache.jk.core.MsgContext action > WARNING: 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:531) > at > org.apache.jk.common.JkInputStream.endMessage(JkInputStream.java:121) > at org.apache.jk.core.MsgContext.action(MsgContext.java:304) > at org.apache.coyote.Response.action(Response.java:183) > at org.apache.coyote.Response.finish(Response.java:305) > at > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:195) > at > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) > at > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > at > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > at > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) > at java.lang.Thread.run(Thread.java:619) > > > My AJP configuration is the following in my server.xml file: > > <Connector port="8009" > enableLookups="false" redirectPort="8445" debug="0" > maxThreads="200" minSpareThreads="10" maxSpareThreads="25" > acceptCount="100" connectionTimeout="20000" > protocol="AJP/1.3" /> > > Apache is load balancing two tomcat servers with the following > configuration: > > ProxyRequests Off > ProxyPreserveHost On > > <Proxy *> > Order deny,allow > Allow from all > </Proxy> > > ProxyPass /lexmaint ! > > <Proxy balancer://app1> > BalancerMember ajp://server1:8009 route=app1-a loadfactor=5 > BalancerMember ajp://server2:8009 route=app1-b loadfactor=5 > </Proxy> > > <Location / > > ProxyPass balancer://app1/ stickysession=JSESSIONID > </Location> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org