tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shahed Ali" <>
Subject mod_jk not returning !!!
Date Thu, 22 Feb 2001 16:49:29 GMT

I have a major problem with mod_jk.

Apache sends request to mod_jk, but mod_jk just does not return.
I am using ajp12 protocol and Tomcat 3.2.1 JDK 1.3 solaris 8 intel and
apache 1.3.14

This behaviour came up only after a few hours.

If I look at mod_jk.log, I get the log as below.

However, I have another app running on another apache virtual host
using the same config, and that works fine !!!!

The only difference between the 2 apps is that the one that does not work,
uses a worker thread that is shared between 2 tomcat contexts.
The other app that works fine uses a dedicated worker thread ajp12b.
<virtual host A>
JkMount /*.jsp ajp12a
</virtual host>

<virtual host B>
JkMount /*.jsp ajp12a
</virtual host>

I also have a small patch appiled to mod_jk that makes it use the SetHandler
directive rather than sending all request to mod_jk and letting it figure
what it needs.


[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (406)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
ch ajp12a
[jk_worker.c (123)]: Into wc_get_worker_for_name ajp12a
[jk_worker.c (127)]: wc_get_worker_for_name, done  found a worker
[jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint
[jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service
[jk_connect.c (108)]: Into jk_open_socket
[jk_connect.c (115)]: jk_open_socket, try to connect socket = 9
[jk_connect.c (124)]: jk_open_socket, after connect ret = 0
[jk_connect.c (132)]: jk_open_socket, set TCP_NODELAY to on
[jk_connect.c (140)]: jk_open_socket, return, sd = 9
[jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = 9
[jk_ajp12_worker.c (357)]: Into ajpv12_handle_request
[jk_ajp12_worker.c (361)]: ajpv12_handle_request, sending the ajp12 start
[jk_ajp12_worker.c (413)]: ajpv12_handle_request, sending the headers
[jk_ajp12_worker.c (432)]: ajpv12_handle_request, sending the terminating
[jk_ajp12_worker.c (472)]: ajpv12_handle_request done
[jk_ajp12_worker.c (148)]: In jk_endpoint_t::service, sent request
[jk_ajp12_worker.c (488)]: Into ajpv12_handle_response

View raw message