|
Home > Archive > Apache Server configuration support > August 2004 > Broken JK2 Link between Apache and Tomcat
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Broken JK2 Link between Apache and Tomcat
|
|
| suresh 2004-08-24, 7:15 pm |
| Hi,
We were having a problem with our firewall, where it drops connection
(even active ones) between apache and tomcat after an hour. So, we
thought we would force the connection to close by 20 secs with the
following statement in tomcat server.xml:
<Connector port="8009" protocol="AJP/1.3"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
connectionTimeout="20000" />
Now, tomcat drops the connection fine, but the apache doesn't seem to
realize that the connection is dropped by tomcat, so it logs errors as
following:
[Tue Aug 24 16:32:21 2004] [error] channelApr.receive(): Error
receiving message body -1 0
[Tue Aug 24 16:32:21 2004] [error] workerEnv.processCallbacks() Error
reading reply
[Tue Aug 24 16:32:21 2004] [error] ajp13.service() ajpGetReply
recoverable error 120000
[Tue Aug 24 16:32:21 2004] [error] channelApr.receive(): Error
receiving message body -1 0
[Tue Aug 24 16:32:21 2004] [error] workerEnv.processCallbacks() Error
reading reply
[Tue Aug 24 16:32:21 2004] [error] ajp13.service() ajpGetReply
recoverable error 120000
My question is, what would be the best approach to resolve this
problem or Are there better alternatives to deal with this firewall
rule?.
Also, whenever tomcat drops connection it logs some info messages as
follows, does anybody know how to disable them?
Aug 24, 2004 4:32:41 PM org.apache.jk.common.ChannelSocket
processConnection
INFO: connection timeout reached
Aug 24, 2004 4:32:41 PM org.apache.jk.common.ChannelSocket
processConnection
INFO: connection timeout reached
Thanks for your help in advance
Suresh.
| |
| Davide Bianchi 2004-08-25, 4:34 am |
| On 2004-08-24, suresh <paritalas@yahoo.com> wrote:
> We were having a problem with our firewall, where it drops connection
> (even active ones) between apache and tomcat after an hour. So, we
> thought we would force the connection to close by 20 secs with the
> following statement in tomcat server.xml:
If the problem is in the firewall, ins't better to fix that instead
of breaking something that is working?
Davide
--
Hark, the Herald Tribune sings,
Advertising wondrous things.
-- Tom Lehrer
| |
| suresh 2004-08-27, 6:35 pm |
| Davide Bianchi <davideyeahsure@onlyforfun.net> wrote in message news:<slrncio7ov.1ik.davideyeahsure@fogg.onlyforfun.net>...
> On 2004-08-24, suresh <paritalas@yahoo.com> wrote:
>
> If the problem is in the firewall, ins't better to fix that instead
> of breaking something that is working?
>
> Davide
Thanks for your reply. well, our company network guys would not allow
us to change the firewall settings, that's why we are searching for
other ways. BTW, we are using Tomcat 5.0.25 and JBOSS 3.2.3
|
|
|
|
|