Removing deployments or releases via JMX

Document ID : KB000071719
Last Modified Date : 23/02/2018
Show Technical Document Details
Introduction:
How to remove releases or deployments via JMX console of Release Automation
Background:
In some cases there is a need to remove the release/deployment as an administrative process via JMX console of Data Management Server.
Environment:
Release Automation: 5.5.2,6.1,6.2,6.3,6.4
Instructions:
Please follow the instruction to remove the releases/deployments using JMX.
  1. Navigate to domain of release center by accessing URL http://<NAC-HOST>:<JMX-PORT>/mbean?objectname=releasecenter%3Atype%3DInfo. You will be prompted for username and password for login. Please use respective JMX username and password in your environment. (Note: you need to replace NAC-HOST and JMX-PORT with NAC hostname/IP and port JMX is running in your environment)
  2. On the page loaded invoke method getAllActiveReleases which will give you all running releases along with Id's. Make note of these release id's and names
  3. Click on back button of browser and come back to page view as a result of step 1. Now invoke the method removeRelease passing in the release-id you want to remove (the same is captured in step 2). This action take single release Id.