Hi

I having a problem with mod_jk [ Could not init service for
worker=avizpado] where avizpado is my workername [ you can see all the
configuration attatch] i already have test if the port 8009 is open
[nmap and telenet] and is open but i have absolute no idea what is wrong

Thanks in avance for the help

Happy Holidays
Carlos O.

PD. If you need more information please ask.

Information

Os Centos 5 x84_64
Mod_jk 1.2.26 [from
http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.26/x86_64/
]
JDK 1.6.0.12
Apache INFO
Apache Version     Apache/2.2.9 (Unix) PHP/5.2.6 mod_jk/1.2.26
Apache API Version     20051115
User/Group     daemon(2)/2
Max Requests     Per Child: 10000 - Keep Alive: on - Max Per Connection: 100
Timeouts     Connection: 300 - Keep-Alive: 5
Virtual Server     Yes
Tomcat 6.0.18

========================= MOD_JK LOG ======================================

[Tue Dec 15 18:03:58 2009] [30953:2720246336] [debug]
find_match::jk_uri_worker_map.c (516): Found a wildchar match
'/*.jsp=avizpado'
[Tue Dec 15 18:03:58 2009] [30953:2720246336] [debug]
jk_handler::mod_jk.c (2222): Into handler jakarta-servlet
worker=avizpado r->proxyreq=0
[Tue Dec 15 18:03:58 2009] [30953:2720246336] [debug]
wc_get_worker_for_name::jk_worker.c (115): found a worker avizpado
[Tue Dec 15 18:03:58 2009] [30953:2720246336] [debug]
wc_maintain::jk_worker.c (323): Maintaining worker avizpado
[Tue Dec 15 18:03:58 2009] [30953:2720246336] [debug]
ajp_maintain::jk_ajp_common.c (2652): reached pool min size 1 from 1
cache slots
[Tue Dec 15 18:03:58 2009] [30953:2720246336] [debug]
ajp_maintain::jk_ajp_common.c (2661): recycled 0 sockets in 0 seconds
from 1 pool slots
[Tue Dec 15 18:03:58 2009] [30953:2720246336] [debug]
wc_get_name_for_type::jk_worker.c (292): Found worker type 'ajp13'
[Tue Dec 15 18:03:58 2009] [30953:2720246336] [error]
jk_handler::mod_jk.c (2314): Could not init service for worker=avizpado
[Tue Dec 15 18:19:50 2009] [30955:2720246336] [warn]
map_uri_to_worker::jk_uri_worker_map.c (608): Uri * is invalid. Uri must
start with /
[Tue Dec 15 18:19:50 2009] [30955:2720246336] [debug]
jk_translate::mod_jk.c (3147): no match for * found
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_set_time_fmt::jk_util.c (430): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y] '
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_open::jk_uri_worker_map.c (427): rule map size is 1
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/*=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_set_time_fmt::jk_util.c (430): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y] '
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_set_time_fmt::jk_util.c (430): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y] '
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_set_time_fmt::jk_util.c (430): Pre-processed log time stamp format is
'[%a %b %d %H:%M:%S %Y] '
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_open::jk_uri_worker_map.c (427): rule map size is 9
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/*.jsp=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/*.iface=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/*.jsf=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/xmlhttp/*=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/block/*=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/js/*=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/img/*=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/css/*=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/images/*=avizpado' source 'JkMount' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
do_shm_open::jk_shm.c (402): Truncated shared memory to 28800
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
do_shm_open::jk_shm.c (447): Initialized shared memory size=28800
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
do_shm_open_lock::jk_shm.c (321): Opened shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug] init_jk::mod_jk.c
(2775): Initialized shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672
bytes)
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug] init_jk::mod_jk.c
(2792): Setting default connection pool max size to 1
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property 'worker.list' with
value 'avizpado' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.type' with value 'ajp13' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.host' with value 'localhost' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.port' with value '8009' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.lbfactor' with value '3' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.connection_pool_timeout' with value '600' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.socket_keepalive' with value '1;' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.mount' with value '/*' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_read_property::jk_map.c (492): Adding property
'worker.avizpado.socket_timeout' with value '60' to map.
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_resolve_references::jk_map.c (770): Checking for references with
prefix worker. with wildcard (recursion 1)
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map: 'ServerRoot' ->
'/usr/local/apache2'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map: 'worker.list' -> 'avizpado'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map: 'worker.avizpado.type' -> 'ajp13'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map: 'worker.avizpado.host' ->
'localhost'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map: 'worker.avizpado.port' -> '8009'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map: 'worker.avizpado.lbfactor' -> '3'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map:
'worker.avizpado.connection_pool_timeout' -> '600'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map:
'worker.avizpado.socket_keepalive' -> '1;'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map: 'worker.avizpado.mount' -> '/*'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
jk_map_dump::jk_map.c (590): Dump of map:
'worker.avizpado.socket_timeout' -> '60'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
build_worker_map::jk_worker.c (241): creating worker avizpado
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
wc_create_worker::jk_worker.c (145): about to create instance avizpado
of ajp13
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
wc_create_worker::jk_worker.c (158): about to validate and init avizpado
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_validate::jk_ajp_common.c (2249): worker avizpado contact is
'localhost:8009'
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2380): setting endpoint options:
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2383): keepalive:        1
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2387): timeout:          60
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2391): buffer size:      0
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2395): pool timeout:     600
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2399): connect timeout:  0
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2403): reply timeout:    0
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2407): prepost timeout:  0
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2411): recovery options: 0
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2415): retries:          2
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_init::jk_ajp_common.c (2419): max packet size:  8192
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
ajp_create_endpoint_cache::jk_ajp_common.c (2288): setting connection
pool size to 1 with min 1
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
wc_create_worker::jk_worker.c (181): mounting /* to worker avizpado
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [debug]
uri_worker_map_add::jk_uri_worker_map.c (379): wildchar rule
'/*=avizpado' source 'worker definition' was added
[Tue Dec 15 18:41:41 2009] [22175:2720246336] [info] init_jk::mod_jk.c
(2825): mod_jk/1.2.26 initialized
[Tue Dec 15 18:41:41 2009] [1161:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [2] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:41 2009] [1161:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 2
[Tue Dec 15 18:41:41 2009] [1161:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:41 2009] [1161:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:41 2009] [1161:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:41 2009] [1162:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [3] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:41 2009] [1162:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 3
[Tue Dec 15 18:41:41 2009] [1162:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:41 2009] [1162:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:41 2009] [1162:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:41 2009] [1163:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [4] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:41 2009] [1163:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 4
[Tue Dec 15 18:41:41 2009] [1163:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:41 2009] [1163:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:41 2009] [1163:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:41 2009] [1164:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [5] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:41 2009] [1164:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 5
[Tue Dec 15 18:41:41 2009] [1164:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:41 2009] [1164:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:41 2009] [1164:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:41 2009] [1165:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [6] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:41 2009] [1165:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 6
[Tue Dec 15 18:41:41 2009] [1165:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:41 2009] [1165:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:41 2009] [1165:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:42 2009] [1166:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [7] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:42 2009] [1166:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 7
[Tue Dec 15 18:41:42 2009] [1166:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:42 2009] [1166:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:42 2009] [1166:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:43 2009] [1168:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [8] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:43 2009] [1168:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 8
[Tue Dec 15 18:41:43 2009] [1168:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:43 2009] [1168:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:43 2009] [1167:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [9] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:43 2009] [1168:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:43 2009] [1167:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 9
[Tue Dec 15 18:41:43 2009] [1167:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:43 2009] [1167:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:43 2009] [1167:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26
[Tue Dec 15 18:41:53 2009] [1169:2720246336] [debug]
do_shm_open::jk_shm.c (457): Attached shared memory [10] size=28672
free=28672 addr=0x2b33ad16c000
[Tue Dec 15 18:41:53 2009] [1169:2720246336] [debug]
do_shm_open::jk_shm.c (471): Reseting the shared memory for child 10
[Tue Dec 15 18:41:53 2009] [1169:2720246336] [debug]
do_shm_open_lock::jk_shm.c (262): Duplicated shared memory lock
/usr/local/apache2/logs/mod_jk.shm.22175.lock
[Tue Dec 15 18:41:53 2009] [1169:2720246336] [debug]
jk_child_init::mod_jk.c (2730): Attached
shm:/usr/local/apache2/logs/mod_jk.shm.22175 (28672 bytes)
[Tue Dec 15 18:41:53 2009] [1169:2720246336] [debug]
jk_child_init::mod_jk.c (2740): Initialized mod_jk/1.2.26

================ MOD JK SETTINGS =======================================

# Where to find workers.properties
  # Update this path to match your conf directory location (put
workers.properties next to httpd.conf)
  JkWorkersFile /root/workers.properties
  # Where to put jk shared memory
  # Update this path to match your local state directory or logs directory
  JkShmFile     /usr/local/apache2/logs/mod_jk.shm
  # Where to put jk logs
  # Update this path to match your logs directory location (put
mod_jk.log next to access_log)
  JkLogFile     /usr/local/apache2/logs/mod_jk.log
  # Set the jk log level [debug/error/info]
  JkLogLevel   debug
  # Select the timestamp log format
  JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
  # Send everything for context /examples to worker named worker1 (ajp13)
  JkMount  /* avizpado

=========================== workers.properties ============================
#Lista de Workers Registrados [separados por , y un  espacio]
worker.list= avizpado
worker.avizpado.type=ajp13
worker.avizpado.host=localhost
worker.avizpado.port=8009
worker.avizpado.lbfactor=3
worker.avizpado.connection_pool_timeout=600
worker.avizpado.socket_keepalive=1;
worker.avizpado.mount=/*
worker.avizpado.socket_timeout=60

===================== Vhost Settings ====================================
 #MOD JK
  JkOptions     +ForwardURIProxy
  JkOptions     +ForwardURIEscaped
  JkOptions     +ForwardDirectories
  JkOptions     +ForwardLocalAddress

  # send all requests ending in .jsp to worker1
  JkMount /*.jsp avizpado
  JkMount /*.iface avizpado
  JKMount /*.jsf avizpado
  JKMount /xmlhttp/* avizpado
  JKMount /block/*   avizpado
  JKMount /js/*      avizpado
  JKMount /img/*     avizpado
  JKMount /css/*     avizpado
  JKMount /images/*  avizpado



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to