Re: Problem with connection beetwen Tomcat and Apache via mod_jk?

2006-10-24 Thread Paweł Skrzypek
Hi Chris,
I'm setting up Tomcats on Unix (FreeBSD), I have no experience with
Windows, so I can't help, but in theory it should require to change
Tomcats ports (listener and others).
Regards,
Paweł
 Hi Pawel,

 I'm afraid I can't help you with your specific problem but have a
 question of my own.  Are you setting up your multiple Tomcats on UNIX or
 Windows?  If you're setting up on windows, could you tell me how you
 went about this?  I've been struggling with it for a while now and I
 have no previous experience setting this kind of thing up.  Thanks.

 Chris.




 Paweł Skrzypek wrote:

Hi,
I'm using Apache and Tomcat connected via apjv13 protocol using mod_jk. I
have one instance of Apache installed on server 1 and several instances
 of
Tomcat installed on other servers with load balancing between them.
Sometimes users of our application getting blank page in theirs web
browsers, refershing usually hepls to get proper page. In mod_jk log I
found lines as below, but I'm not sure that this is associated.
I'm using mod_jk 1.2.15. Could anybody help me, what could be a problem?
Please send answer to me also directly.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f0043 6C 69
63 6B 3D 64 6F 63 75 6D 65 6E 74 2E 6C  - Click=document.l
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f106F 63 61
74 69 6F 6E 3D 22 64 6F 73 74 65 70 6E  - ocation=dostepn
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f2065 5F 70
72 6F 6D 6F 63 6A 65 2E 6A 73 70 22 3E  - e_promocje.jsp
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f3026 6E 62
73 70 3B 26 6E 62 73 70 3B 3C 69 6E 70  -   inp
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f4075 74 20
74 79 70 65 3D 22 62 75 74 74 6F 6E 22  - ut.type=button
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f5020 76 61
6C 75 65 3D 22 41 6E 75 6C 75 6A 22 20  - .value=Anuluj.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f606F 6E 43
6C 69 63 6B 3D 64 6F 63 75 6D 65 6E 74  - onClick=document
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f702E 6C 6F
63 61 74 69 6F 6E 3D 22 6D 61 69 6E 2E  - .location=main.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f806A 73 70
22 3E 26 6E 62 73 70 3B 26 6E 62 73 70  - jsp
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f903B 3C 69
6E 70 75 74 20 74 79 70 65 3D 22 73 75  - ;input.type=su
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fa062 6D 69
74 22 20 76 61 6C 75 65 3D 22 44 61 6C  - bmit.value=Dal
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fb065 6A 22
3E 26 6E 62 73 70 3B 26 6E 62 73 70 3B  - ej
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fc00D 0A 09
09 09 3C 2F 74 64 3E 0D 0A 09 09 3C 2F  - ./td/
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fd074 72 3E
0D 0A 09 09 3C 74 72 3E 0D 0A 09 09 09  - trtr.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fe03C 74 64
20 63 6F 6C 73 70 61 6E 3D 22 35 22 20  - td.colspan=5.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1ff062 67 63
6F 6C 6F 72 3D 23 36 30 00 00 00 00 00  - bgcolor=#60.
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_connection_tcp_get_message::jk_ajp_common.c (1043): exit
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_process_callback::jk_ajp_common.c (1362): enter
[Mon Oct 23 17:17:30 2006] [41665:] [debug] ws_write::mod_jk.c (412):
written -1 out of 8184
[Mon Oct 23 17:17:30 2006] [41665:] [info]
ajp_process_callback::jk_ajp_common.c (1384): Connection aborted or
network problems
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_process_callback::jk_ajp_common.c (1386): exit
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_get_reply::jk_ajp_common.c (1602): exit
[Mon Oct 23 17:17:30 2006] [41665:] [info]
ajp_service::jk_ajp_common.c (1731): Receiving from tomcat failed,
 because
of client error without recovery in send loop 0
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_service::jk_ajp_common.c (1735): exit
[Mon Oct 23 17:17:30 2006] [41665:] [trace] ajp_done::jk_ajp_common.c
(2044): enter
[Mon Oct 23 17:17:30 2006] [41665:] [debug] ajp_done

Problem with connection beetwen Tomcat and Apache via mod_jk?

2006-10-24 Thread Paweł Skrzypek
Hi,
I'm using Apache and Tomcat connected via apjv13 protocol using mod_jk. I
have one instance of Apache installed on server 1 and several instances of
Tomcat installed on other servers with load balancing between them.
Sometimes users of our application getting blank page in theirs web
browsers, refershing usually hepls to get proper page. In mod_jk log I
found lines as below, but I'm not sure that this is associated.
I'm using mod_jk 1.2.15. Could anybody help me, what could be a problem?
Please send answer to me also directly.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f0043 6C 69
63 6B 3D 64 6F 63 75 6D 65 6E 74 2E 6C  - Click=document.l
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f106F 63 61
74 69 6F 6E 3D 22 64 6F 73 74 65 70 6E  - ocation=dostepn
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f2065 5F 70
72 6F 6D 6F 63 6A 65 2E 6A 73 70 22 3E  - e_promocje.jsp
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f3026 6E 62
73 70 3B 26 6E 62 73 70 3B 3C 69 6E 70  - nbsp;nbsp;inp
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f4075 74 20
74 79 70 65 3D 22 62 75 74 74 6F 6E 22  - ut.type=button
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f5020 76 61
6C 75 65 3D 22 41 6E 75 6C 75 6A 22 20  - .value=Anuluj.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f606F 6E 43
6C 69 63 6B 3D 64 6F 63 75 6D 65 6E 74  - onClick=document
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f702E 6C 6F
63 61 74 69 6F 6E 3D 22 6D 61 69 6E 2E  - .location=main.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f806A 73 70
22 3E 26 6E 62 73 70 3B 26 6E 62 73 70  - jspnbsp;nbsp
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f903B 3C 69
6E 70 75 74 20 74 79 70 65 3D 22 73 75  - ;input.type=su
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fa062 6D 69
74 22 20 76 61 6C 75 65 3D 22 44 61 6C  - bmit.value=Dal
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fb065 6A 22
3E 26 6E 62 73 70 3B 26 6E 62 73 70 3B  - ejnbsp;nbsp;
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fc00D 0A 09
09 09 3C 2F 74 64 3E 0D 0A 09 09 3C 2F  - ./td/
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fd074 72 3E
0D 0A 09 09 3C 74 72 3E 0D 0A 09 09 09  - trtr.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fe03C 74 64
20 63 6F 6C 73 70 61 6E 3D 22 35 22 20  - td.colspan=5.
[Mon Oct 23 17:17:30 2006] [41665:] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1ff062 67 63
6F 6C 6F 72 3D 23 36 30 00 00 00 00 00  - bgcolor=#60.
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_connection_tcp_get_message::jk_ajp_common.c (1043): exit
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_process_callback::jk_ajp_common.c (1362): enter
[Mon Oct 23 17:17:30 2006] [41665:] [debug] ws_write::mod_jk.c (412):
written -1 out of 8184
[Mon Oct 23 17:17:30 2006] [41665:] [info]
ajp_process_callback::jk_ajp_common.c (1384): Connection aborted or
network problems
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_process_callback::jk_ajp_common.c (1386): exit
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_get_reply::jk_ajp_common.c (1602): exit
[Mon Oct 23 17:17:30 2006] [41665:] [info]
ajp_service::jk_ajp_common.c (1731): Receiving from tomcat failed, because
of client error without recovery in send loop 0
[Mon Oct 23 17:17:30 2006] [41665:] [trace]
ajp_service::jk_ajp_common.c (1735): exit
[Mon Oct 23 17:17:30 2006] [41665:] [trace] ajp_done::jk_ajp_common.c
(2044): enter
[Mon Oct 23 17:17:30 2006] [41665:] [debug] ajp_done::jk_ajp_common.c
(2074): recycling connection cache slot=0 for worker tc02cm03
[Mon Oct 23 17:17:30 2006] [41665:] [trace] ajp_done::jk_ajp_common.c
(2077): exit
[Mon Oct 23 17:17:30 2006] [41665:] [info]  service::jk_lb_worker.c
(711): unrecoverable error 400, request failed. Client failed in the
middle of request, we can't recover to another instance.
[Mon Oct 23 17:17:30 2006] [41665:] [trace] service::jk_lb_worker.c
(716): exit
[Mon Oct 23 17:17:30 2006] [41665:] [trace] done::jk_lb_worker.c
(764): enter
[Mon Oct 23 17:17:30 2006] [41665:] [trace]