Repository tools command to remove a patch fix from an ELM application

Use the patchRevertApp command to remove a patch fix from an IBM® Engineering Lifecycle Management (ELM) application on the server and revert to the previous patch fix.

Purpose

The patchRevertApp command removes a patch fix from an ELM application on the server and reverts to the previous patch fix. You can use this command only once to revert a patch that was applied by using the patchApplyApp command. The reason for this single use is because the patchApplyApp command stores a backup copy of only the current configuration before the new patch fix is applied.

You can use this command whether the server is running or not. If the server is running, you must restart the application to remove the current patch fix and revert to the previous patch fix. You do not need to reset the application to clear the cache before you restart the application.

Parameters

Attribute Description Required Default
app The application context for which to revert the patch fix. Use this parameter when you run the patchRevertApp command to remove patch fixes from applications that do not have repository tools commands.
For example, to run this command for the Change and Configuration Management application, set the value of app to ccm:
repotools-jts.bat -patchRevertApp app=ccm
No If the app parameter is omitted, the command is applied to the application that is associated with the repository tools command.
For example, the following command will revert the most recent patch fix to the Change and Configuration Management application:
repotools-ccm.bat -patchRevertApp
The following two commands are functionally equivalent:
repotools-ccm.bat -patchRevertApp
repotools-jts.bat -patchRevertApp app=ccm

Example

This example shows how to revert patch fixes targeted to individual applications:

Windows operating system icon Open a command prompt and enter these commands:

repotools-jts.bat -patchRevertApp
repotools-jts.bat -patchRevertApp app=ccm
repotools-ccm.bat -patchRevertApp
repotools-qm.bat -patchRevertApp
repotools-rm.bat -patchRevertApp

Linux operating system icon UNIX operating system icon Open a command line and enter these commands:

repotools-jts.sh -patchRevertApp
repotools-jts.sh -patchRevertApp app=ccm
repotools-ccm.sh -patchRevertApp
repotools-qm.sh -patchRevertApp
repotools-rm.sh -patchRevertApp

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki