Clear Cache IBM Connections after config change by wsadmin

After you change configuration settings in one or more IBM Connections XML files, you must clear the WebSphere Connections cache. WebSphere then syncs the changes to all nodes perfectly.

Script to clear the cache:

cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

./wsadmin.sh -lang jython
execfile(“connectionsConfig.py”)
LCConfigService.checkOutConfig(“/tmp”,AdminControl.getCell())
LCConfigService.updateConfig(“versionStamp”,””)
LCConfigService.checkInConfig()
synchAllNodes()

Views: 356

By angioni

Leave a Reply

Your email address will not be published. Required fields are marked *