I am using apache2 + mod_jk(ajp protocol) + tomcat7.
but I always get the error below:
[Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [info] init_jk::mod_jk.c (3365): mod_jk/1.2.37 initialized
[Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [error] extension_fix::jk_uri_worker_map.c (564): Could not find worker with name 'jk-manager' in uri map post processing.
[Sat Mar 30 17:30:54.691 2013] [25238:3074365824] [error] extension_fix::jk_uri_worker_map.c (564): Could not find worker with name 'jk-status' in uri map post processing.
Any clue?
Best Answer
I believe that you need the tomcat admin package (for me, it's tomcat6-admin) to provide
jk-manager
andjk-status
. After installing that, you just need to configure these two items in yourworkers.properties
file.If you can't find
workers.properties
file, have a look at your apache config, for example:grep -r JkWorkersFile /etc/apache2
. The config should contain something like the following, which indicates the path of theworkers.properties
file:In your
workers.properties
file:Make sure you have the following or something like it: