Please, try to add this on top of your workers.properties:

# Status (RO worker)
worker.list=jk-status
worker.jk-status.type=status
worker.jk-status.read_only=true
# Manager (RW worker)
worker.list=jk-manager
worker.jk-manager.type=status
Then, on your httpd.conf check for the presence of those locations (your 
authorized ip may vary from 127.0.0.1):

 <Location /jk-status>
 JkMount jk-status
 Require ip 127.0.0.1
 </Location>
 <Location /jk-manager>
 JkMount jk-manager
 Require ip 127.0.0.1
 </Location>

Restart apache and retry.
NOTE: you called your configuration Master -> Slave but this is instead a 
standard load balancer (Round Robin), since you set your lbfactor to the same 
value.

Ciao, Dino.
13 febbraio 2022 17:36, "Roberto D. Maggi" <robertodma...@gmail.com 
(mailto:robertodma...@gmail.com?to=%22Roberto%20D.%20Maggi%22%20<robertodma...@gmail.com>)>
 wrote:
Hello you all,

I'm looking for some help due to this problem I'm fighting from a couple of 
days with.

I'm running ubuntu on the master and debian on the slave, installed 
Apache/2.4.48 (Ubuntu) and installed libapache2-mod-jk 1:1.2.48-1 to 
communicate wqith JBoss 7.3.

all seems to work correctly but
root@zanzan:~# tail -f /var/log/apache2/mod_jk.log
[Sun Feb 13 16:46:17.441 2022] [5871:139733850892160] [error] 
extension_fix::jk_uri_worker_map.c (579): Could not find worker with name 
'jk-status' in uri map post processing.
[Sun Feb 13 17:09:32.162 2022] [16203:139647018596224] [info] init_jk::mod_jk.c 
(3591): mod_jk/1.2.48 initialized
[Sun Feb 13 17:09:32.176 2022] [16203:139647018596224] [error] 
extension_fix::jk_uri_worker_map.c (579): Could not find worker with name 
'jk-manager' in uri map post processing.

I'm googling from 48hours but I can't find an actual solution.

Both apache and libapache2-mod-jk are installed via apt.

If this could help here below you can find my 
/etc/libapache2-mod-jk/workers.properties
worker.list = worker1
# LOADBALANCER METHOD E STICK SESSION E DETTAGLI DEI MEMBRI
worker.worker1.type = lb
worker.worker1.sticky_session = 0
worker.worker1.balance_workers = master, slave_1
# CONFIGURAZIONE DELLO MASTER
worker.master.type = ajp13
worker.master.host = 192.168.1.11
worker.master.port = 8009
worker.master.lbfactor = 10
# CONFIGURAZIONE DELLO SLAVE 1
worker.slave_1.type = ajp13
worker.slave_1.host = 192.168.1.12
worker.slave_1.port = 8009
worker.slave_1.lbfactor = 10
Thanks in advance

Rob

Reply via email to