While the update process is indeed simpler since CF2016, I'll note that the technotes for CF2016 and 2018 still don't currently point out the easier process for upgrading, so what I share below may be a big (and nice) surprise even for those who diligently read the update technotes.
Knowing when a connector update is needed
The need to update the connector is a relatively new phenomenon, starting mostly with CF10, with its being the first release where CF was based on Tomcat (and the underlying Tomcat web server connector, which Adobe modifies to support some functionality needed by some CF users). There were rare occasions that the old JRun-based connector needed updating.
And ever since CF10 also introduced the new automated update mechanism (available in the CF Admin or via the command line), each update's technote has indicated whether that update required a connector update, though sometimes one had to read the whole technote to find the wording indicating if a connector update was required.
A problem with that approach (of it being indicated only in the technote of any CF update that required a connector upgrade) is that if you skipped some CF updates, you then needed to know to look at the technote for EACH skipped update, to see if its technote indicated if THAT update required a connector update. Then you could do the connector update after that latest update you did.
Thankfully, since CF2016, Adobe has included a table at the bottom of each update technote indicating which previous updates may have required a connector update. So now one can easily consult that each time (or if you missed it when applying the update, to consider if you now need to update the connector.)
How to apply the connector update
Still more good news about CF2016 and above is that it's dead-simple to update the connector.
For those who dealt with similar needs to update the connector in CF10 and 11 (or who didn't know about the new feature in CF2016 and above), you would have had to REMOVE and then RE-ADD the connector (with the wsconfig tool). I discussed that (and the need to update the connector) in a 2013 post, "CF911: Why/when you MUST update the web server connector for ColdFusion 10/11 and may have missed it", and a follow-on post to that.
That process of removing/re-adding the connector was sometimes trivial, but sometimes a nightmare--especially if you had "tuned the connector" settings, or if you had manually tweaked some other aspect of the connector configuration.
Again, the very good news in CF2016 and above is that there is a new "upgrade" button in the wsconfig tool UI (to go with the -upgrade option in the wsconfig command-line tool that has long been available). One need merely run the wsconfig UI, choose an existing connector (from the list of them, such as might say localhost:cfusion), and then click "upgrade".
Note that you do need to do that for each connector, and it will restart the web server each time. (Again, you can script the process with the command-line wsconfig tool instead.)
Usually, all the upgrade process will do is update the connector file (isapi_redirect.dll for IIS, or mod_jk.so for Apache), as typically found in the coldfusion config/wsconfig directory and the numbered folder associated with the selected connector (for Apache, the numbered folders may exist elsewhere, as your conf file references to ColdFusion will indicate). Note also that if you may have tweaked your setup to point the web server config at a different location than CF would use by default, you may need to copy the updated connector file to that new location.
Sadly, even folks using CF2016 and above don't know about the new upgrade button, so are still removing/re-adding the connector the "old-fashioned way", which is tedious and more error-prone. This new upgrade button approach should be a great relief for them to learn about. (And I hope Adobe will please improve their ColdFusion update technotes to clarify the availability of this upgrade button for folks.)
If you need help with any of the above, I welcome questions here, of course, but I can also help you do the updates or connector upgrades, or other updates (such as the JVM or FusionReactor) via my short-term remote consulting, with satisfaction guaranteed.
(I may come back and edit this post later with screenshots, but for now I wanted to get the info out, especially with the news of today's "preview" of the Nov 2019 CF updates, which include in fact a fix to the web server connector, which would need to be applied using this upgrade feature, after applying the preview update.)
For more content like this:
Need more help with problems?
- Signup to get my blog posts by email:
- Follow my blog RSS feed
- View the rest of my blog posts
- View my blog posts on the Adobe CF portal
- If you may prefer direct help, rather than digging around here/elsewhere or via comments, I can help via my consulting services
- See that for more on how I can help a) over the web, safely and securely, b) usually very quickly, c) teaching you as we go, and d) with satisfaction guaranteed