Plus some lines from jk.log [Thu Jul 25 14:06:32 2002] [jk_uri_worker_map.c (172)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Thu Jul 25 14:06:32 2002] [jk_uri_worker_map.c (375)]: Into jk_uri_worker_map_t::uri_worker_map_open [Thu Jul 25 14:06:32 2002] [jk_uri_worker_map.c (396)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 0 [Thu Jul 25 14:06:32 2002] [jk_uri_worker_map.c (422)]: jk_uri_worker_map_t::uri_worker_map_open, done [Thu Jul 25 14:06:32 2002] [jk_worker.c (88)]: Into wc_open [Thu Jul 25 14:06:32 2002] [jk_worker.c (222)]: Into build_worker_map, creating 1 workers [Thu Jul 25 14:06:32 2002] [jk_worker.c (228)]: build_worker_map, creating worker ajp12 [Thu Jul 25 14:06:32 2002] [jk_worker.c (148)]: Into wc_create_worker [Thu Jul 25 14:06:32 2002] [jk_worker.c (162)]: wc_create_worker, about to create instance ajp12 of ajp12 [Thu Jul 25 14:06:32 2002] [jk_ajp12_worker.c (268)]: Into ajp12_worker_factory [Thu Jul 25 14:06:32 2002] [jk_worker.c (171)]: wc_create_worker, about to validate and init ajp12 [Thu Jul 25 14:06:32 2002] [jk_ajp12_worker.c (185)]: Into jk_worker_t::validate [Thu Jul 25 14:06:32 2002] [jk_ajp12_worker.c (197)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007 [Thu Jul 25 14:06:32 2002] [jk_worker.c (187)]: wc_create_worker, done [Thu Jul 25 14:06:32 2002] [jk_worker.c (238)]: build_worker_map, removing old ajp12 worker [Thu Jul 25 14:06:32 2002] [jk_worker.c (250)]: build_worker_map, done [Thu Jul 25 14:06:32 2002] [jk_worker.c (111)]: wc_open, done 1
... [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/keychain/edit_item' [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13a -> /keychain/ [Thu Jul 25 14:07:26 2002] [mod_jk.c (1223)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet r->notes=9750952 worker=ajp13a [Thu Jul 25 14:07:26 2002] [jk_worker.c (132)]: Into wc_get_worker_for_name ajp13a [Thu Jul 25 14:07:26 2002] [jk_worker.c (136)]: wc_get_worker_for_name, done did not found a worker [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/error/HTTP_NOT_FOUND.html.var' [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/error/include/top.html' [Thu Jul 25 14:07:26 2002] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Jul 25 14:07:27 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Jul 25 14:07:27 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/error/include/bottom.html' [Thu Jul 25 14:07:27 2002] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Jul 25 14:07:27 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Jul 25 14:07:27 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/error/contact.html.var' [Thu Jul 25 14:07:27 2002] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match> -----Original Message----- > From: Brett Knights [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 2:27 PM > To: 'Tomcat Users List' > Subject: Apache 2, Win32, TC 4.0.4, mod JK and two servers > > > Hi, > I am attempting to transition to Apache2 under Windows NT. > > I have two servers. Server1 is running Apache with several > virtual hosts. > Server2 is running Apache2 and Tomcat 4.0.4 final. > > One of the virtual hosts on Server1 needs to forward some > requests to a > webapp on Server2. > Under Apache 1.3.24 this worked using mod_webapp. That no > longer appears to > be an option. > > I have tested serving remote webapps using mod_jk. In my test > case where I > had two virtual servers on the Apache2 machine it appeared to access a > Tomcat instance across the network without problems. > > Now I am trying to release the system but I cannot get > Server1 to talk to > Tomcat on Server2 using mod_jk and ajp13. The 404 error > message is from > Server1 so I assume the problem lies there. Server2 is still > successfully > serving the webapp via mod_webapp. > > # from httpd.conf outside <VirtualHost> #WebAppConnection > works with Apache > 1.3 > JkWorkersFile "c:/ApacheGroup/Apache2/conf/jk/workers.properties" > JkLogFile "c:/ApacheGroup/Apache2/logs/jk.log" > JkLogLevel debug > ##WebAppConnection mis2TCConn warp 192.168.104.2:8008 > > # from httpd.conf inside <VirtualHost> #WebAppDeploy works > with Apache 1.3 > ##WebAppDeploy keychain mis2TCConn /orders > JkMount /keychain/* ajp13a > JkMount /keychain ajp13a > RewriteEngine on > RewriteRule ^/orders/(.*)$ /keychain/$1 [PT] > > # from workers.properties > ps=\ > > workers.list=ajp13a > > worker.ajp13a.port=8018 > worker.ajp13a.host=192.168.104.2 > worker.ajp13a.type=ajp13 > > > Any help or insight on this would be greatly appreciated. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
