Undeploying the web application

Uninstall the Rational Adapter for HP ALM web application using a Jython script or the administration console.

About this task

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.

Procedure

  1. Uninstall the adapter web application using a Jython script or the console.
    • Using a Jython script:
      1. 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
      2. Run the following command 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).
        For Linux
        ./wsadmin.sh -language jython -user WAS_username -password WAS_password -f path to the script/hpqm_undeploy.py 
        For Windows
        wsadmin.bat -language jython -user WAS_username -password WAS_password -f path to the script/hpqm_undeploy.py 
    • Using the console:
      1. Open the Admin console for the WebSphere Application Server.
      2. Click Applications > Application Types > WebSphere enterprise applications.
      3. Select the check box next to hpqm; click Uninstall. This file is uninstalled from the application server.
      4. Delete all custom properties that you have previously added.
        1. Navigate to Servers > Server Types > WebSphere application servers > Server1 > Process definition > Java Virtual Machine > Custom properties
        2. Select the check box next to derby.system.home, java.awt.headless, and org.eclipse.emf.ecore.plugin.EcorePlugin.doNotLoadResourcesPlugin
        3. Click Delete.
  2. Delete all temporary files and directories in the WebSphere Application Server profile.
    1. Go to WASInstallDir/profiles/profile name/temp/node name/server1 and delete the hpqm directory.
    2. Go to WASInstallDir/profiles/profile name/temp/wscache and delete the hpqm directory.
  3. Delete the profile you created for the web application using the Profile Management tool. For more information about deleting profiles, see Deleting profiles.

Feedback