Hi André,

Sorry as this email will become quite long.
Thanks for your help so far.
I change the log to debug and this is the first type of log that I retrieve.

*Type 1 Log:*

[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_open::jk_uri_worker_map.c (770): rule map size is 2
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
'/examples/*=tomcat1' source 'JkMou$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_add::jk_uri_worker_map.c (729): exact rule
'/examples=tomcat1' source 'JkMount' w$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after map open:
index=0 file='(null$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=2
nosize=0 capacity=4
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
uri=/examples/* worker=tomcat1 $
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #1:
uri=/examples worker=tomcat1 co$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] init_jk::mod_jk.c
(3107): Using fcntl() for locking.
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] init_jk::mod_jk.c
(3123): Setting default connection pool max size to 25
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.list' with
value 'tomcat1' to map.
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.type'
with value 'ajp13' t$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.host'
with value 'localhos$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.port'
with value '8009' to$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_map_resolve_references::jk_map.c (774): Checking for references with
prefix worker. with wild$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
jk_shm_calculate_size::jk_shm.c (132): shared memory will contain 1 ajp
workers of size 320 and $
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] do_shm_open::jk_shm.c
(493): Truncated shared memory to 448
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] do_shm_open::jk_shm.c
(538): Initialized shared memory /var/log/apache2/mod_jk.shm.3385 size=448$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
do_shm_open_lock::jk_shm.c (412): Opened shared memory lock
/var/log/apache2/mod_jk.shm.3385.lock
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'ServerRoot' -> '/etc/apache2'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.list' -> 'tomcat1'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.type' -> 'ajp13'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.host' -> 'localhost'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.port' -> '8009'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
build_worker_map::jk_worker.c (242): creating worker tomcat1
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
wc_create_worker::jk_worker.c (146): about to create instance tomcat1 of
ajp13
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
wc_create_worker::jk_worker.c (159): about to validate and init tomcat1
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_validate::jk_ajp_common.c (2512): worker tomcat1 contact is
'localhost:8009'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2699): setting endpoint options:
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2702): keepalive:              0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2706): socket timeout:         0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2710): socket connect timeout: 0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2714): buffer size:            0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2718): pool timeout:           0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2722): ping timeout:           10000
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2726): connect timeout:        0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2730): reply timeout:          0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2734): prepost timeout:        0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2738): recovery options:       0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2742): retries:                2
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2746): max packet size:        8192
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_init::jk_ajp_common.c (2750): retry interval:         100
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
ajp_create_endpoint_cache::jk_ajp_common.c (2562): setting connection pool
size to 25 with min 1$
[Mon May 03 02:27:12 2010] [3385:4191106880] [info] init_jk::mod_jk.c
(3183): mod_jk/1.2.28 initialized
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
wc_get_worker_for_name::jk_worker.c (116): found a worker tomcat1
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for worker
0: tomcat1 of type $
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
wc_get_worker_for_name::jk_worker.c (116): found a worker tomcat1
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for worker
1: tomcat1 of type $
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after extension
stripping: index=0 $
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=2
nosize=0 capacity=4
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
uri=/examples/* worker=tomcat1 $
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #1:
uri=/examples worker=tomcat1 co$
[Mon May 03 02:27:12 2010] [3385:4191106880] [debug]
uri_worker_map_switch::jk_uri_worker_map.c (482): Switching uri worker map
from index 0 to index$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_open::jk_uri_worker_map.c (770): rule map size is 2
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
'/examples/*=tomcat1' source 'JkMou$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_add::jk_uri_worker_map.c (729): exact rule
'/examples=tomcat1' source 'JkMount' w$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after map open:
index=0 file='(null$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=2
nosize=0 capacity=4
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
uri=/examples/* worker=tomcat1 $
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #1:
uri=/examples worker=tomcat1 co$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] init_jk::mod_jk.c
(3107): Using fcntl() for locking.
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] init_jk::mod_jk.c
(3123): Setting default connection pool max size to 25
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.list' with
value 'tomcat1' to map.
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.type'
with value 'ajp13' t$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.host'
with value 'localhos$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.port'
with value '8009' to$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_map_resolve_references::jk_map.c (774): Checking for references with
prefix worker. with wild$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
jk_shm_calculate_size::jk_shm.c (132): shared memory will contain 1 ajp
workers of size 320 and $
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] do_shm_open::jk_shm.c
(493): Truncated shared memory to 448
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] do_shm_open::jk_shm.c
(538): Initialized shared memory /var/log/apache2/mod_jk.shm.3386 size=448$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
do_shm_open_lock::jk_shm.c (412): Opened shared memory lock
/var/log/apache2/mod_jk.shm.3386.lock
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'ServerRoot' -> '/etc/apache2'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.list' -> 'tomcat1'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.type' -> 'ajp13'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.host' -> 'localhost'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.port' -> '8009'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
build_worker_map::jk_worker.c (242): creating worker tomcat1
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
wc_create_worker::jk_worker.c (146): about to create instance tomcat1 of
ajp13
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
wc_create_worker::jk_worker.c (159): about to validate and init tomcat1
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_validate::jk_ajp_common.c (2512): worker tomcat1 contact is
'localhost:8009'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2699): setting endpoint options:
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2702): keepalive:              0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2706): socket timeout:         0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2710): socket connect timeout: 0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2714): buffer size:            0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2718): pool timeout:           0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2722): ping timeout:           10000
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2726): connect timeout:        0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2730): reply timeout:          0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2734): prepost timeout:        0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2738): recovery options:       0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2742): retries:                2
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2746): max packet size:        8192
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_init::jk_ajp_common.c (2750): retry interval:         100
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
ajp_create_endpoint_cache::jk_ajp_common.c (2562): setting connection pool
size to 25 with min 1$
[Mon May 03 02:27:12 2010] [3386:4191106880] [info] init_jk::mod_jk.c
(3183): mod_jk/1.2.28 initialized
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
wc_get_worker_for_name::jk_worker.c (116): found a worker tomcat1
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for worker
0: tomcat1 of type $
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
wc_get_worker_for_name::jk_worker.c (116): found a worker tomcat1
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for worker
1: tomcat1 of type $
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after extension
stripping: index=0 $
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=2
nosize=0 capacity=4
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
uri=/examples/* worker=tomcat1 $
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #1:
uri=/examples worker=tomcat1 co$
[Mon May 03 02:27:12 2010] [3386:4191106880] [debug]
uri_worker_map_switch::jk_uri_worker_map.c (482): Switching uri worker map
from index 0 to index$
[Mon May 03 02:27:12 2010] [3389:4191106880] [debug] do_shm_open::jk_shm.c
(550): Attached shared memory /var/log/apache2/mod_jk.shm.3386 [2] size=44$
[Mon May 03 02:27:12 2010] [3389:4191106880] [debug] do_shm_open::jk_shm.c
(564): Resetting the shared memory for child 2
[Mon May 03 02:27:12 2010] [3389:4191106880] [debug]
do_shm_open_lock::jk_shm.c (353): Duplicated shared memory lock
/var/log/apache2/mod_jk.shm.3386$
[Mon May 03 02:27:12 2010] [3389:4191106880] [debug] jk_child_init::mod_jk.c
(3068): Initialized mod_jk/1.2.28
[Mon May 03 02:27:12 2010] [3390:4191106880] [debug] do_shm_open::jk_shm.c
(550): Attached shared memory /var/log/apache2/mod_jk.shm.3386 [3] size=44$
[Mon May 03 02:27:12 2010] [3390:4191106880] [debug] do_shm_open::jk_shm.c
(564): Resetting the shared memory for child 3
[Mon May 03 02:27:12 2010] [3390:4191106880] [debug]
do_shm_open_lock::jk_shm.c (353): Duplicated shared memory lock
/var/log/apache2/mod_jk.shm.3386$
[Mon May 03 02:27:12 2010] [3390:4191106880] [debug] jk_child_init::mod_jk.c
(3068): Initialized mod_jk/1.2.28
[Mon May 03 02:27:18 2010] [3389:4042901264] [debug] jk_translate::mod_jk.c
(3419): missing uri map for Js-Server-Ubuntu.gateway.2wire.net:/examples/
[Mon May 03 02:27:18 2010] [3389:4042901264] [debug]
jk_map_to_storage::mod_jk.c (3579): missing uri map for
Js-Server-Ubuntu.gateway.2wire.net:/exam$

I realise that it create, map and dump a few time within the same second.
At the first highlighted red line, it initialized and start detecting
worker. But at the last part (3068), it initialized and didn't detect
worker.
Is it normal? It look to me like a bug.
I change my IE setting and it display Apache's "The requested URL /examples/
was not found on this server." error.

I went on to change my httpd.conf to with <Location>

*Type 2, httpd.conf:*

# Send everything for context /examples to worker named worker1 (ajp13)
#JkMount  /examples/* tomcat1
#JkMount  /examples tomcat1

<Location *;jsessionid=>
  SetHandler jakarta-servlet
  SetEnv JK_WORKER_NAME tomcat1
</Location>

<Location /examples>
  SetEnvIf REQUEST_URI ^/examples/*([^/]*)/ JK_WORKER_NAME=tomcat1
  SetEnvIf REQUEST_URI ^/examples([^/]*)/ JK_WORKER_NAME=tomcat1
</Location>

*Type 2 Log:*

[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_open::jk_uri_worker_map.c (770): rule map size is 0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after map open:
index=0 file='(null$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] init_jk::mod_jk.c
(3107): Using fcntl() for locking.
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] init_jk::mod_jk.c
(3123): Setting default connection pool max size to 25
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.list' with
value 'tomcat1' to map.
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.type'
with value 'ajp13' t$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.host'
with value 'localhos$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.port'
with value '8009' to$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_map_resolve_references::jk_map.c (774): Checking for references with
prefix worker. with wild$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
jk_shm_calculate_size::jk_shm.c (132): shared memory will contain 1 ajp
workers of size 320 and $
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] do_shm_open::jk_shm.c
(493): Truncated shared memory to 448
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] do_shm_open::jk_shm.c
(538): Initialized shared memory /var/log/apache2/mod_jk.shm.3483 size=448$
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
do_shm_open_lock::jk_shm.c (412): Opened shared memory lock
/var/log/apache2/mod_jk.shm.3483.lock
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'ServerRoot' -> '/etc/apache2'
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.list' -> 'tomcat1'
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.type' -> 'ajp13'
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.host' -> 'localhost'
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.port' -> '8009'
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
build_worker_map::jk_worker.c (242): creating worker tomcat1
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
wc_create_worker::jk_worker.c (146): about to create instance tomcat1 of
ajp13
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
wc_create_worker::jk_worker.c (159): about to validate and init tomcat1
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_validate::jk_ajp_common.c (2512): worker tomcat1 contact is
'localhost:8009'
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2699): setting endpoint options:
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2702): keepalive:              0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2706): socket timeout:         0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2710): socket connect timeout: 0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2714): buffer size:            0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2718): pool timeout:           0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2722): ping timeout:           10000
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2726): connect timeout:        0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2730): reply timeout:          0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2734): prepost timeout:        0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2738): recovery options:       0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2742): retries:                2
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2746): max packet size:        8192
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_init::jk_ajp_common.c (2750): retry interval:         100
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
ajp_create_endpoint_cache::jk_ajp_common.c (2562): setting connection pool
size to 25 with min 1$
[Mon May 03 02:39:37 2010] [3483:1686849344] [info] init_jk::mod_jk.c
(3183): mod_jk/1.2.28 initialized
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after extension
stripping: index=0 $
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3483:1686849344] [debug]
uri_worker_map_switch::jk_uri_worker_map.c (482): Switching uri worker map
from index 0 to index$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_open::jk_uri_worker_map.c (770): rule map size is 0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after map open:
index=0 file='(null$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_set_time_fmt::jk_util.c (458): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y]$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] init_jk::mod_jk.c
(3107): Using fcntl() for locking.
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] init_jk::mod_jk.c
(3123): Setting default connection pool max size to 25
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.list' with
value 'tomcat1' to map.
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.type'
with value 'ajp13' t$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.host'
with value 'localhos$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_map_read_property::jk_map.c (491): Adding property 'worker.tomcat1.port'
with value '8009' to$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_map_resolve_references::jk_map.c (774): Checking for references with
prefix worker. with wild$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
jk_shm_calculate_size::jk_shm.c (132): shared memory will contain 1 ajp
workers of size 320 and $
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] do_shm_open::jk_shm.c
(493): Truncated shared memory to 448
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] do_shm_open::jk_shm.c
(538): Initialized shared memory /var/log/apache2/mod_jk.shm.3484 size=448$
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
do_shm_open_lock::jk_shm.c (412): Opened shared memory lock
/var/log/apache2/mod_jk.shm.3484.lock
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'ServerRoot' -> '/etc/apache2'
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.list' -> 'tomcat1'
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.type' -> 'ajp13'
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.host' -> 'localhost'
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug] jk_map_dump::jk_map.c
(589): Dump of map: 'worker.tomcat1.port' -> '8009'
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
build_worker_map::jk_worker.c (242): creating worker tomcat1
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
wc_create_worker::jk_worker.c (146): about to create instance tomcat1 of
ajp13
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
wc_create_worker::jk_worker.c (159): about to validate and init tomcat1
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_validate::jk_ajp_common.c (2512): worker tomcat1 contact is
'localhost:8009'
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2699): setting endpoint options:
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2702): keepalive:              0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2706): socket timeout:         0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2710): socket connect timeout: 0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2714): buffer size:            0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2718): pool timeout:           0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2722): ping timeout:           10000
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2726): connect timeout:        0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2730): reply timeout:          0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2734): prepost timeout:        0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2738): recovery options:       0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2742): retries:                2
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2746): max packet size:        8192
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_init::jk_ajp_common.c (2750): retry interval:         100
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
ajp_create_endpoint_cache::jk_ajp_common.c (2562): setting connection pool
size to 25 with min 1$
[Mon May 03 02:39:37 2010] [3484:1686849344] [info] init_jk::mod_jk.c
(3183): mod_jk/1.2.28 initialized
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after extension
stripping: index=0 $
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=0
nosize=0 capacity=0
[Mon May 03 02:39:37 2010] [3484:1686849344] [debug]
uri_worker_map_switch::jk_uri_worker_map.c (482): Switching uri worker map
from index 0 to index$
[Mon May 03 02:39:37 2010] [3487:1686849344] [debug] do_shm_open::jk_shm.c
(550): Attached shared memory /var/log/apache2/mod_jk.shm.3484 [2] size=44$
[Mon May 03 02:39:37 2010] [3487:1686849344] [debug] do_shm_open::jk_shm.c
(564): Resetting the shared memory for child 2
[Mon May 03 02:39:37 2010] [3487:1686849344] [debug]
do_shm_open_lock::jk_shm.c (353): Duplicated shared memory lock
/var/log/apache2/mod_jk.shm.3484$
[Mon May 03 02:39:37 2010] [3487:1686849344] [debug] jk_child_init::mod_jk.c
(3068): Initialized mod_jk/1.2.28
[Mon May 03 02:39:37 2010] [3488:1686849344] [debug] do_shm_open::jk_shm.c
(550): Attached shared memory /var/log/apache2/mod_jk.shm.3484 [3] size=44$
[Mon May 03 02:39:37 2010] [3488:1686849344] [debug] do_shm_open::jk_shm.c
(564): Resetting the shared memory for child 3
[Mon May 03 02:39:37 2010] [3488:1686849344] [debug]
do_shm_open_lock::jk_shm.c (353): Duplicated shared memory lock
/var/log/apache2/mod_jk.shm.3484$
[Mon May 03 02:39:37 2010] [3488:1686849344] [debug] jk_child_init::mod_jk.c
(3068): Initialized mod_jk/1.2.28
[Mon May 03 02:39:41 2010] [3487:1547036432] [debug] jk_translate::mod_jk.c
(3419): missing uri map for Js-Server-Ubuntu.gateway.2wire.net:/examples/
[Mon May 03 02:39:41 2010] [3487:1547036432] [debug]
jk_map_to_storage::mod_jk.c (3579): missing uri map for
Js-Server-Ubuntu.gateway.2wire.net:/exam$

I remove the log and restart the server after changing the config.
This time round, the jk_uri_worker_map.c was not seen.
After <Location> tag, i move on to try <LocationMatch> tag. It produce the
same log message.
I insert the tag below the httpd.conf, hope is the correct location to place
it in.
Does your mod_jk log look the same? Mine look funny though.

Thanks and Best Regards
Jie Sheng


On Mon, May 3, 2010 at 12:42 AM, André Warnier <a...@ice-sa.com> wrote:

> Hi.
>
> Jie Sheng Chua wrote:
>
>> Hi André and Juha,
>>
>>
>> I edit my tomcat server.xml as describe. my tomcat and apache listed that
>> the connector is started as in the log.
>> But when i access (http://192.168.1.68/examples/index.html) with IE, "The
>> webpage cannot be found" error is displayed.
>>
>
> Do yourself a favor, and in IE, in the settings, unclick the option for
> "use friendly error messages".
> This way, you will see the page really sent back by the server, and not the
> internal built-in IE "friendly" error page, which is useless.
>
>
>  When i access "http://192.168.1.68:8080/examples/index.html";, the page
>> can
>> be display.
>>
>
> Ok. This means that at least Tomcat can find the page.
>
> Your Apache/mod_jk configuration also looks ok to me.
>
> ...
>
>
>>
>> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> *apache2: error.log*
>>
>>
>> [Sun May 02 23:02:33 2010] [notice] Apache/2.2.14 (Ubuntu) mod_jk/1.2.28
>> configured -- resuming normal operations
>> [Sun May 02 23:04:27 2010] [error] [client 192.168.1.66] File does not
>> exist: /var/www/examples
>>
>>
> The above can be 2 things :
> a) either Apache is not even trying to pass this request to mod_jk
> or
> b) Apache passes the request to mod_jk, but mod_jk returns the request to
> Apache with the code DECLINE.
> This would mean that mod_jk has examined the URL of the request, determined
> that it does not match any of its "JkMount", and decided this request is not
> for him and should be handled by Apache itself.
> Then Apache tries to find (himself) the requested document under its own
> DocumentRoot, and it fails, so it returns a 404 Not Found response.
>
> To find out more, increase the log level of mod_jk :
>
>
> > # Set the jk log level [debug/error/info]
> > JkLogLevel    info
> to
> JkLogLevel debug
>
> Then retry and look at /var/log/apache2/mod_jk.log.
> It will tell you, step by step, how it tries to match the request URL to
> one of its JkMount mappings.
>
> Or it will tell nothing, and in that case we are in case (a) above.
>
> One question : is does not look that way from the configuration you posted,
> but are you using VirtualHost(s) in Apache ?
> If yes, then make sure that your JkMount directives are in the VirtualHost
> configuration section, or lookup the "JkMountCopy" directive. (JkMount's are
> not automatically inherited by VirtualHost sections, from the main httpd
> section).
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


-- 
Jie Sheng, Chua
(+65) 97520245
chuajiesh...@gmail.com

The contents of this email are confidential to the intended recipient and
may not be disclosed. Although it is believed that this email and any
attachments are virus free, it is the responsibility of the recipient to
confirm this.

Reply via email to