tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: mod_jk initialized twice???
Date Wed, 05 Sep 2001 08:29:55 GMT
Gero.Vermaas@Sun.COM wrote:
> 
> Hi,
> 
> Some of you might have seens mail from me before... I'm still trying to get apache and
tomcat to work together. Requests are handled by apache, but never reach tomcat, the JSP source
code is shown instead.

And when you connect to TC directly?

> 
> During my debugging sessions I discovered that it looks as if mod_jk is initialized twice
(see log below). If I start apache I see the same message sequence appeare twice in the mod_jk.log
file. Could someone confirm if this is normal?

I have the same and mod_jk is working...

> 
> [jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
> [jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open
> [jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size
is 8
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/.jsp=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/servlet/=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/examples/servlet/=ajp13 was added
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/examples/.jsp=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/admin/servlet/=ajp13 was added
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/admin/.jsp=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/test/servlet/=ajp13 was added
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/test/.jsp=ajp13 was added
> [jk_uri_worker_map.c (296)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are
8 rules
> [jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open, done
> [jk_worker.c (82)]: Into wc_open
> [jk_worker.c (207)]: Into build_worker_map, creating 2 workers
> [jk_worker.c (213)]: build_worker_map, creating worker ajp12
> [jk_worker.c (138)]: Into wc_create_worker
> [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12
> [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
> [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
> [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
> [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is gerodt.homeip.net:8007
> [jk_worker.c (177)]: wc_create_worker, done
> [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
> [jk_worker..c (213)]: build_worker_map, creating worker ajp13
> [jk_worker.c (138)]: Into wc_create_worker
> [jk_worker.c (152)]: wc_create_worker, about to create instance ajp13 of ajp13
> [jk_ajp13_worker.c (711)]: Into ajp23_worker_factory
> [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13
> [jk_ajp13_worker.c (386)]: Into jk_worker_t::validate
> [jk_ajp13_worker.c (399)]: In jk_worker_t::validate for worker ajp13 contact is gerodt.homeip.net:8009
> [jk_ajp13_worker.c (425)]: Into jk_worker_t::init
> [jk_worker.c (177)]: wc_create_worker, done
> [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker
> [jk_worker.c (235)]: build_worker_map, done
> [jk_worker.c (102)]: wc_open, done
> [jk_uri_worker_map.c (156)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
> [jk_uri_worker_map.c (196)]: Into jk_uri_worker_map_t::uri_worker_map_open
> [jk_uri_worker_map.c (211)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size
is 8
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/.jsp=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/servlet/=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/examples/servlet/=ajp13 was added
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/examples/.jsp=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/admin/servlet/=ajp13 was added
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/admin/.jsp=ajp13 was added
> [jk_uri_worker_map.c (267)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule
/test/servlet/=ajp13 was added
> [jk_uri_worker_map.c (256)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule
/test/.jsp=ajp13 was added
> [jk_uri_worker_map.c (296)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are
8 rules
> [jk_uri_worker_map.c (317)]: jk_uri_worker_map_t::uri_worker_map_open, done
> [jk_worker.c (82)]: Into wc_open
> [jk_worker.c (207)]: Into build_worker_map, creating 2 workers
> [jk_worker.c (213)]: build_worker_map, creating worker ajp12
> [jk_worker.c (138)]: Into wc_create_worker
> [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12
> [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory
> [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12
> [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate
> [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is gerodt.homeip.net:8007
> [jk_worker.c (177)]: wc_create_worker, done
> [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker
> [jk_worker.c (213)]: build_worker_map, creating worker ajp13
> [jk_worker.c (138)]: Into wc_create_worker
> [jk_worker.c (152)]: wc_create_worker, about to create instance ajp13 of ajp13
> [jk_ajp13_worker.c (711)]: Into ajp23_worker_factory
> [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13
> [jk_ajp13_worker.c (386)]: Into jk_worker_t::validate
> [jk_ajp13_worker.c (399)]: In jk_worker_t::validate for worker ajp13 contact is gerodt.homeip.net:8009
> [jk_ajp13_worker.c (425)]: Into jk_worker_t::init
> [jk_worker.c (177)]: wc_create_worker, done
> [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker
> [jk_worker.c (235)]: build_worker_map, done
> [jk_worker.c (102)]: wc_open, done
> [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
> [jk_uri_worker_map.c (407)]: jk_uri_worker_map_t::map_uri_to_worker, Found a match ajp13
> [jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker

It looks like that the request is send to the TC. - But the lastest CVS could
provide more information, could you upgrade your mod_jk to the
jakarta-tomcat-connectors one? -

> 
> Any help is appreciated.
> 
> Regards,
> Gero

Mime
View raw message