Before you remove the Error Handler sample from the integration node, you
must complete the following tasks:
Delete the ErrorHandler integration server:
In the IBM Integration Toolkit, right-click the ErrorHandler
integration server that you created in the setup instructions (see
Setting up the Error Handler sample), click
Delete > Integration Server.
Stop the integration node.
On Windows: Start the command console that can run IBM Integration Bus
commands.
On Linux: Run the mqsiprofile command in a terminal window.
Enter the following command on the command line to stop your
integration node, where IB9NODE is the name of your integration node:
mqsistop IB9NODE
Clear the STAFF_IN queue and stop the queue manager.
Start WebSphere MQ Explorer:
On Windows: Click
Start > Programs > IBM WebSphere MQ > WebSphere MQ Explorer.
On Linux: On the command line, type: strmqcfg
In the Navigator view of WebSphere MQ Explorer, expand the
tree to display the queue manager of the integration node, IB9QMGR.
Expand the queue manager tree to display the queues.
Right-click the STAFF_IN queue, select
Clear messages.
In the Clear Queue window, select Queue will be cleared using MQGET API calls,
click Clear.
Right-click IB9QMGR,
click Stop.
In the End Queue Manager window, select
Controlled, click OK.
Remove the XA resource from the queue manager.
Remove the database switch file from the WebSphere MQ
installation:
On Windows:
If you are using DB2: Delete the DB2 file db2swit.dll
If you are using Oracle: Delete the file UKor8dtc23.dll, from
mq_install_dir\exits
where mq_install_dir is the path to where WebSphere MQ
is installed.
On Linux:
If you are using DB2, delete the DB2 file db2swit
If you are using Oracle, delete the file UKor8dtc23,
from the /var/mqm/exits directory.
Remove the resource manager, STAFFDB, from the queue manager
of the integration node, IB9QMGR:
Start WebSphere MQ Explorer:
On Windows: Click
Start > Programs > IBM WebSphere MQ > WebSphere MQ Explorer.
On Linux: On the command line, type: strmqcfg
In the Navigator view of WebSphere MQ Explorer, expand the
tree to display the queue manager of the integration node, IB9QMGR.
Right-click IB9QMGR,
click Stop.
In the End Queue Manager window, select Controlled,
click OK.
Right-click IB9QMGR, click
Properties. The Properties window
of the queue manager opens.
On the "XA resource managers" page, select the database
Error Handler resource that you created during the setup instructions
(see Setting up the Error Handler sample),
select Remove.
Start the queue manager for the integration node, in WebSphere MQ
Explorer, right-click IB9QMGR, click
Start. Ensure that the queue manager
started without errors.
If you are not using the Remove wizard to remove
the sample, you must restart your integration node. To
start your integration node:
On Windows: Start the command console that can run IBM Integration Bus
commands.
On Linux: Run the mqsiprofile command in a terminal window.
Enter the following command on the command line to start
your integration node, where IB9NODE is the name of your integration node: