What is the fastest way to change data passwords for an entire server farm in coldfusion?

This question says it all: I want to change information about data sources on multiple coldfusion servers. Could this be written? Ideally, the solution will work on both CFMX 6.1 and CF8

+3
source share
2 answers

Can you use cfc API for version 8

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=basiconfig_37.html

From 6.1 I think you're out of luck. It stores the password in an XML file, somewhere, I suppose, you will need to read it, change it and save it. This will work for both versions.

+3
source

, , API- Admin CFIDE/adminapi/datasource.cfc, CFMX 6.1, API- Admin , ServiceFactory.

, (, ) temp , neo-datasource.xml(CF8) neo-query.xml(CFMX 6.1), . , . XML , . , , CF , xml.

+2

Source: https://habr.com/ru/post/1723893/


All Articles