Creating the queue manager and queues for the business process container

Why and when to perform this task

If you are using WebSphere MQ as an external Java Message Service (JMS) provider, you must create the queue manager and queues.

Steps for this task

  1. If you are not creating a WebSphere cluster setup, perform the following actions:
    1. Make sure that your user ID has the authority to create WebSphere MQ queues.
    2. Create the queue manager and queues:
      On Windows systems, enter:
      cd install_root\ProcessChoreographer
      createQueues.bat queueManager
      On UNIX and Linux systems, enter:
      cd install_root/ProcessChoreographer
      createQueues.sh queueManager
      where queueManager is the name of an existing queue manager, or the name to give to a new queue manager. If the named queue manager already exists, it is used to create the queues. If the queue manager does not exist, it is created and started before the default queues are created.
  2. If you are creating a WebSphere cluster setup that uses a WebSphere MQ cluster, only perform Creating clustered queue managers and queues.
  3. If you are creating a WebSphere cluster setup that uses a central queue manager, perform the following actions:
    1. Copy the create queues script file from the WebSphere machine to the machine that hosts the central queue manager:
      On Windows systems, copy the file:
      install_root\ProcessChoreographer\createQueues.bat
      On UNIX and Linux systems, copy the file:
      install_root/ProcessChoreographer/createQueues.sh
    2. On the machine that hosts the queue manager, make sure that WebSphere MQ is installed, and that your user ID has the authority to create WebSphere MQ queues.
    3. Create the queue manager and queues:
      On Windows systems, enter:
      cd install_root\ProcessChoreographer
      createQueues.bat queueManager
      On UNIX and Linux systems, enter:
      cd install_root/ProcessChoreographer
      createQueues.sh queueManager
      where queueManager is the name to give the new queue manager.
    4. Add a listener for the new queue manager by entering the command:
      runmqlsr -t tcp -p port -m queueManager
      Where port is the port on which the listener will listen.
    5. On UNIX and Linux systems, add definitions for the port and queue manager service:
      1. Add the port for the queue manager to the /etc/services file:
        <Service:Name> <port>/tcp
          <Service:Name>    name of the queue manager service
          <port>            port for the queue manager
      2. Add the service specified in the /etc/services file to the /etc/inetd.conf file:
        <Service:Name> stream tcp nowait mqm /usr/mqm/bin/amqcrsta amqrsta 
                       -m QueueManager
          <Service:Name>    name of the queue manager service
          <Service:Name>    name of the queue manager

Results

The queue manager and queues exist.





Searchable topic ID:   t2creq
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/workflow/tasks/t2creq.html

Library | Support | Terms of Use | Feedback