tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy ." <java_instruc...@hotmail.com>
Subject IIS with Tomcat
Date Tue, 25 Nov 2003 18:11:29 GMT
You guys are going to like that: I've set up IIS 6.0 that I have at home 
with tomcat 4.1.29 then using the same settings, same config files, same 
isapi dll, did the same thing at work with IIS 5 and tomcat 4.1.29 and it 
doesn't work. I look at the log files and they're similar until one point. 
Take a look:

This is the one with IIS 6.0



[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1018)]: Using registry.
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1020)]: Using log file 
C:\Program Files\Apache Group\Tomcat 4.1\logs\isapi.log.
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1021)]: Using log level 0.
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1022)]: Using extension uri 
/jakarta/isapi_redirect.dll.
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1023)]: Using worker file 
C:\Program Files\Apache Group\Tomcat 4.1\conf\workers.properties.
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1024)]: Using worker mount 
file C:\Program Files\Apache Group\Tomcat 4.1\conf\uriworkermap.properties.
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (1041)]: Ignoring worker 
mount file entry default.worker=worker2.
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (172)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (375)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (396)]: 
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 6
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /examples=worker2 was 
added
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /examples/=worker2 was 
added
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=worker2 was 
added
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=worker2 was 
added
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /servlet=worker2 was 
added
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /servlet/=worker2 was 
added
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (408)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, there are 6 rules
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (422)]: 
jk_uri_worker_map_t::uri_worker_map_open, done
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (88)]: Into wc_open
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (222)]: Into build_worker_map, 
creating 1 workers
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (228)]: build_worker_map, creating 
worker worker2
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (148)]: Into wc_create_worker
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (162)]: wc_create_worker, about to 
create instance worker2 of ajp13
[Mon Nov 24 21:20:07 2003]  [jk_ajp13_worker.c (108)]: Into 
ajp13_worker_factory
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (171)]: wc_create_worker, about to 
validate and init worker2
[Mon Nov 24 21:20:07 2003]  [jk_ajp_common.c (1343)]: Into 
jk_worker_t::validate
[Mon Nov 24 21:20:07 2003]  [jk_ajp_common.c (1364)]: In 
jk_worker_t::validate for worker worker2 contact is 127.0.0.1:8009
[Mon Nov 24 21:20:07 2003]  [jk_ajp_common.c (1397)]: Into jk_worker_t::init
[Mon Nov 24 21:20:07 2003]  [jk_ajp_common.c (1421)]: In jk_worker_t::init, 
setting socket timeout to 0
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (187)]: wc_create_worker, done
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (238)]: build_worker_map, removing 
old worker2 worker
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (250)]: build_worker_map, done
[Mon Nov 24 21:20:07 2003]  [jk_worker.c (111)]: wc_open, done 1
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc 
started
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc 
Virtual Host redirection of /localhost/examples/
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/localhost/examples/'
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc 
test Default redirection of /examples/
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/examples/'
[Mon Nov 24 21:20:07 2003]  [jk_uri_worker_map.c (491)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match worker2 -> 
/examples/
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc 
[/examples/] is a servlet url - should redirect to worker2
[Mon Nov 24 21:20:07 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check 
if [/examples/] is points to the web-inf directory
[Mon Nov 24 21:20:08 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc 
started
[Mon Nov 24 21:20:08 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name 
worker2
[Mon Nov 24 21:20:08 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, 
done  found a worker
[Mon Nov 24 21:20:08 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc got 
a worker for name worker2
[Mon Nov 24 21:20:08 2003]  [jk_ajp_common.c (1546)]: Into 
jk_worker_t::get_endpoint
[Mon Nov 24 21:20:08 2003]  [jk_ajp_common.c (1208)]: Into 
jk_endpoint_t::service
[Mon Nov 24 21:20:08 2003]  [jk_ajp_common.c (295)]: Into 
ajp_marshal_into_msgb
[Mon Nov 24 21:20:08 2003]  [jk_ajp_common.c (463)]: ajp_marshal_into_msgb - 
Done
[Mon Nov 24 21:20:08 2003]  [jk_connect.c (158)]: Into jk_open_socket
[Mon Nov 24 21:20:08 2003]  [jk_connect.c (165)]: jk_open_socket, try to 
connect socket = 2172
[Mon Nov 24 21:20:08 2003]  [jk_connect.c (174)]: jk_open_socket, after 
connect ret = 0
[Mon Nov 24 21:20:08 2003]  [jk_connect.c (183)]: jk_open_socket, set 
TCP_NODELAY to on
[Mon Nov 24 21:20:08 2003]  [jk_connect.c (200)]: jk_open_socket, return, sd 
= 2172
[Mon Nov 24 21:20:08 2003]  [jk_ajp_common.c (661)]: In 
jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 2172
[Mon Nov 24 21:20:08 2003]  [jk_ajp_common.c (693)]: sending to ajp13 #386
[Mon Nov 24 21:20:08 2003]  [jk_ajp_common.c (966)]: ajp_send_request 2: 
request body to send 0 - request body to resend 0
[Mon Nov 24 21:20:09 2003]  [jk_ajp_common.c (804)]: received from ajp13 #75
[Mon Nov 24 21:20:09 2003]  [jk_ajp_common.c (515)]: ajp_unmarshal_response: 
status = 200
[Mon Nov 24 21:20:09 2003]  [jk_ajp_common.c (521)]: ajp_unmarshal_response: 
Number of headers is = 2
[Mon Nov 24 21:20:09 2003]  [jk_ajp_common.c (575)]: ajp_unmarshal_response: 
Header[0] [Content-Type] = [text/html;charset=UTF-8]
[Mon Nov 24 21:20:09 2003]  [jk_ajp_common.c (575)]: ajp_unmarshal_response: 
Header[1] [Content-Length] = [1482]
[Mon Nov 24 21:20:09 2003]  [jk_isapi_plugin.c (432)]: Into 
jk_ws_service_t::start_response
[Mon Nov 24 21:20:09 2003]  [jk_ajp_common.c (804)]: received from ajp13 
#1486
[Mon Nov 24 21:20:09 2003]  [jk_isapi_plugin.c (566)]: Into 
jk_ws_service_t::write
[Mon Nov 24 21:20:09 2003]  [jk_ajp_common.c (804)]: received from ajp13 #2
[Mon Nov 24 21:20:09 2003]  [jk_isapi_plugin.c (925)]: HttpExtensionProc 
service() returned OK



And this is with IIS 5:



[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1018)]: Using registry.
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1020)]: Using log file 
C:\Program Files\Apache Group\Tomcat 4.1\logs\isapi.log.
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1021)]: Using log level 0.
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1022)]: Using extension uri 
/jakarta/isapi_redirect.dll.
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1023)]: Using worker file 
C:\Program Files\Apache Group\Tomcat 4.1\conf\workers.properties.
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1024)]: Using worker mount 
file C:\Program Files\Apache Group\Tomcat 4.1\conf\uriworkermap.properties.
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1025)]: Using uri select 0.
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (1041)]: Ignoring worker 
mount file entry default.worker=worker2.
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (172)]: Into 
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (375)]: Into 
jk_uri_worker_map_t::uri_worker_map_open
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (396)]: 
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 6
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /examples=worker2 was 
added
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /examples/=worker2 was 
added
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (321)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/=worker2 was 
added
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (299)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=worker2 was 
added
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /servlet=worker2 was 
added
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (345)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, exact rule /servlet/=worker2 was 
added
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (408)]: Into 
jk_uri_worker_map_t::uri_worker_map_open, there are 6 rules
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (422)]: 
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (88)]: Into wc_open
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (222)]: Into build_worker_map, 
creating 1 workers
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (228)]: build_worker_map, creating 
worker worker2
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (148)]: Into wc_create_worker
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (162)]: wc_create_worker, about to 
create instance worker2 of ajp13
[Tue Nov 25 12:16:35 2003]  [jk_ajp13_worker.c (108)]: Into 
ajp13_worker_factory
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (171)]: wc_create_worker, about to 
validate and init worker2
[Tue Nov 25 12:16:35 2003]  [jk_ajp_common.c (1343)]: Into 
jk_worker_t::validate
[Tue Nov 25 12:16:35 2003]  [jk_ajp_common.c (1364)]: In 
jk_worker_t::validate for worker worker2 contact is 127.0.0.1:8009
[Tue Nov 25 12:16:35 2003]  [jk_ajp_common.c (1397)]: Into jk_worker_t::init
[Tue Nov 25 12:16:35 2003]  [jk_ajp_common.c (1421)]: In jk_worker_t::init, 
setting socket timeout to 0
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (187)]: wc_create_worker, done
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (238)]: build_worker_map, removing 
old worker2 worker
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (250)]: build_worker_map, done
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (111)]: wc_open, done 1
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (655)]: Detected IIS >= 5.0
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc 
started
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc 
Virtual Host redirection of /localhost/examples/
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/localhost/examples/'
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc 
test Default redirection of /examples/
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/examples/'
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (491)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found an exact match worker2 -> 
/examples/
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc 
[/examples/] is a servlet url - should redirect to worker2
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check 
if [/examples/] is points to the web-inf directory
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc 
started
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc 
Virtual Host redirection of /localhost/jakarta/isapi_redirect.dll
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/localhost/jakarta/isapi_redirect.dll'
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc 
test Default redirection of /jakarta/isapi_redirect.dll
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (477)]: Attempting to map 
URI '/jakarta/isapi_redirect.dll'
[Tue Nov 25 12:16:35 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (829)]: HttpFilterProc 
[/jakarta/isapi_redirect.dll] is not a servlet url
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check 
if [/jakarta/isapi_redirect.dll] is points to the web-inf directory
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc 
started
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name 
ajp13
[Tue Nov 25 12:16:35 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, 
done did not found a worker
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc 
could not get a worker for name ajp13
[Tue Nov 25 12:16:35 2003]  [jk_isapi_plugin.c (934)]: HttpExtensionProc 
error, could not get a worker for name ajp13




Notice the main difference in both of them:

Into wc_get_worker_for_name worker2 (with IIS 6)
Into wc_get_worker_for_name ajp13      (with IIS 5)

The name of the worker is really worker2. I have no idea where it's taking 
ajp13... it's a type of this worker. Crazy. Maybe I should apply some latest 
patches to my IIS 5.1??? What do you think?

_________________________________________________________________
Need a shot of Hank Williams or Patsy Cline?  The classic country stars are 
always singing on MSN Radio Plus.  Try one month free!  
http://join.msn.com/?page=offers/premiumradio


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message