You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Fernando Mercês <na...@gmail.com> on 2011/04/25 22:51:23 UTC

CPing/CPong issue ever with mod_jk 1.2.31

Hello.

I'm having the error reported on ticket 49413 [1] but I'm using the
newest mod_jk version. I also confirmed the patch explained in ticket
by looking at source code. I'm using JBoss 4.2.3 AS with Tomcat 5.5.

These lines are from mod_jk.log file. Can anyone help me on how to
interpret these entry fields? Particularly the second field between
brackets and the fifth field between parenthesis. I would like to know
what is this.

The last line is the same error from bug report, but logged as
warning. I'm having many busy threads on AS side and I think it's
linked.

[Mon Apr 18 09:02:33.223 2011] [380:34] [error]
ajp_connect_to_endpoint::jk_ajp_common.c (985): (inter02-cadun-i3)
cping/cpong after connecting to the backend server failed (errno=145)
[Mon Apr 18 09:02:33.223 2011] [380:34] [error]
ajp_send_request::jk_ajp_common.c (1578): (inter02-cadun-i3)
connecting to backend failed. Tomcat is probably not started or is
listening on the wrong port (errno=145)
[Mon Apr 18 09:02:33.433 2011] [284:27] [error]
ajp_connect_to_endpoint::jk_ajp_common.c (985): (inter02-cadun-i3)
cping/cpong after connecting to the backend server failed (errno=145)
[Sat Apr 16 16:03:57.616 2011] [11872:39] [warn]
ajp_handle_cping_cpong::jk_ajp_common.c (906): awaited reply cpong,
received 3 instead. Closing connection

Thanks.

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=49413

Att,

@Fernando Mercês
Linux Registered User #432779
www.mentebinaria.com.br
------------------------------------
Participe do I Hack'n Rio
------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: CPing/CPong issue ever with mod_jk 1.2.31

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fernando,

On 4/25/2011 4:51 PM, Fernando Mercês wrote:
> These lines are from mod_jk.log file. Can anyone help me on how to
> interpret these entry fields? Particularly the second field between
> brackets and the fifth field between parenthesis. I would like to know
> what is this.
>
> [Mon Apr 18 09:02:33.223 2011] [380:34] [error]
> ajp_connect_to_endpoint::jk_ajp_common.c (985): (inter02-cadun-i3)
> cping/cpong after connecting to the backend server failed (errno=145)


[380:34] is [pid:tid] of the process and thread.

"ajp_connect_to_endpoint::jk_ajp_common.c (985)" is the file and line
number on which the error occurred. So, if you look at jk_ajp_common.c
on line 985, you'll find that it's in the ajp_connect_to_endpoint function:

        if (rc == JK_FALSE)
            jk_log(l, JK_LOG_ERROR,    // Line 985
                   "(%s) cping/cpong after connecting to the backend
server failed (errno=%d)",
                   ae->worker->name, ae->last_errno);


All of this is in the code: you only have to look at two source files to
discover what I have posted.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk25hjoACgkQ9CaO5/Lv0PAa1gCgqa0hbG0N+zrrPfcB+iJ0VWbQ
r+YAn2uW3ALK3yNM61uZG2GPLf+QRn+d
=ywky
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org