Shutting down WebSphere Partner Gateway

Before you can upgrade, you must shut down the previous version. The Receiver must be shut down to stop accepting new documents and documents in progress must finish processing. Follow these steps to properly shutdown the system:

  1. Stop the Receiver by using the shutdown_bcg.* script that is appropriate for your operating system. The shutdown_bcg.* script is located in the following directory:

    {INSTALL DIR}/receiver/was/bin

    Check the console Document Viewer to verify that documents in progress have finished processing.

  2. Stop the Document Manager by using the shutdown_bcg.* script that is appropriate for your operating system. The shutdown_bcg.* script is located in the following directory:

    {INSTALL DIR}/router/was/bin

  3. Stop the Community Console by using the stopServer.* script that is appropriate for your operating system. The stopServer.* script is located in the following directory:

    {INSTALL DIR}/console/was/bin

  4. Empty the MQ message queues. It is important to empty the queues because the upgraded version of WebSphere Partner Gateway will not be able to process messages created by a previous version. You can empty the queues using WebSphere MQ Explorer as follows:

    Windows:

    1. Expand the Queue Managers folder.
    2. Right-click on the queue manager and select All Tasks > Clear Messages.

    Unix:

    1. Enter t following command to change the user to mqm:
      su - mqm
    2. Run the display command to list the queues.
    3. Clear all queues.
    4. Repeat this for every queue returned by the display command.
  5. Shut down the MQ queue manager and listener using the following commands:
    Note:
    For Unix systems, this needs to be done by the mqm user.
    endmqm bcg.queue.manager
    endmqlsr -m bcg.queue.manager

Copyright IBM Corp. 2003, 2005