Update local WebSphere DB configuration Without Admin page

Usage

DB password changes is a general scenario , it will easy for us to update WebSphere DB configuration(locally) on it's admin page while server running . How about local server stopped ? Will DB locked during server starting with wrong password ? 

Hence it comes a work around to update the DB configuration file directly .

Configuration file path 

$<webSphere installation path>\<server name>\profiles\<profiles name>\config\cells\<cell name>\security.xml

Example : C:\swdtools\IBM\WebSphere\AppServer\profiles\AppSrv02\config\cells\A15607LH59CXU9QNode01Cell\security.xml

Steps in detail

  1. Direct to configuration file path in section two , open security.xml in notepad++ .

  2. Search the DB password as key word , only one line will be hit .

  3. Update the 'description' property with new db password .

  4. Encrypt new db password in  https://strelitzia.net/wasXORdecoder/wasXORdecoder.html  , and update the value of 'password' property (left side of 'description') from Encrypted result 

 

posted @ 2019-03-14 10:21  愿世界对你温柔相待  Views(30)  Comments(0)    收藏  举报