i have glassfish 4.1 running and checked the JK-Listener option on http-listener-2:
also i already installed apache (sudo yum install httpd) and created the following file on /etc/httpd/conf.d:
/etc/httpd/conf.d/ajp.conf
ProxyPass /painel ajp://localhost:8181/painel
ProxyPassReverse /painel ajp://localhost:8181/painel
But all that i got trying to use the ajp protocol was the 503 http error.
What i am missing?
if i change the protocol from ajp to http and port to 8080, it works. But the idea was to use the ajp.
Any help is welcome.