secondary ajp worker not working between apache and tomcat secondary ajp worker not working between apache and tomcat apache apache

secondary ajp worker not working between apache and tomcat


Do you have SELinux on the system? Can you try:

setenforce 0

It could be preventing the apache process to connect. Also, check your firewall rules...


By default 8009 is opened by selinux, you can open more ports to use.

[goalin@centos63 logs]$ sudo semanage port -l | grep 8009

http_port_t tcp 80, 443, 488, 8008, 8009, 8443

[goalin@centos63 logs]$ sudo semanage port -a -t http_port_t -p tcp 18009

[goalin@centos63 logs]$ sudo semanage port -a -t http_port_t -p tcp 28009

[goalin@centos63 logs]$ sudo semanage port -l | grep 8009

http_port_t tcp 28009, 18009, 80, 443, 488, 8008, 8009, 8443

[goalin@centos63 logs]$