Skip to main content
Inspiring
April 8, 2021
Question

Updating Coldfusion 2016 update 7 to Update 17 - Help

  • April 8, 2021
  • 1 reply
  • 856 views

Hi,

I've been tasked with updating Coldfusion 2016 currently at Update-7 to the latest (17), Can i directly go from 7 to 17 or is there any issues if I do so? Where can I find details regarding dependencies and instructions. Since I took over this from someone who left, this is my first attempt at an upgrade 🙂

My current version is 2016,0,07,311392. (Linux Redhat Enterprise)

(Tomcat version : 8.5.32.0, Java version 1.8.0_192)

 

Please let me know.

 

Thanks

Sajan

    This topic has been closed for replies.

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    April 8, 2021

    Sajan, the answer is a conditional yes or no. In the case of the specific jump you are referring to, technically the answer is no (for most people, as I will explain). 

     

    First, to be clear, yes, all CF updates are cumulative. NORMALLY, one could indeed skip to the latest they want. But in the case of CF2016 (and 2018), there are two conditions that change that circumstance, and there are in fact two updates between your update 7 and update 16 that you will need to consider implementing first, and almost certainly will need to.

     

    And second, note that the top of the technote that you want to apply will explain this when necessary (though the wording is not always as obvious as it can be)  If you look at the top of the technote for CF2016 u17, you see it explaining points:

    • you should consider doing update 11 first, if you want to use the CF Admin UI to download updates beyond that (like 17).
    • Then you also need to understand that in skipping update 14, there is still an important REQUIREMENT (that comes FROM that update) where you must run the CF web server connector (wsconfig) to "upgrade" any current web server connectors you have (in your case on Linux, from Apache to CF). If you do not, your web sites will seem broken.


    To be clear, it's not that you need to FIRST update to 14, just that if you do it or skip it, you need to do a step that was required AS OF that update. Again, the technote points you to the technote for update 14, where Adobe then shared more details.

     

    Some people never have to use the wsconfig tool, so that need to do the "upgrade" can really throw them. There's both a command line and a gui way to do that wsconfig upgrade, including one command-line approach to upgrade ALL connectors.

     

    Even then, note that for some folks it's NOT enough to JUST upgrade the connector. Another "security" facet of that required upgrade (which is caused by Tomcat, that CF runs on, rather than by a choice of Adobe's) is that you may need to modify an "address" attribute for the AJP connector element in the server.xml file for your CF instance. And you may need to add yet another attribute. Again, the technote talks about these, and the need to then restart CF. I also cover al that in a blog post with still more info.

     

    Finally, note again that all the above applies also to those updating CF2018 (referring to different update numbers, of course, but the SAME issues).

     

    If not for those issues, again normally you COULD otherwise just go to the latest available update. These are very unusual issues, but for many they cannot be ignored.

     

    Let us know how it goes.

    /Charlie (troubleshooter, carehart. org)
    SajanMAuthor
    Inspiring
    June 24, 2021

    Hello Charlie,

     

    Thanks for all your responses regarding ColdFusion questions in your forums, a great help to all.

     

    Finally I got the courage to do the upgrade and moving towards upgrading CF 2016 Update 17. I have a couple of more questions if you have some time to answer.

     

    1. I have upgraded my dev server (currently at Update-9) to Update 13 via the Admin Console. I noticed that the banner in Admin console says "I have a 30day trial period.." We had enterprise licenses and not sure why I see that,  When I checked your responses in one of the sites, you have mentioned that "Customers running ColdFusion 9 or earlier are not eligible for upgrade pricing" does this mean we have to get new licenses to proceed further, since we are at Upd-9 ?

     

    2. Our database is getting upgraded to Oracle 19c - Is CF 2016 Update 17 compatible? What I was told is we would need the Oracle JDBC driver so it can continue to work. Is this information true or we are forced to upgrade to CF 2021?

     

    Thanks in advance

    Sajan

     

    Community Expert
    June 29, 2021

     

    I was able to get the wsconfig run and was able to update the Apache connector, (wsconfig.log - logfile showed the  Apache start.. end with success, no errors). Verified the server.xml file and worker.prop[erties file - AJP secret looks correct with those. But after that I'm getting a 503 Service unavailable error when we launch our application/site. Trying to figure what to do next.

     

    Thanks

    Sajan


    Could be that Tomcat is running with IPv4 and Apache is running with IPv6. Take a look here for potential help:

     

    https://helpx.adobe.com/coldfusion/kb/coldfusion-2016-update-14.html

     

    Dave Watts, Eidolon LLC

    Dave Watts, Eidolon LLC