Why - Could not find worker with name 'jk-manager' in uri map post processing?

23,818

Solution 1

I believe that you need the tomcat admin package (for me, it's tomcat6-admin) to provide jk-manager and jk-status. After installing that, you just need to configure these two items in your workers.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 the workers.properties file:

<IfModule jk_module>
    JkWorkersFile /etc/libapache2-mod-jk/workers.properties
    # ...
</IfModule>

In your workers.properties file:

Make sure you have the following or something like it:

# configure jk-status
worker.list=jk-status
worker.jk-status.type=status
worker.jk-status.read_only=true
# configure jk-manager
worker.list=jk-manager
worker.jk-manager.type=status

Solution 2

Try checking your workers.properties for unwanted special characters by opening the file, for instance in notepad, as it is advised here (https://stackoverflow.com/questions/3666649/apache-httpd-2-2-x-mod-jk-1-2-30-tomcat-6-error-could-not-find-worker-with).

Share:
23,818

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin over 1 year

    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?