Skip to main content
dejank52055655
Inspiring
October 4, 2019
Question

Apache connector recreation

  • October 4, 2019
  • 3 replies
  • 1188 views

We are running CF2018 Update 3 with external web server (Apache) and we are getting ready to update the server to Update 5. I understand that I’ll have to upgrade to Update 4 before we go to 5. I was reading through documentation (https://helpx.adobe.com/coldfusion/kb/coldfusion-2018-update-5.html#Connectorconfiguration) and it says that we have to “Recreate Connector”.

After upgrading to Update 5 I ran the connector and got message that it was already configured:

[root@server1]# ./wsconfig -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -v
command line: -ws Apache -bin /usr/sbin/httpd -script /usr/sbin/apachectl -dir /etc/httpd/conf/ -v  
This web server is already configured for ColdFusion.

 

Do we have to run wsconfig just to make sure mod_jk.so gets updated?

 

thanks

    This topic has been closed for replies.

    3 replies

    Charlie Arehart
    Community Expert
    Community Expert
    October 9, 2019

    Before giving up entirely on the update (and the updated connector), note that Adobe has created a blog post today where they offer an updated connector (.dll file for IIS, .so file for Apache). While the title of the post may not make it seem it applies to you, I would recommend folks in this thread at least try it before deciding not to update (since the update does add important security fixes). And if it somehow does NOT work, then report that to Adobe at cfinstal@adobe.com (yes, that's one "L"):

    https://coldfusion.adobe.com/2019/10/error-accessing-coldfusion-administrator-using-connector-port/

    /Charlie (troubleshooter, carehart. org)
    mladen_c
    Participant
    October 10, 2019

    Hey Charlie,

    Even that "updated" version of mod_jk.so creates the same problem for me.

    Here is the whole email I have already sent to Adobe Support:

     

    "Hi Adobe Support,

     

    I have found an error with CF 2018 Update 5.

    I am running CentOS 7 and CF 2018 and with Update 5 Connector recreation is required which actually causes the problem.

    After extracting and updating mod_jk.so my Apache started failing to start/restart randomly.

    I did some research and found out that latest mod_jk.so causes those Apache problems.

    Version of mod_jk.so before the Update 5 works w/o problems.

     

    So mod_jk.so 1.2.46 – 314600 cause Apache in CentOS 7 problem (comes with Update 5 and recreation is required),

    while mod_jk.so 1.2.46 – 312584 works just fine (came with previous updates starting with Update 2).

     

    I was (probably not the only one) person that found out vulnerability in long time ago used mod_jk.so 1.2.41 after what you pushed Update 7 for CF 2016 and Update 2 for CF 2018 with 1.2.46.

     

    However I have servers with CF 2016 on CentOS 7 with Apache. One of them got updated to latest Update 12 and mod_jk.so 1.2.46 – 314600 works with Apache totally fine.

     

    Summary:

    - I have problem with combination: CF 2018 – CentOS 7 – Apache 2.4.6 90.el7.centos – mod_jk.so 1.2.46 – 314600

    - I don’t have problem with combination: CF 2016 – CentOS 7 – Apache 2.4.6 90.el7.centos – mod_jk.so 1.2.46 – 314600

     

    I resolved the problem with using older version of mod_jk.so 1.2.46 – 312584.

     

    If you find out this as interesting please let me know but this might need some fix."

     

    It took me some time testing everything, going through the snapshots, reinstalling CF and updates, one by one, thorough research you can say. So that's why I answered with confidence.

    Charlie Arehart
    Community Expert
    Community Expert
    October 10, 2019
    When in your summary you say cf 2017, do you mean cf2016? And. Is that update 12? And in your first bullet you mean cf2018 u5, right?
    /Charlie (troubleshooter, carehart. org)
    mladen_c
    Participant
    October 9, 2019

    Hi dejank52055655,

     

    I have a lot of experience with this. I don't recommend update to new mod_jk.so. You can do the Update 5 without updating to Update 4 before it because all CF updates are cumulative. However recreation of mod_jk.so file with wsconfig cause the problems with HTTPD service in CentOS 7 for me. That's why I can not recommend wsconfig update. I am currently researching Update 5. If you need more help PM me. Also do you speak Serbian? Might be easier that way 🙂

     

    Good Luck

    WolfShade
    Legend
    October 4, 2019

    I'm not sure if you have to run wsconfig for the mod_jk.so, but I do know that you have to remove the current connector and then recreate the connector in order for this to work.  At least, that's been my experience, and I just recently switched from CF11 to CF2016.

     

    HTH,

     

    ^ _ ^

    dejank52055655
    Inspiring
    October 4, 2019
    Hi, How do I remove the current connector and recreate it?
    WolfShade
    Legend
    October 4, 2019

    Run wsconfig, remove the current connector, then add the new one pointing at your Apache folders.

     

    V/r,

     

    ^ _ ^