Hello,
I want to use AJP connector for CAS 5.1.1 for Embedded Tomcat Container.
As i read in documentation
https://apereo.github.io/cas/5.1.x/installation/Configuration-Properties.html#ajp i set properties like this:
cas.server.ajp.secure=false
cas.server.ajp.enabled=true
cas.server.ajp.proxyPort=-1
cas.server.ajp.protocol=AJP/1.3
cas.server.ajp.asyncTimeout=5000
cas.server.ajp.scheme=http
cas.server.ajp.maxPostSize=20971520
cas.server.ajp.port=8009
cas.server.ajp.enableLookups=false
cas.server.ajp.redirectPort=-1
cas.server.ajp.allowTrace=false
cas.server.ajp.attributes.attributeName=attributeValue
In my log file i've got casProperties.getServer().getAjp().isEnabled() equal to true and casProperties.getServer().getAjp().getPort() equal to 8009.
U
nfortunately tomcat doesn't listen on port 8009.
netstat -l
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:3389 *:* LISTEN
tcp 0 0 *:58719 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 localhost:3350 *:* LISTEN
tcp 0 0 localhost:ipp *:* LISTEN
tcp 0 0 localhost:postgresql *:* LISTEN
tcp6 0 0 [::]:8443 [::]:* LISTEN
tcp6 0 0 [::]:56574 [::]:* LISTEN
tcp6 0 0 localhost:41519 [::]:* LISTEN
tcp6 0 0 [::]:sunrpc [::]:* LISTEN
tcp6 0 0 [::]:http [::]:* LISTEN
tcp6 0 0 [::]:ssh [::]:* LISTEN
Can you help me to reslove this problem.
Best regards
Ondrej