Hello Henri, Am Fr, den 06.02.2004 schrieb Henri Gomez um 10:15:
> Strange, also I need a complete mod_jk.log for study. OK, here is the first part of my tests with mod_jk from CVS: Test 1: * run apache/mod_jk with cluster and failover (config included) * tc1 is offline * tc2 is a real tomcat After the apache start the first request (post of login.html, included) is directed to tc1, but it doesn't response. The request is directed to tc2, and EchoFilter.java echos the POST-data to the client. This is OK! Trace: jk.log.onlytc2runs Test 2: * run apache/mod_jk with cluster and failover (config included) * tc1 is a simple netcat (nc -l -p 9010 localhost) * tc2 is a real tomcat After the apache starts the first request (post of login.html, included) is directed to tc1. netcat answers the connection and prints out some garbage on the console. Then you kill netcat (^C). Then mod_jk redirects the request to tc2. ==> here mod_jk "forgets" the POST-data and no data is shown to the client! Trace: jk.log.netcatdiedfailovertotc2 Tomorrow I'll trace the problem when tc1 fails after it has already sent header and data to the client. Alex. -- Alexander Schwartz ([EMAIL PROTECTED]) http://www.ahus1.de
[Mon Feb 09 22:36:01 2004] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Mon Feb 09 22:36:01 2004] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open [Mon Feb 09 22:36:01 2004] [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1 [Mon Feb 09 22:36:01 2004] [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /JOBa1822Web/=lb was added [Mon Feb 09 22:36:01 2004] [jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules [Mon Feb 09 22:36:01 2004] [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done [Mon Feb 09 22:36:01 2004] [jk_worker.c (88)]: Into wc_open [Mon Feb 09 22:36:01 2004] [jk_worker.c (222)]: Into build_worker_map, creating 3 workers [Mon Feb 09 22:36:01 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc1 [Mon Feb 09 22:36:01 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:36:01 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:01 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:01 2004] [jk_worker.c (238)]: build_worker_map, removing old tc1 worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc2 [Mon Feb 09 22:36:01 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:36:01 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:01 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:01 2004] [jk_worker.c (238)]: build_worker_map, removing old tc2 worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (228)]: build_worker_map, creating worker lb [Mon Feb 09 22:36:01 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance lb of lb [Mon Feb 09 22:36:01 2004] [jk_lb_worker.c (587)]: Into lb_worker_factory [Mon Feb 09 22:36:01 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init lb [Mon Feb 09 22:36:01 2004] [jk_lb_worker.c (421)]: Into jk_worker_t::validate [Mon Feb 09 22:36:01 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:36:01 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:01 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:01 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:36:01 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:01 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:01 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:01 2004] [jk_lb_worker.c (499)]: Balanced worker 0 has name tc1 [Mon Feb 09 22:36:01 2004] [jk_lb_worker.c (499)]: Balanced worker 1 has name tc2 [Mon Feb 09 22:36:01 2004] [jk_lb_worker.c (503)]: in_local_worker_mode: false [Mon Feb 09 22:36:01 2004] [jk_lb_worker.c (506)]: local_worker_only: false [Mon Feb 09 22:36:01 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:01 2004] [jk_worker.c (238)]: build_worker_map, removing old lb worker [Mon Feb 09 22:36:01 2004] [jk_worker.c (250)]: build_worker_map, done [Mon Feb 09 22:36:01 2004] [jk_worker.c (111)]: wc_open, done 3 [Mon Feb 09 22:36:02 2004] [jk_worker.c (118)]: Into wc_close [Mon Feb 09 22:36:02 2004] [jk_worker.c (199)]: close_workers got 3 workers to destroy [Mon Feb 09 22:36:02 2004] [jk_worker.c (206)]: close_workers will destroy worker tc1 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:36:02 2004] [jk_worker.c (206)]: close_workers will destroy worker tc2 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:36:02 2004] [jk_worker.c (206)]: close_workers will destroy worker lb [Mon Feb 09 22:36:02 2004] [jk_lb_worker.c (562)]: Into jk_worker_t::destroy [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:36:02 2004] [jk_worker.c (120)]: wc_close, done [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (190)]: Into jk_uri_worker_map_t::uri_worker_map_free [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (441)]: Into jk_uri_worker_map_t::uri_worker_map_close [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1 [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /JOBa1822Web/=lb was added [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules [Mon Feb 09 22:36:02 2004] [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done [Mon Feb 09 22:36:02 2004] [jk_worker.c (88)]: Into wc_open [Mon Feb 09 22:36:02 2004] [jk_worker.c (222)]: Into build_worker_map, creating 3 workers [Mon Feb 09 22:36:02 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc1 [Mon Feb 09 22:36:02 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:36:02 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:02 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:02 2004] [jk_worker.c (238)]: build_worker_map, removing old tc1 worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc2 [Mon Feb 09 22:36:02 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:36:02 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:02 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:02 2004] [jk_worker.c (238)]: build_worker_map, removing old tc2 worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (228)]: build_worker_map, creating worker lb [Mon Feb 09 22:36:02 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance lb of lb [Mon Feb 09 22:36:02 2004] [jk_lb_worker.c (587)]: Into lb_worker_factory [Mon Feb 09 22:36:02 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init lb [Mon Feb 09 22:36:02 2004] [jk_lb_worker.c (421)]: Into jk_worker_t::validate [Mon Feb 09 22:36:02 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:36:02 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:02 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:02 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:36:02 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:36:02 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:36:02 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:02 2004] [jk_lb_worker.c (499)]: Balanced worker 0 has name tc1 [Mon Feb 09 22:36:02 2004] [jk_lb_worker.c (499)]: Balanced worker 1 has name tc2 [Mon Feb 09 22:36:02 2004] [jk_lb_worker.c (503)]: in_local_worker_mode: false [Mon Feb 09 22:36:02 2004] [jk_lb_worker.c (506)]: local_worker_only: false [Mon Feb 09 22:36:02 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:36:02 2004] [jk_worker.c (238)]: build_worker_map, removing old lb worker [Mon Feb 09 22:36:02 2004] [jk_worker.c (250)]: build_worker_map, done [Mon Feb 09 22:36:02 2004] [jk_worker.c (111)]: wc_open, done 3 [Mon Feb 09 22:36:17 2004] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Feb 09 22:36:17 2004] [jk_uri_worker_map.c (500)]: Attempting to map URI '/JOBa1822Web/echo.do' [Mon Feb 09 22:36:17 2004] [jk_uri_worker_map.c (524)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match lb -> /JOBa1822Web/ [Mon Feb 09 22:36:17 2004] [jk_worker.c (132)]: Into wc_get_worker_for_name lb [Mon Feb 09 22:36:17 2004] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Mon Feb 09 22:36:17 2004] [jk_lb_worker.c (534)]: Into jk_worker_t::get_endpoint [Mon Feb 09 22:36:17 2004] [jk_lb_worker.c (315)]: Into jk_endpoint_t::service [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (1700)]: Into jk_worker_t::get_endpoint [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (1333)]: Into jk_endpoint_t::service [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (298)]: Into ajp_marshal_into_msgb [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (466)]: ajp_marshal_into_msgb - Done [Mon Feb 09 22:36:17 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:36:17 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:36:17 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = 0 [Mon Feb 09 22:36:17 2004] [jk_connect.c (199)]: jk_open_socket, set TCP_NODELAY to on [Mon Feb 09 22:36:17 2004] [jk_connect.c (216)]: jk_open_socket, return, sd = 8 [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (741)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 8 [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (777)]: sending to ajp13 #640 [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (1072)]: ajp_send_request 2: request body to send 19 - request body to resend 0 [Mon Feb 09 22:36:17 2004] [jk_ajp_common.c (777)]: sending to ajp13 #25 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (822)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down. err=-1 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1262)]: Error reading reply from tomcat. Tomcat is down or network problems. [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1415)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1434)]: sending request to tomcat failed in send loop. err=0 [Mon Feb 09 22:36:22 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:36:22 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:36:22 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = -1 [Mon Feb 09 22:36:22 2004] [jk_connect.c (219)]: jk_open_socket, connect() failed errno = 111 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (760)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1061)]: Error connecting to the Tomcat process. [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1434)]: sending request to tomcat failed in send loop. err=1 [Mon Feb 09 22:36:22 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:36:22 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:36:22 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = -1 [Mon Feb 09 22:36:22 2004] [jk_connect.c (219)]: jk_open_socket, connect() failed errno = 111 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (760)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1061)]: Error connecting to the Tomcat process. [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1434)]: sending request to tomcat failed in send loop. err=2 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1443)]: Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=tc1 failed errno = 111 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1683)]: Into jk_endpoint_t::done, closing connection 0 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (608)]: In jk_endpoint_t::ajp_close_endpoint [Mon Feb 09 22:36:22 2004] [jk_lb_worker.c (374)]: lb: recoverable error... will try to recover on other host [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1700)]: Into jk_worker_t::get_endpoint [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1333)]: Into jk_endpoint_t::service [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (298)]: Into ajp_marshal_into_msgb [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (466)]: ajp_marshal_into_msgb - Done [Mon Feb 09 22:36:22 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:36:22 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:36:22 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = 0 [Mon Feb 09 22:36:22 2004] [jk_connect.c (199)]: jk_open_socket, set TCP_NODELAY to on [Mon Feb 09 22:36:22 2004] [jk_connect.c (216)]: jk_open_socket, return, sd = 8 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (741)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 8 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (777)]: sending to ajp13 #640 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1072)]: ajp_send_request 2: request body to send 19 - request body to resend 0 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (777)]: sending to ajp13 #4 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (888)]: received from ajp13 #3 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (777)]: sending to ajp13 #4 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (888)]: received from ajp13 #99 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (518)]: ajp_unmarshal_response: status = 200 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (524)]: ajp_unmarshal_response: Number of headers is = 3 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (578)]: ajp_unmarshal_response: Header[0] [Expires] = [Thu, 01 Jan 1970 00:00:00 GMT] [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (578)]: ajp_unmarshal_response: Header[1] [Pragma] = [no-cache] [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (578)]: ajp_unmarshal_response: Header[2] [Cache-Control] = [no-cache] [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (888)]: received from ajp13 #2 [Mon Feb 09 22:36:22 2004] [jk_ajp_common.c (1675)]: Into jk_endpoint_t::done, recycling connection [Mon Feb 09 22:36:22 2004] [jk_lb_worker.c (395)]: Into jk_endpoint_t::done
[Mon Feb 09 22:38:44 2004] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Mon Feb 09 22:38:44 2004] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open [Mon Feb 09 22:38:44 2004] [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1 [Mon Feb 09 22:38:44 2004] [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /JOBa1822Web/=lb was added [Mon Feb 09 22:38:44 2004] [jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules [Mon Feb 09 22:38:44 2004] [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done [Mon Feb 09 22:38:44 2004] [jk_worker.c (88)]: Into wc_open [Mon Feb 09 22:38:44 2004] [jk_worker.c (222)]: Into build_worker_map, creating 3 workers [Mon Feb 09 22:38:44 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc1 [Mon Feb 09 22:38:44 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:38:44 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:44 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:44 2004] [jk_worker.c (238)]: build_worker_map, removing old tc1 worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc2 [Mon Feb 09 22:38:44 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:38:44 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:44 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:44 2004] [jk_worker.c (238)]: build_worker_map, removing old tc2 worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (228)]: build_worker_map, creating worker lb [Mon Feb 09 22:38:44 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance lb of lb [Mon Feb 09 22:38:44 2004] [jk_lb_worker.c (587)]: Into lb_worker_factory [Mon Feb 09 22:38:44 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init lb [Mon Feb 09 22:38:44 2004] [jk_lb_worker.c (421)]: Into jk_worker_t::validate [Mon Feb 09 22:38:44 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:38:44 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:44 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:44 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:38:44 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:44 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:44 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:44 2004] [jk_lb_worker.c (499)]: Balanced worker 0 has name tc1 [Mon Feb 09 22:38:44 2004] [jk_lb_worker.c (499)]: Balanced worker 1 has name tc2 [Mon Feb 09 22:38:44 2004] [jk_lb_worker.c (503)]: in_local_worker_mode: false [Mon Feb 09 22:38:44 2004] [jk_lb_worker.c (506)]: local_worker_only: false [Mon Feb 09 22:38:44 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:44 2004] [jk_worker.c (238)]: build_worker_map, removing old lb worker [Mon Feb 09 22:38:44 2004] [jk_worker.c (250)]: build_worker_map, done [Mon Feb 09 22:38:44 2004] [jk_worker.c (111)]: wc_open, done 3 [Mon Feb 09 22:38:45 2004] [jk_worker.c (118)]: Into wc_close [Mon Feb 09 22:38:45 2004] [jk_worker.c (199)]: close_workers got 3 workers to destroy [Mon Feb 09 22:38:45 2004] [jk_worker.c (206)]: close_workers will destroy worker tc1 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:38:45 2004] [jk_worker.c (206)]: close_workers will destroy worker tc2 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:38:45 2004] [jk_worker.c (206)]: close_workers will destroy worker lb [Mon Feb 09 22:38:45 2004] [jk_lb_worker.c (562)]: Into jk_worker_t::destroy [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1615)]: Into jk_worker_t::destroy [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1622)]: Into jk_worker_t::destroy up to 1 endpoint to close [Mon Feb 09 22:38:45 2004] [jk_worker.c (120)]: wc_close, done [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (190)]: Into jk_uri_worker_map_t::uri_worker_map_free [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (441)]: Into jk_uri_worker_map_t::uri_worker_map_close [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1 [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (321)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /JOBa1822Web/=lb was added [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (408)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules [Mon Feb 09 22:38:45 2004] [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done [Mon Feb 09 22:38:45 2004] [jk_worker.c (88)]: Into wc_open [Mon Feb 09 22:38:45 2004] [jk_worker.c (222)]: Into build_worker_map, creating 3 workers [Mon Feb 09 22:38:45 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc1 [Mon Feb 09 22:38:45 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:38:45 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:45 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:45 2004] [jk_worker.c (238)]: build_worker_map, removing old tc1 worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (228)]: build_worker_map, creating worker tc2 [Mon Feb 09 22:38:45 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:38:45 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:45 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:45 2004] [jk_worker.c (238)]: build_worker_map, removing old tc2 worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (228)]: build_worker_map, creating worker lb [Mon Feb 09 22:38:45 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance lb of lb [Mon Feb 09 22:38:45 2004] [jk_lb_worker.c (587)]: Into lb_worker_factory [Mon Feb 09 22:38:45 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init lb [Mon Feb 09 22:38:45 2004] [jk_lb_worker.c (421)]: Into jk_worker_t::validate [Mon Feb 09 22:38:45 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc1 of ajp13 [Mon Feb 09 22:38:45 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:45 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc1 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc1 contact is localhost:9010 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:45 2004] [jk_worker.c (148)]: Into wc_create_worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (162)]: wc_create_worker, about to create instance tc2 of ajp13 [Mon Feb 09 22:38:45 2004] [jk_ajp13_worker.c (108)]: Into ajp13_worker_factory [Mon Feb 09 22:38:45 2004] [jk_worker.c (171)]: wc_create_worker, about to validate and init tc2 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1468)]: Into jk_worker_t::validate [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1489)]: In jk_worker_t::validate for worker tc2 contact is localhost:9009 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1522)]: Into jk_worker_t::init [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1542)]: In jk_worker_t::init, setting socket timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1549)]: In jk_worker_t::init, setting socket keepalive to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1556)]: In jk_worker_t::init, setting cache timeout to 15 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1563)]: In jk_worker_t::init, setting connect timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1570)]: In jk_worker_t::init, setting reply timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_ajp_common.c (1577)]: In jk_worker_t::init, setting prepost timeout to 0 [Mon Feb 09 22:38:45 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:45 2004] [jk_lb_worker.c (499)]: Balanced worker 0 has name tc1 [Mon Feb 09 22:38:45 2004] [jk_lb_worker.c (499)]: Balanced worker 1 has name tc2 [Mon Feb 09 22:38:45 2004] [jk_lb_worker.c (503)]: in_local_worker_mode: false [Mon Feb 09 22:38:45 2004] [jk_lb_worker.c (506)]: local_worker_only: false [Mon Feb 09 22:38:45 2004] [jk_worker.c (187)]: wc_create_worker, done [Mon Feb 09 22:38:45 2004] [jk_worker.c (238)]: build_worker_map, removing old lb worker [Mon Feb 09 22:38:45 2004] [jk_worker.c (250)]: build_worker_map, done [Mon Feb 09 22:38:45 2004] [jk_worker.c (111)]: wc_open, done 3 [Mon Feb 09 22:38:49 2004] [jk_uri_worker_map.c (486)]: Into jk_uri_worker_map_t::map_uri_to_worker [Mon Feb 09 22:38:49 2004] [jk_uri_worker_map.c (500)]: Attempting to map URI '/JOBa1822Web/echo.do' [Mon Feb 09 22:38:49 2004] [jk_uri_worker_map.c (524)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match lb -> /JOBa1822Web/ [Mon Feb 09 22:38:49 2004] [jk_worker.c (132)]: Into wc_get_worker_for_name lb [Mon Feb 09 22:38:49 2004] [jk_worker.c (136)]: wc_get_worker_for_name, done found a worker [Mon Feb 09 22:38:49 2004] [jk_lb_worker.c (534)]: Into jk_worker_t::get_endpoint [Mon Feb 09 22:38:49 2004] [jk_lb_worker.c (315)]: Into jk_endpoint_t::service [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1700)]: Into jk_worker_t::get_endpoint [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1333)]: Into jk_endpoint_t::service [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (298)]: Into ajp_marshal_into_msgb [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (466)]: ajp_marshal_into_msgb - Done [Mon Feb 09 22:38:49 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:38:49 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:38:49 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = -1 [Mon Feb 09 22:38:49 2004] [jk_connect.c (219)]: jk_open_socket, connect() failed errno = 111 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (760)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1061)]: Error connecting to the Tomcat process. [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1434)]: sending request to tomcat failed in send loop. err=0 [Mon Feb 09 22:38:49 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:38:49 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:38:49 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = -1 [Mon Feb 09 22:38:49 2004] [jk_connect.c (219)]: jk_open_socket, connect() failed errno = 111 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (760)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1061)]: Error connecting to the Tomcat process. [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1434)]: sending request to tomcat failed in send loop. err=1 [Mon Feb 09 22:38:49 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:38:49 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:38:49 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = -1 [Mon Feb 09 22:38:49 2004] [jk_connect.c (219)]: jk_open_socket, connect() failed errno = 111 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (760)]: Error connecting to tomcat. Tomcat is probably not started or is listenning on the wrong port. Failed errno = 111 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1061)]: Error connecting to the Tomcat process. [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1434)]: sending request to tomcat failed in send loop. err=2 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1443)]: Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=tc1 failed errno = 111 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1683)]: Into jk_endpoint_t::done, closing connection 0 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (608)]: In jk_endpoint_t::ajp_close_endpoint [Mon Feb 09 22:38:49 2004] [jk_lb_worker.c (374)]: lb: recoverable error... will try to recover on other host [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1700)]: Into jk_worker_t::get_endpoint [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1333)]: Into jk_endpoint_t::service [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (298)]: Into ajp_marshal_into_msgb [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (466)]: ajp_marshal_into_msgb - Done [Mon Feb 09 22:38:49 2004] [jk_connect.c (174)]: Into jk_open_socket [Mon Feb 09 22:38:49 2004] [jk_connect.c (181)]: jk_open_socket, try to connect socket = 8 [Mon Feb 09 22:38:49 2004] [jk_connect.c (190)]: jk_open_socket, after connect ret = 0 [Mon Feb 09 22:38:49 2004] [jk_connect.c (199)]: jk_open_socket, set TCP_NODELAY to on [Mon Feb 09 22:38:49 2004] [jk_connect.c (216)]: jk_open_socket, return, sd = 8 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (741)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 8 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (777)]: sending to ajp13 #640 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1072)]: ajp_send_request 2: request body to send 19 - request body to resend 0 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (777)]: sending to ajp13 #25 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (888)]: received from ajp13 #3 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (777)]: sending to ajp13 #4 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (888)]: received from ajp13 #3 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (777)]: sending to ajp13 #4 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (888)]: received from ajp13 #3 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (777)]: sending to ajp13 #4 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (888)]: received from ajp13 #3 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (777)]: sending to ajp13 #4 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (888)]: received from ajp13 #99 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (518)]: ajp_unmarshal_response: status = 200 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (524)]: ajp_unmarshal_response: Number of headers is = 3 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (578)]: ajp_unmarshal_response: Header[0] [Expires] = [Thu, 01 Jan 1970 00:00:00 GMT] [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (578)]: ajp_unmarshal_response: Header[1] [Pragma] = [no-cache] [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (578)]: ajp_unmarshal_response: Header[2] [Cache-Control] = [no-cache] [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (888)]: received from ajp13 #24 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (888)]: received from ajp13 #2 [Mon Feb 09 22:38:49 2004] [jk_ajp_common.c (1675)]: Into jk_endpoint_t::done, recycling connection [Mon Feb 09 22:38:49 2004] [jk_lb_worker.c (395)]: Into jk_endpoint_t::done
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <filter> <filter-name>echoFilter</filter-name> <filter-class>com.direkt1822.joba.filter.EchoFilter</filter-class> </filter> <filter-mapping> <filter-name>echoFilter</filter-name> <url-pattern>/echo.do</url-pattern> </filter-mapping> <!-- ... --> </web-app>
worker.list=tc1,tc2,lb worker.tc1.port=9010 worker.tc1.host=localhost worker.tc1.type=ajp13 worker.tc1.lbfactor=1 worker.tc2.port=9009 worker.tc2.host=localhost worker.tc2.type=ajp13 worker.tc2.lbfactor=1 worker.lb.type=lb worker.lb.balanced_workers=tc1,tc2 worker.lb.sticky_session=1 worker.lb.local_worker_only=0
package com.direkt1822.joba.filter; import java.io.BufferedReader; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * This is a filter that sends all data sent from the client back to the client * @author Alexander Schwartz (1822direkt) 2004 * @version $Id: EchoFilter.java,v 1.1 2004/01/22 12:10:39 ahus1 Exp $ */ public class EchoFilter implements Filter { public void init(FilterConfig filterConfig) throws ServletException { } public void doFilter( ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { final HttpServletRequest httpRequest = (HttpServletRequest)request; final HttpServletResponse httpResponse = (HttpServletResponse)response; BufferedReader reader = httpRequest.getReader(); PrintWriter writer = httpResponse.getWriter(); String line; while((line = reader.readLine())!=null) { writer.println(line); } } public void destroy() { } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]