tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paweł Skrzypek" <pawel.skrzy...@decerto.pl>
Subject Re: Problem with connection beetwen Tomcat and Apache via mod_jk?
Date Tue, 24 Oct 2006 10:53:33 GMT
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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f00    43 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f10    6F 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f20    65 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f30    26 6E 62
>>73 70 3B 26 6E 62 73 70 3B 3C 69 6E 70  -   <inp
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f40    75 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f50    20 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f60    6F 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f70    2E 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f80    6A 73 70
>>22 3E 26 6E 62 73 70 3B 26 6E 62 73 70  - jsp">
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1f90    3B 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fa0    62 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fb0    65 6A 22
>>3E 26 6E 62 73 70 3B 26 6E 62 73 70 3B  - ej">
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fc0    0D 0A 09
>>09 09 3C 2F 74 64 3E 0D 0A 09 09 3C 2F  - .....</td>....</
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fd0    74 72 3E
>>0D 0A 09 09 3C 74 72 3E 0D 0A 09 09 09  - tr>....<tr>.....
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1fe0    3C 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:0000] [debug]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1037): 1ff0    62 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:0000] [trace]
>>ajp_connection_tcp_get_message::jk_ajp_common.c (1043): exit
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace]
>>ajp_process_callback::jk_ajp_common.c (1362): enter
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [debug] ws_write::mod_jk.c (412):
>>written -1 out of 8184
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [info]
>>ajp_process_callback::jk_ajp_common.c (1384): Connection aborted or
>>network problems
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace]
>>ajp_process_callback::jk_ajp_common.c (1386): exit
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace]
>>ajp_get_reply::jk_ajp_common.c (1602): exit
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [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:0000] [trace]
>>ajp_service::jk_ajp_common.c (1735): exit
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace] ajp_done::jk_ajp_common.c
>>(2044): enter
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [debug] ajp_done::jk_ajp_common.c
>>(2074): recycling connection cache slot=0 for worker tc02cm03
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace] ajp_done::jk_ajp_common.c
>>(2077): exit
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [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:0000] [trace] service::jk_lb_worker.c
>>(716): exit
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace] done::jk_lb_worker.c
>>(764): enter
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace] done::jk_lb_worker.c
>>(775): exit
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [info]  jk_handler::mod_jk.c
>>(1978): Aborting connection for worker=tomcio01
>>[Mon Oct 23 17:17:30 2006] [41665:0000] [trace] jk_handler::mod_jk.c
>>(1981): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>map_uri_to_worker::jk_uri_worker_map.c (422): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>map_uri_to_worker::jk_uri_worker_map.c (449): Attempting to map URI
>>'/java/scripts.js' from 3 maps
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context
>>URI '/server-jk/*'
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context
>>URI '/server-jk'
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>map_uri_to_worker::jk_uri_worker_map.c (461): Attempting to map context
>>URI '/java/*'
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>map_uri_to_worker::jk_uri_worker_map.c (475): Found a wildchar match
>>tomcio01 -> /java/*
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>map_uri_to_worker::jk_uri_worker_map.c (478): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace] jk_handler::mod_jk.c
>>(1785): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug] jk_handler::mod_jk.c
>>(1839): Into handler jakarta-servlet worker=tomcio01 r->proxyreq=0
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>wc_get_worker_for_name::jk_worker.c (101): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>wc_get_worker_for_name::jk_worker.c (111): found a worker tomcio01
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>wc_get_worker_for_name::jk_worker.c (113): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace] wc_maintain::jk_worker.c
>>(287): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace] wc_maintain::jk_worker.c
>>(312): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug] init_ws_service::mod_jk.c
>>(531): Service protocol=HTTP/1.1 method=GET host=(null)
>>addrr=213.158.197.33 name=www.polsat.net.pl port=443 auth=(null)
>>user=(null) laddr=192.168.80.242 raddr=213.158.197.33
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>get_endpoint::jk_lb_worker.c (922): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>get_endpoint::jk_lb_worker.c (933): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace] service::jk_lb_worker.c
>>(576): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug] service::jk_lb_worker.c
>>(592): service sticky_session=1
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>get_most_suitable_worker::jk_lb_worker.c (478): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>get_most_suitable_worker::jk_lb_worker.c (514): total sessionid is
>>C305B0848788FC5500CC3706293CE870.tc03cm02
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>get_most_suitable_worker::jk_lb_worker.c (524): searching worker for
>>partial sessionid C305B0848788FC5500CC3706293CE870.tc03cm02
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>get_most_suitable_worker::jk_lb_worker.c (532): searching worker for
>>session route tc03cm02
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>get_most_suitable_worker::jk_lb_worker.c (541): found worker tc03cm02 for
>>route tc03cm02 and partial sessionid
>>C305B0848788FC5500CC3706293CE870.tc03cm02
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>get_most_suitable_worker::jk_lb_worker.c (544): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>get_endpoint::jk_ajp13_worker.c (72): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>ajp_get_endpoint::jk_ajp_common.c (2104): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>ajp_get_endpoint::jk_ajp_common.c (2131): acquired connection cache
>> slot=0
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>ajp_get_endpoint::jk_ajp_common.c (2134): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>get_endpoint::jk_ajp13_worker.c (74): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug] service::jk_lb_worker.c
>>(612): service worker=tc03cm02 jvm_route=tc03cm02
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>ajp_service::jk_ajp_common.c (1630): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>ajp_marshal_into_msgb::jk_ajp_common.c (386): enter
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>ajp_marshal_into_msgb::jk_ajp_common.c (566): ajp marshaling done
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [trace]
>>ajp_marshal_into_msgb::jk_ajp_common.c (567): exit
>>[Mon Oct 23 17:17:30 2006] [41666:0000] [debug]
>>ajp_service::jk_ajp_common.c (1670): processing with 2 retries
>>[Mon Oct 23 17:17:30 2006] [41666
>>
>>
>>
>>---------------------------------------------------------------------
>>To start a new topic, e-mail: users@tomcat.apache.org
>>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


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


Mime
View raw message