Where are the Jkmount statements.  If you don't mount anything, then 
you'll have nothing to look at.

Please see http://www.johnturner.com/howto/apache2-tomcat404-howto.html. 
Even though it's written for a Red Hat system, the configuration of 
Apache, Mod_jk, and Tomcat is relevant to your situation.  You should 
start reading from step 3 on down.  Make sure you click on the included 
link to see an example of a mod_jk.conf file.

rls





"Jim Urban" <[EMAIL PROTECTED]>
10/22/2002 12:12 PM
Please respond to "Tomcat Users List"

 
        To:     "Tomcat-User \(E-mail\)" <[EMAIL PROTECTED]>
        cc: 
        Subject:        Apache/2 and Tomcat/4 not talking

I have spent the past two days trying to get Apache/2 to forward servlet
requests to Tomcat.  Here are the particulars:

Java 1.3.0
Win 2K SP3
Tomcat 4.0.4
Apache/2 0.43
AJP13
SSL

Mod_jk.conf
########## Auto generated on Tue Oct 22 12:01:16 CDT 2002##########

<IfModule !mod_jk.c>
  LoadModule jk_module modules/mod_jk.dll
</IfModule>

JkWorkersFile "y:/Tomcat4.0.4/conf/jk/workers.properties"
JkLogFile "y:/Tomcat4.0.4/logs/mod_jk.log"

JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "


workers.properties
########## Auto generated on Tue Oct 22 12:01:16 CDT 2002##########

<IfModule !mod_jk.c>
  LoadModule jk_module modules/mod_jk.dll
</IfModule>

JkWorkersFile "y:/Tomcat4.0.4/conf/jk/workers.properties"
JkLogFile "y:/Tomcat4.0.4/logs/mod_jk.log"

JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "


mod_jk.log
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (287)]: Into
jk_uri_worker_map_t::uri_worker_map_open, general context path rule
/*/servlet/*=worker1 was added
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (408)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (88)]: Into wc_open
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (224)]: Into build_worker_map,
creating 1 workers
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (230)]: build_worker_map, 
creating
worker worker1
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (148)]: Into wc_create_worker
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (260)]: Factory :ajp12
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (260)]: Factory :ajp13
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (164)]: wc_create_worker, about 
to
create instance worker1 of ajp13
[Tue Oct 22 14:04:28 2002]  [jk_ajp13_worker.c (108)]: Into
ajp13_worker_factory
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (173)]: wc_create_worker, about 
to
validate and init worker1
[Tue Oct 22 14:04:28 2002]  [jk_ajp_common.c (1206)]: Into
jk_worker_t::validate
[Tue Oct 22 14:04:28 2002]  [jk_ajp_common.c (1226)]: In
jk_worker_t::validate for worker worker1 contact is localhost:8009
[Tue Oct 22 14:04:28 2002]  [jk_ajp_common.c (1254)]: Into 
jk_worker_t::init
[Tue Oct 22 14:04:28 2002]  [jk_ajp_common.c (1274)]: In 
jk_worker_t::init,
setting socket timeout to 300
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (189)]: wc_create_worker, done
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (240)]: build_worker_map, 
removing
old worker1 worker
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (252)]: build_worker_map, done
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (111)]: wc_open, done 1
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (118)]: Into wc_close
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (201)]: close_workers got 1 
workers
to destroy
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (208)]: close_workers will 
destroy
worker worker1
[Tue Oct 22 14:04:28 2002]  [jk_ajp_common.c (1311)]: Into
jk_worker_t::destroy
[Tue Oct 22 14:04:28 2002]  [jk_ajp_common.c (1318)]: Into
jk_worker_t::destroy up to 10 endpoint to close
[Tue Oct 22 14:04:28 2002]  [jk_worker.c (120)]: wc_close, done
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (190)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Tue Oct 22 14:04:28 2002]  [jk_uri_worker_map.c (441)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Tue Oct 22 14:04:31 2002]  [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Oct 22 14:04:31 2002]  [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Tue Oct 22 14:04:31 2002]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1
[Tue Oct 22 14:04:31 2002]  [jk_uri_worker_map.c (287)]: Into
jk_uri_worker_map_t::uri_worker_map_open, general context path rule
/*/servlet/*=worker1 was added
[Tue Oct 22 14:04:31 2002]  [jk_uri_worker_map.c (408)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules
[Tue Oct 22 14:04:31 2002]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (88)]: Into wc_open
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (224)]: Into build_worker_map,
creating 1 workers
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (230)]: build_worker_map, 
creating
worker worker1
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (148)]: Into wc_create_worker
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (260)]: Factory :ajp12
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (260)]: Factory :ajp13
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (164)]: wc_create_worker, about 
to
create instance worker1 of ajp13
[Tue Oct 22 14:04:31 2002]  [jk_ajp13_worker.c (108)]: Into
ajp13_worker_factory
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (173)]: wc_create_worker, about 
to
validate and init worker1
[Tue Oct 22 14:04:31 2002]  [jk_ajp_common.c (1206)]: Into
jk_worker_t::validate
[Tue Oct 22 14:04:31 2002]  [jk_ajp_common.c (1226)]: In
jk_worker_t::validate for worker worker1 contact is localhost:8009
[Tue Oct 22 14:04:31 2002]  [jk_ajp_common.c (1254)]: Into 
jk_worker_t::init
[Tue Oct 22 14:04:31 2002]  [jk_ajp_common.c (1274)]: In 
jk_worker_t::init,
setting socket timeout to 300
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (189)]: wc_create_worker, done
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (240)]: build_worker_map, 
removing
old worker1 worker
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (252)]: build_worker_map, done
[Tue Oct 22 14:04:31 2002]  [jk_worker.c (111)]: wc_open, done 1
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (287)]: Into
jk_uri_worker_map_t::uri_worker_map_open, general context path rule
/*/servlet/*=worker1 was added
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (408)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (88)]: Into wc_open
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (224)]: Into build_worker_map,
creating 1 workers
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (230)]: build_worker_map, 
creating
worker worker1
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (148)]: Into wc_create_worker
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (260)]: Factory :ajp12
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (260)]: Factory :ajp13
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (164)]: wc_create_worker, about 
to
create instance worker1 of ajp13
[Tue Oct 22 14:04:33 2002]  [jk_ajp13_worker.c (108)]: Into
ajp13_worker_factory
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (173)]: wc_create_worker, about 
to
validate and init worker1
[Tue Oct 22 14:04:33 2002]  [jk_ajp_common.c (1206)]: Into
jk_worker_t::validate
[Tue Oct 22 14:04:33 2002]  [jk_ajp_common.c (1226)]: In
jk_worker_t::validate for worker worker1 contact is localhost:8009
[Tue Oct 22 14:04:33 2002]  [jk_ajp_common.c (1254)]: Into 
jk_worker_t::init
[Tue Oct 22 14:04:33 2002]  [jk_ajp_common.c (1274)]: In 
jk_worker_t::init,
setting socket timeout to 300
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (189)]: wc_create_worker, done
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (240)]: build_worker_map, 
removing
old worker1 worker
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (252)]: build_worker_map, done
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (111)]: wc_open, done 1
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (118)]: Into wc_close
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (201)]: close_workers got 1 
workers
to destroy
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (208)]: close_workers will 
destroy
worker worker1
[Tue Oct 22 14:04:33 2002]  [jk_ajp_common.c (1311)]: Into
jk_worker_t::destroy
[Tue Oct 22 14:04:33 2002]  [jk_ajp_common.c (1318)]: Into
jk_worker_t::destroy up to 10 endpoint to close
[Tue Oct 22 14:04:33 2002]  [jk_worker.c (120)]: wc_close, done
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (190)]: Into
jk_uri_worker_map_t::uri_worker_map_free
[Tue Oct 22 14:04:33 2002]  [jk_uri_worker_map.c (441)]: Into
jk_uri_worker_map_t::uri_worker_map_close
[Tue Oct 22 14:04:36 2002]  [jk_uri_worker_map.c (172)]: Into
jk_uri_worker_map_t::uri_worker_map_alloc
[Tue Oct 22 14:04:36 2002]  [jk_uri_worker_map.c (375)]: Into
jk_uri_worker_map_t::uri_worker_map_open
[Tue Oct 22 14:04:36 2002]  [jk_uri_worker_map.c (396)]:
jk_uri_worker_map_t::uri_worker_map_open, rule map size is 1
[Tue Oct 22 14:04:36 2002]  [jk_uri_worker_map.c (287)]: Into
jk_uri_worker_map_t::uri_worker_map_open, general context path rule
/*/servlet/*=worker1 was added
[Tue Oct 22 14:04:36 2002]  [jk_uri_worker_map.c (408)]: Into
jk_uri_worker_map_t::uri_worker_map_open, there are 1 rules
[Tue Oct 22 14:04:36 2002]  [jk_uri_worker_map.c (422)]:
jk_uri_worker_map_t::uri_worker_map_open, done
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (88)]: Into wc_open
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (224)]: Into build_worker_map,
creating 1 workers
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (230)]: build_worker_map, 
creating
worker worker1
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (148)]: Into wc_create_worker
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (260)]: Factory :ajp12
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (260)]: Factory :ajp13
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (164)]: wc_create_worker, about 
to
create instance worker1 of ajp13
[Tue Oct 22 14:04:36 2002]  [jk_ajp13_worker.c (108)]: Into
ajp13_worker_factory
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (173)]: wc_create_worker, about 
to
validate and init worker1
[Tue Oct 22 14:04:36 2002]  [jk_ajp_common.c (1206)]: Into
jk_worker_t::validate
[Tue Oct 22 14:04:36 2002]  [jk_ajp_common.c (1226)]: In
jk_worker_t::validate for worker worker1 contact is localhost:8009
[Tue Oct 22 14:04:36 2002]  [jk_ajp_common.c (1254)]: Into 
jk_worker_t::init
[Tue Oct 22 14:04:36 2002]  [jk_ajp_common.c (1274)]: In 
jk_worker_t::init,
setting socket timeout to 300
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (189)]: wc_create_worker, done
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (240)]: build_worker_map, 
removing
old worker1 worker
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (252)]: build_worker_map, done
[Tue Oct 22 14:04:36 2002]  [jk_worker.c (111)]: wc_open, done 1
[Tue Oct 22 14:04:37 2002]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Tue Oct 22 14:04:37 2002]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/ccs_v32/servlet/NsServlet'
[Tue Oct 22 14:04:37 2002]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match


Thanks,
Jim





--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to