We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
I've updated our ColdFusion 2018 from update 1 -> to update 3 sucessfully, the instances are running and working.
The instructions for this update said to recreate the apache mod_jk24.so so I recreated the connector by following these instructions manually
I've used the /cfdisk/coldfusion2018/cfusion/runtime/lib/wsconfig/connectors/apache/intel-win64/prebuilt/mod_jk24.so
However I'm getting apache error when I tried to test the apache
[admin@cfserver1 1]$ apachectl -t
httpd: Syntax error on line 358 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf/mod_jk.conf: Cannot load /cfdisk/coldfusion2018/config/wsconfig/1/mod_jk24.so into server: /cfdisk/coldfusion2018/config/wsconfig/1/mod_jk24.so: invalid ELF header
so I reverted the mod_jk24.so to the earlier version (ColdFusion 2018 Release 1)
We are running CentOS Linux release 7.5.1804 (Core), httpd x86_64 version 2.4.6 Release 80.el7.centos.1, Coldfusion 2018 Release 3 and we are using mod_jk connector mod_jk24.so, no SeLinux.
I've followed the same connector instructions when I updated CF 2016 -> CF 2018
Is there a difference with installing the connector with the supplied wsconfig tool vs manually?
Any ideas what might be wrong?
Could the issue be incompatible mod_jk with current apache version, if so how to I verify comparability?
Should I report a bug?
Did you copy the mod_jk.so file in /cfdisk/coldfusion2018/config/wsconfig/1/. You can use the wsconfig tool to create the connector.
I've extracted the wsconfig.jar file and copied the /cfdisk/coldfusion2018/cfusion/runtime/lib/wsconfig/connectors/apache/intel-win64/prebuilt/mod_jk24.so to /cfdisk/coldfusion2018/config/wsconfig/1/.
Should I try running the wsconfig tool?
You don't have to copy this in /cfdisk/coldfusion2018/config/wsconfig/1/.
You have to copy this in /etc/httpd/conf and change the name to mod_jk.so instead of mod_jk24.so.
Restart the Apache. If that will not work, I will give you the command to re-do the connector.
I've done that however I'm still getting the invalid ELF error.
Do you mind giving me the command to recreate the connector? Do I have to backup any files prior to running the command?
Sent the email and got a ticket logged.
To fix the issue, I ran wsconfig tool
./wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -v
Tool generated the updated mod_jk.so file in the /etc/httpd/conf folder, so I copied it to
then, I changed the /etc/httpd/conf/mod_jk.conf the line to point to new file:
# Load mod_jk module
LoadModule jk_module "/cfdisk/coldfusion2018/config/wsconfig/1/mod_jk.so"
then I tested the apache apachectl -t succesfully
Checking the mod_jk.log
tail -f /cfdisk/coldfusion2018/config/wsconfig/1/mod_jk.log
mod_jk.log:[..11:07:29 2019] [22322:140538513344640] [info] jk_log_version::jk_connector_version.h (21): Connector Version: 311299
mod_jk.log:[...16:20:38 2019] [5883:140273673635968] [info] jk_log_version::jk_connector_version.h (21): Connector Version: 312584
mod_jk.log:[..16:20:38 2019] [5866:140273673635968] [info] jk_log_version::jk_connector_version.h (21): Connector Version: 312584