mod_jk, apache, tomcat, tamino

Hello,

I’ve got the problem, that apache opens some process that it never closes (if you lock at the server-status they keep the status ‘W’).

After debugging the process, Servline24 told me that there’s a problem with mod_jk.
We installed a newer version of mod_jk (1.2.5), but nothing has changed.

The problem first occured when we installed the new version of the web application. This application uses a newer API (10.06.2003). And first, before we had raised the number of process between tomcat and apache, it wasn’t the apache, it was the tomcat that had problems.

As anybody an idea how I can find out what the problem is and how to resolve it? Might there be a problem within my application?

We are using Tamino3.1.1.7 (AIX), Apache 1.3.19, Tomcat 3.? and mod_jk 1.2.5.
-----------------------
some stacktraces:

Waiting to attach to process 500888 …
Successfully attached to httpd.
Type ‘help’ for help.
reading symbolic information …
stopped in unnamed block $b103 at line 280 in file “” ($t1)
unnamed block $b103, line 280 in “jk_connect.c”
jk_tcp_socket_recvfull(sd = 537277208, b = (nil), len = 804384384), line 280 in “jk_connect.c”
ajp_connection_tcp_get_message(??, ??, ??), line 678 in “jk_ajp_common.c”
unnamed block $b4, line 1049 in “jk_ajp_common.c”
ajp_get_reply(??, ??, ??, ??, ??), line 1049 in “jk_ajp_common.c”
ajp_service(??, ??, ??, ??), line 1174 in “jk_ajp_common.c”
unnamed block $b136, line 1561 in “mod_jk.c”
unnamed block $b135, line 1561 in “mod_jk.c”
unnamed block $b134, line 1561 in “mod_jk.c”
unnamed block $b133, line 1561 in “mod_jk.c”
jk_handler(??), line 1561 in “mod_jk.c”
ap_invoke_handler() at 0x1001fe08
process_request_internal() at 0x10043ac4
ap_internal_redirect() at 0x10044e24
mod_gzip_redir1_handler(0x20063350, 0x20157af8) at 0xd296af98
mod_gzip_handler(0x20063350) at 0xd2968a9c
ap_invoke_handler() at 0x1001fe08
process_request_internal() at 0x10043ac4
ap_process_request() at 0x10044c28
child_main() at 0x10001d14
make_child() at 0x10001740
perform_idle_server_maintenance() at 0x1000143c
standalone_main() at 0x10000dcc
main() at 0x100006dc
----------------------------
Type ‘help’ for help.
reading symbolic information …
stopped in read.read [/usr/lib/libc.a] at 0xd0185720 ($t1)
0xd0185720 (read+0x154) 80410014 lwz r2,0x14(r1)
(dbx) where
read.read(??, ??, ??) at 0xd0185720
ap_read() at 0x10025598
saferead_guts() at 0x100251b8
read_with_errors() at 0x10025100
ap_bread() at 0x10026404
ap_get_client_block() at 0x1003e824
cb_read() at 0xd293a13c
ino_ws_srv_drv() at 0xd29384e8
ino_handler() at 0xd2939af0
ap_invoke_handler() at 0x1001fe08
process_request_internal() at 0x10043ac4
ap_process_request() at 0x10044c28
child_main() at 0x10001d14
make_child() at 0x10001740
perform_idle_server_maintenance() at 0x1000143c
standalone_main() at 0x10000dcc
main() at 0x100006dc
----------------------------
read.read(??, ??, ??) at 0xd0185720
ap_read() at 0x10025598
saferead_guts() at 0x100251b8
read_with_errors() at 0x10025100
ap_bread() at 0x10026404
ap_get_client_block() at 0x1003e824
cb_read() at 0xd293a13c
ino_ws_srv_drv() at 0xd29384e8
ino_handler() at 0xd2939af0
ap_invoke_handler() at 0x1001fe08
process_request_internal() at 0x10043ac4
ap_process_request() at 0x10044c28
child_main() at 0x10001d14
make_child() at 0x10001740
perform_idle_server_maintenance() at 0x1000143c
standalone_main() at 0x10000dcc
main() at 0x100006dc

After replacing
- TaminoAPI4J.jar (10.06.2003)
- xercesImpl.jar (11.11.2002)
- xmlParserAPIs.jar (11.11.2002)
by
- TaminoAPI4J.jar (10.06.2003)
- DomApiClient3.jar (20.08.2001)
it worked again