Hi Daniel,
Daniel Cavalcanti wrote On 04/19/07 01:56 PM,:
> Hello,
> I'm trying to setup load-balancer using Apache httpd by following the
> instructions from Daniel's Blog:
> http://blogs.sun.com/dadelhardt/entry/loadbalancing_with_mod_jk_and_glassfish
> <http://blogs.sun.com/dadelhardt/entry/loadbalancing_with_mod_jk_and_glassfish>
> But I'm getting some errors:
>
> [#|2007-04-19T16:39:57.132-0400|INFO|sun-appserver9.1|org.apache.jk.common.ChannelSocket|_ThreadID=10;_ThreadName=main;|JK:
> ajp13 listening on /0.0.0.0:8009|#]
> [#|2007-04-19T16:45:
> 15.758-0400|WARNING|sun-appserver9.1|org.apache.jk.core.MsgContext|_ThreadID=27;_ThreadName=TP-Processor2;_RequestID=9500d515-7a36-44a3-a87f-4c43c966d2c6;|Unable
> to send headers
> java.io.IOException: Buffer overflow, no sink -1 32
This regression was fixed in b43, see
https://glassfish.dev.java.net/issues/show_bug.cgi?id=2780
Can you please use this build?
Jan
> at
> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:401)
> at
> org.apache.tomcat.util.buf.C2BConverter.flushBuffer(C2BConverter.java:224)
> at org.apache.tomcat.util.buf.C2BConverter.convert
> (C2BConverter.java:215)
> at
> org.apache.jk.common.JkInputStream.appendHead(JkInputStream.java:289)
> at org.apache.jk.core.MsgContext.action(MsgContext.java:267)
> at org.apache.coyote.Response.action (Response.java:208)
> at org.apache.coyote.Response.sendHeaders(Response.java:403)
> at
> org.apache.coyote.tomcat5.OutputBuffer.doFlush(OutputBuffer.java:340)
> at org.apache.coyote.tomcat5.OutputBuffer.close
> (OutputBuffer.java:307)
> at
> org.apache.coyote.tomcat5.CoyoteResponse.finishResponse(CoyoteResponse.java:564)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.afterService(CoyoteAdapter.java:301)
> at
> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:284)
> at
> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
> at
> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java :283)
> at
> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
> at
> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
> at org.apache.jk.common.ChannelSocket$SocketConnection.runIt
> (ChannelSocket.java:895)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:653)
> at java.lang.Thread.run(Thread.java:595)
> |#]
> [#|2007-04-19T16:45:15.760-0400|WARNING|sun-appserver9.1|org.apache.jk.common.ChannelSocket|_ThreadID=27
> ;_ThreadName=TP-Processor2;_RequestID=9500d515-7a36-44a3-a87f-4c43c966d2c6;|processCallbacks
> status 2|#]
>
> Could some one help?
> thanks,
> Daniel Cavalcanti