The following instructions explain how to uninstall Message Queue.
Stop any running client applications.
Stop any running brokers. You will be prompted for user name (admin user) and password.
imqcmd shutdown bkr [-b hostName:port]
If you want to delete dynamic data, the Message Queue flat-file user repository, and the Message Queue access control properties file associated with each broker instance, remove this data using the following command.
imqbrokerd -name instanceName -remove instance
Find the zipped distribution file used to install Message Queue and place it in a temporary directory, temp_directory.
Change directories to temp_directory:
Unzip the distribution file.
where platform is solsparc or soli386, depending on the platform.
Change to the directory containing the Message Queue packages.
When prompted, type your root password.
Run the uninstall script.
The installation script lists Message Queue packages that are not shared, if any, that are currently installed. (It does not list shared Message Queue packages installed with Message Queue, and which might be in use by other programs.)
If you want to uninstall all the listed packages, enter y (yes), and skip to Step 15. Otherwise, continue with Step 11.
If you do not want to uninstall all of the Message Queue packages, then enter n (no), and use the pkgrm command, as described in Step 12, to uninstall the specific packages you want to remove.
Remove the Message Queue packages, using the following command:
where packageName specifies a Message Queue package. To remove multiple packages, separate the names by a space.
Because other products might be using Message Queue packages, be careful about removing them. The pkgrm command will warn you of any dependencies on a package before removing it.
When prompted, confirm your removal request by typing y (yes).
Type q to quit.
Exit the root shell.