tracker issue : CF-4205256

select a category, or use search below
(searches all categories and all time range)

The wsconfig "update" feature should back up changed connector files, similar to how a remove does

| View in Tracker

Status/Resolution/Reason: To Test//Fixed

Reporter/Name(from Bugbase): Charlie A. / ()

Created: 09/25/2019

Components: Installation/Config, Connector

Versions: 2018

Failure Type:

Found In Build/Fixed In Build: 2018 /

Priority/Frequency: Normal /

Locale/System: / Windows 10 64 bit

Vote Count: 5

When we run the wsconfig "update" feature (in the wsconfig UI), that simply updates the needed files (usually just the isapi_redirect.dll for IIS, or for Apache). While it's simple and fast, a problem happens if it turns out the connector update has a problem. Then there's no easy way to revert back to the old connector file(s).

At least when we "remove" a web server connector (with the wsconfig UI, since CF11), we are offered the option to let it backup the current connector files.

The "update" feature should offer the same. Or at least backup what the update CHANGES, whether it's just the dll or .so file, or perhaps also a properties file. I don't know if the update may ever change a properties file, but if it did, that could lose customizations that a user did to that file, and again this backup of whatever the update changes could be used to detect and/or recover from that.



I should have added that I do think the same should apply if one does the command-line wsconfig with the update flag.
Comment by Charlie A.
31387 | September 25, 2019 09:52:24 PM GMT
looks like the wsconfig update option only replaces the mod_jk so / isapi dll file, without replacing or recreating the other config files. In light of that, does it make sense to back up the config files?
Comment by Piyush K.
31638 | October 17, 2019 01:46:08 PM GMT
Yes, but my point was that it does not backup the dll or so file, and as long as you could have it do that, then sure you may as well backup the rest right? But at least backup what you change.
Comment by Charlie A.
31639 | October 17, 2019 04:19:10 PM GMT
Nearly 5 months on, and no further response on this issue (nor even a reply to my answer to your one question). Come on, folks.
Comment by Charlie A.
33130 | February 15, 2020 09:02:21 PM GMT
@Charlie, makes sense to backup the touched files. We will look into this..
Comment by Vamseekrishna N.
33145 | February 18, 2020 03:58:54 AM GMT