[opencms-dev] mod_jk crashes with SEVERE overflow: message ?

Collin McClendon collin.mcclendon at Digiconasp.com
Thu Jul 7 17:18:23 CEST 2005


Hello all,
I've read searched the archives and Google.com for relevant information 
but have come up empty handed. I've just gotten
OpenCMS setup and have followed the FAQ posted to this list on how to 
use mod_jk and Apache to host multiple virtual hosts.
Everything is working great. However, after a few hours of use, it seems 
that mod_jk stopped working. I got this error in catalina.out:
I have Apache 2.0.52-12 from RedHat EL 4, tomcat 5.5.9 and mod_jk 1.2.6. 

Jul 6, 2005 5:08:39 PM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Buffer overflow: buffer.len=8192 pos=70 data=56504
Jul 6, 2005 5:08:39 PM org.apache.jk.common.MsgAjp cpBytes
SEVERE: Overflow
java.lang.Throwable
        at org.apache.jk.common.MsgAjp.cpBytes(MsgAjp.java:172)
        at org.apache.jk.common.MsgAjp.appendByteChunk(MsgAjp.java:146)
        at org.apache.jk.common.MsgAjp.appendBytes(MsgAjp.java:132)
        at 
org.apache.jk.server.JkCoyoteHandler.appendHead(JkCoyoteHandler.java:407)
        at 
org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:425)        
at org.apache.coyote.Response.action(Response.java:182)
        at org.apache.coyote.Response.sendHeaders(Response.java:374)
        at 
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:317)
        at 
org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:278)
        at 
org.apache.catalina.connector.Response.finishResponse(Response.java:473)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307)        
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748)
        at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678)
        at 
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)
Jul 7, 2005 9:10:36 AM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jul 7, 2005 9:10:36 AM org.apache.catalina.connector.Connector pause
SEVERE: Protocol handler pause failed
java.net.UnknownHostException: tig-opencmsfe01.tig.com: 
tig-opencmsfe01.tig.com

After I restarted tomcat this morning all is well. I'm anxious however 
that this will happen again. Rather than go to mod_proxy I'd like
to fix this.  I have compiled a new version of mod_jk and I hope this 
helps (1.2.10 from jpackages.org). Any advice would be great!
Thanks,
Collin McClendon


-- 
Collin McClendon
Sr. Microsoft Systems Engineer
Digicon, Inc.
collin.mcclendon at digiconasp.com




More information about the opencms-dev mailing list