You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rick Bullotta <ri...@lighthammer.com> on 2003/03/03 19:19:49 UTC
RE: IIS, JK, Tomcat POST always fails, JK2 never works at all...
Here's more info on the Tomcat/redirector bug we're trying to track
down. Also, you suggested trying JK2. When attempting JK2 with IIS and
Tomcat 4.1, a "shm.init() : no file" error is always generated in the
Windows Event Log. It never seems to initialize properly. If ANYONE
has a working configuration of JK2/IIS/Tomcat 4.X (with or without JNI),
I'd love to get a copy of your jk2.properties, workers2.properties, and
windows registry entries that work...
Many thanks!
- Rick
stdout.log content:
=====================12 34 01 2a 02 04 00 08 48 54 54 50 2f 31 2e 31 |
.4.*....HTTP/1.1 00 00 14 2f 73 65 72 76 6c 65 74 2f 49 6c 6c 75 |
.../servlet/Illu 6d 69 6e 61 74 6f 72 00 00 09 31 32 37 2e 30 2e |
minator...127.0. 30 2e 31 00 00 09 31 32 37 2e 30 2e 30 2e 31 00 |
0.1...127.0.0.1. 00 09 6c 6f 63 61 6c 68 6f 73 74 00 00 50 00 00 |
..localhost..P.. 08 a0 01 00 34 74 65 78 74 2f 68 74 6d 6c 2c 20 |
.?..4text/html,
69 6d 61 67 65 2f 67 69 66 2c 20 69 6d 61 67 65 | image/gif, image 2f
6a 70 65 67 2c 20 2a 3b 20 71 3d 2e 32 2c 20 | /jpeg, *; q=.2,
2a 2f 2a 3b 20 71 3d 2e 32 00 a0 04 00 02 65 6e | */*; q=.2.?...en 00
a0 06 00 0a 4b 65 65 70 2d 41 6c 69 76 65 00 | .?...Keep-Alive. a0 0b
00 09 6c 6f 63 61 6c 68 6f 73 74 00 a0 0e | ?...localhost.?. 00 29 4d
6f 7a 69 6c 6c 61 2f 34 2e 30 20 28 63 | .)Mozilla/4.0 (c 6f 6d 70 61
74 69 62 6c 65 3b 20 4d 53 49 45 20 | ompatible; MSIE
36 2e 30 3b 20 57 69 6e 33 32 29 00 a0 08 00 03 | 6.0; Win32).?... 31
30 32 00 a0 07 00 21 61 70 70 6c 69 63 61 74 | 102.?..!applicat 69 6f
6e 2f 78 2d 77 77 77 2d 66 6f 72 6d 2d 75 | ion/x-www-form-u 72 6c 65
6e 63 6f 64 65 64 00 00 0d 63 61 63 68 | rlencoded...cach 65 2d 63 6f
6e 74 72 6f 6c 00 00 08 6e 6f 2d 63 | e-control...no-c
61 63 68 65 00 03 00 00 00 04 00 00 00 ff | ache.........?
=====================
Iis_redirect.log content:
=====================
[Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/localhost/servlet/Illuminator [Sun Mar 02 22:29:10 2003]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (477)]: Attempting to
map URI '/localhost/servlet/Illuminator' [Sun Mar 02 22:29:10 2003]
[jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker,
done without a match [Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c
(765)]: In HttpFilterProc test Default redirection of
/servlet/Illuminator [Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c
(460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Sun Mar 02 22:29:10 2003] [jk_uri_worker_map.c (477)]: Attempting to
map URI '/servlet/Illuminator' [Sun Mar 02 22:29:10 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker,
Found a context match ajp13 -> /servlet/ [Sun Mar 02 22:29:10 2003]
[jk_isapi_plugin.c (775)]: HttpFilterProc [/servlet/Illuminator] is a
servlet url - should redirect to ajp13 [Sun Mar 02 22:29:10 2003]
[jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/servlet/Illuminator] is points to the web-inf directory [Sun Mar 02
22:29:10 2003] [jk_isapi_plugin.c (878)]: HttpExtensionProc started
[Sun Mar 02 22:29:10 2003] [jk_worker.c (132)]: Into
wc_get_worker_for_name ajp13 [Sun Mar 02 22:29:10 2003] [jk_worker.c
(136)]: wc_get_worker_for_name, done found a worker [Sun Mar 02
22:29:10 2003] [jk_isapi_plugin.c (913)]: HttpExtensionProc got a
worker for name ajp13 [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c
(1391)]: Into jk_worker_t::get_endpoint [Sun Mar 02 22:29:10 2003]
[jk_ajp_common.c (1435)]: In jk_endpoint_t::ajp_get_endpoint, time
elapsed since last request = 27 seconds [Sun Mar 02 22:29:10 2003]
[jk_ajp_common.c (1107)]: Into jk_endpoint_t::service [Sun Mar 02
22:29:10 2003] [jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb [Sun
Mar 02 22:29:10 2003] [jk_ajp_common.c (432)]: ajp_marshal_into_msgb -
Done [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (640)]: sending to
ajp13 #530 [Sun Mar 02 22:29:10 2003] [jk_ajp_common.c (882)]:
ajp_send_request 2: request body to send 59 - request body to resend 0
[Sun Mar 02 22:29:10 2003] [jk_isapi_plugin.c (514)]: Into
jk_ws_service_t::read
=====================
With Tomcat 4.1.18 and the latest JK IIS redirector (on
> > Windows XP Pro), HTTP POST requests to a servlet fail with
> > what appears to be a socket timeout error. HTTP GET's work
> > perfectly. The identical code runs perfectly (POST or GET)
> > when using Apache 2.0.43 with JK.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org