coldfusion 2021 apache 2.4 win64 connector not working 'service unavailable'
hello all.
i am at a loss... i installed a vanilla windows 2019 server, coldfusion 2021 trial and apache 2.4.46 win64 (also vanilla). i then run the coldfusion connector wizzard and that does what it does and says it's done afterwards.
when i want to connect to a website then, i only get "Service Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."
i checked, also using https://helpx.adobe.com/coldfusion/kb/coldfusion-apache-manual-connector-configuration.html and basically, all seems ok:
- mod_jk.conf, workers.properties and mod_jk.so is in apache/conf directory
- the respective two lines are in http.conf:
Include "C:\Apache24\conf\mod_jk.conf"
Include "C:\ColdFusion2021\config\wsconfig\1\mod_jk_vhost.conf"
- apache also starts and shows 'Apache/2.4.46 (Win64) OpenSSL/1.1.1h mod_jk/1.2.46' in services
- but mod_jk.log in c:\ColdFusion2021\config\wsconfig\1 shows the following error:
[Mon Nov 16 13:11:25 2020] [6208:11180] [info] jk_open_socket::jk_connect.c (816): connect to ::1:8020 failed (errno=61)
[Mon Nov 16 13:11:25 2020] [6208:11180] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1158): (cfusion) Failed opening socket to (::1:8020) (errno=61)
[Mon Nov 16 13:11:25 2020] [6208:11180] [error] ajp_send_request::jk_ajp_common.c (1829): (cfusion) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)
[Mon Nov 16 13:11:25 2020] [6208:11180] [info] ajp_service::jk_ajp_common.c (3000): (cfusion) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)
[Mon Nov 16 13:11:25 2020] [6208:11180] [error] ajp_service::jk_ajp_common.c (3021): (cfusion) connecting to tomcat failed (rc=-3, errors=66, client_errors=0).
- in server.xml in c:\ColdFusion2021\cfusion\runtime\conf, the port seems to be matching:
<Connector protocol="AJP/1.3" port="8020" redirectPort="8453" secret="9d752b89-0684-4a35-afde-7f9fcc1d9eb9" maxThreads="500" connectionTimeout="60000" tomcatAuthentication="false"/>
- coldfusion runs fine on port 8500 (http://{hostname}:8500/CFIDE/administrator) shows admin backend.
i have the same issue when also updating some coldfusion 2016 patches (somewhere after update 10) that i could apache no longer get to work. i had to downgrade to update 10 to have it working again. i thought i would have messed up something ('updating' the connectors or deleting and rebuilding them did not work either) - but now i am on a new vanilla system...
i hope somebody can help here... many thanks in advance!
lukas
