Attempts to update IBM Rational Test Workbench 8.0 components Rational Integration Tester Agent, Rational Integration Tester Platform Pack and Rational Test Control Panel result in "failed to delete ... dbgwrapper.dll".
When you already installed the following Rational Test Workbench (RTW) 8.0 components as Windows services, attempts to upgrade or rollback the installation through the IBM Installation Manager result in failure.
- Rational Integration Tester Agent (RIT Agent)
- Rational Integration Tester Platform Pack (RIT PP)
- Rational Test Control Panel (RTCP)
During the update process the uninstallation appears to succeed. However during the installation of the new versions, you see errors such as the following.
Error executing "C:\Program Files\IBM\RIT-Platform\httptcp\prunsrv.exe" operation (status=5)
Failed to delete C:\Program Files\ibm\RIT-Platform\jre\
The update has failed. You need to cancel the update.
- This problem exists from version 22.214.171.124 of the components. The same workaround applies to upgrading to any of the 8.0.0.x fix packs, and to upgrading to 8.0.1 from any older release.
- Upgrades from versions older than 8.0.1 to version 8.0.1 or newer will experience this problem.
- The expectation is that upgrades from 8.0.1 to fix packs and newer releases will not encounter this problem.
- The release date of version 8.0.1 was November 20, 2012.
During the update process, Installation Manager attempts to remove and reinstall the Windows services for these RTW components. This procedure cannot complete, because a system reboot is required to completely remove the old service entries before adding the new ones.
Windows 7, Windows XP, Windows Server 2003, Windows Server 2008
Diagnosing the problem
Consult the IBM Installation Manager log files at the following path.
Resolving the problem
In short, the solution consists of the following steps.
- Stop the service before the uninstallation.
- Uninstall the existing version of the software.
- Reboot the computer.
- Install the new version.
Do not use the upgrade or rollback capability.
- Stop the applicable Windows services.
IBM RIT Agent
IBM RIT HTTP Proxy
- Backup copies of any configuration file that you might have modified since installation.
- Additional steps for RTCP:
Do not select the option to delete the workspace when uninstalling RTCP. Deleting the workspace will lose any saved work including published stubs and scheduled tasks.
Ensure you do not select the Delete Workspace check-box.
If you are using a non-default location for the workspace you will need to know this location when installing the new version. To find out the location of your workspace open the container.server.properties file and note the setting of workingDirectory.
A typical location for this file is:
A typical entry is:
- Uninstall the component completely through IBM Installation Manager.
- Ensure that the installation folders are empty.
Example folder locations are as follows:
If you configured the RTCP workspace to be within the installation directory (not recommended) you must move this to a temporary location. Then you can reinstated the workspace after reinstallation
- Reboot the computer
- Install the new version of the component.
Click the Check for Other Versions, Fixes and Extensions button and click the Show all versions check-box and select installation of your required version.
Additional step for RTCP:
Enter the Workspace Path value found in step 3.
This ensures that the new version of RTCP will use your existing workspace with all published stubs and scheduled jobs.
- Edit the configuration files to add any previous settings back in by comparing with the saved versions.
Do not move saved config files back into the new installations as you may lose new settings that have been added in the updated releases.
- Move the backup files into place. Then re-start the IBM RTCP service, if the RTCP workspace location is within the installation directory,