Uninstalling the adapter includes several steps such as
deleting project associations, server friends, and license files.
Procedure
- For each CLM product, delete its project associations with
the HP ALM server by clicking the x icon in the Actions column
of each project association that you want to delete. To find the project
associations that you want to delete, see Linking between HP ALM projects and CLM project areas.
- Delete server friends.
- Point your web browser to https://fully
qualified hostname:port/ccm/admin.
- In the Communication pane, click Consumers(Inbound).
- On the OAuth Consumers page, in
the Authorized Keys section, hover over a consumer
name and click the Remove Consumer icon in
the Actions column.
- Confirm that you want to delete the consumer name.
- Stop Apache Tomcat, if you selected this server when you
installed the adapter.
- Uninstall the product with Installation Manager or a command
line.
You can use a sample response file to run a silent uninstall.
You can find this response file where you extracted the adapter. If
you deleted the extracted adapter files, you can create a response
file by using this code.
<?xml version="1.0" encoding="UTF-8"?>
<!--This script assumes that the package id used for install is the default IBM Rational Adapter for HP ALM. If this is not true the profile section should be updated --><agent-input>
<uninstall modify='false'>
<offering id='com.ibm.rational.oslc.adapter.hpqm' profile='IBM Rational Adapter for HP ALM' features='main.feature'/>
</uninstall>
</agent-input>
- Delete any license files that you copied to the properties/version directory
for these locations:
- One or more CCM, RM, and QM application servers that the adapter
communicates with
- One or more HP ALM servers that the adapter communicates with
- Check the HPInstallDir directory and
delete any remaining files after the uninstall process finishes.
If you used WebSphere® Application
server, then undeploy the web application. You can use either a Jython
script or the administration console to undeploy the adapter web application.
The Jython script undeploys the adapter installed web application.
The script assumes hpqm_deploy.py was used to
deploy the web application.
- Uninstall the adapter web application by using a Jython
script or the console.
- Using a Jython script:
- To uninstall the adapter web application on a single application
server, open a command window and change the directory to WASInstallDir/AppServer/profiles/profileName/bin
- Run the following command by substituting WAS_username with
the WebSphere Application
Server admin username, WAS_password with the admin
user password, and path to the script with the
location of the script, for example, WASInstallDir/server/was/hpqm_undeploy.py (notice
the forward slash on the Windows platform).

./wsadmin.sh -language jython -user WAS_username -password WAS_password -f path to the script/hpqm_undeploy.py

wsadmin.bat -language jython -user WAS_username -password WAS_password -f path to the script/hpqm_undeploy.py
- Using the console:
- Open the Admin console for the WebSphere Application
Server.
- Click .
- Select the check box next to hpqm; click Uninstall.
This file is uninstalled from the application server.
- Delete all custom properties that you previously added.
- Navigate to
- Select the check box next to derby.system.home, java.awt.headless,
and org.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin
- Click Delete.
- Delete all temporary files and directories in the WebSphere Application Server
profile.
- Go to WASInstallDir/profiles/profile
name/temp/node name/server1 and
delete the hpqm directory.
- Go to WASInstallDir/profiles/profile
name/temp/wscache and delete the hpqm directory.
- Delete the profile that you created for the web application
by using the Profile Management tool. For more information about deleting
profiles, see Deleting profiles.