WebSphere Message Brokers
File: an04025_
Writer: Bill Oppenheimer

Task topic

This build: July 31, 2007 21:33:08

Starting a WebSphere MQ queue manager as a Windows service

Before you start:

You must complete the following task:
  • Stop the queue manager for the WebSphere Message Broker component, using the endmqm command. If you prefer, you can use WebSphere MQ Version 5 Services or WebSphere MQ Version 6 Explorer.

When you start a WebSphere Message Broker component (broker, Configuration Manager, or User Name Server), the mqsistart command starts the associated queue manager if it is not already running. When you start any of these components on Windows, it starts as a service on Windows, but the associated queue manager does not. You can change the properties of the queue manager service to set the startup type to automatic to enable the queue manager to run as a Windows service.

This change ensures that the operation of the queue manager is independent of the logged-on status of the user that starts theWebSphere Message Broker component.

To start a WebSphere MQ Version 5 queue manager as a Windows service:

  1. Click Start > Programs > IBM > IBM WebSphere MQ > WebSphere MQ Services.
  2. Right-click the queue manager and select Properties, and the General tab.
  3. Change the Startup Type to Automatic. This setting ensures that the queue manager is started whenever the WebSphere MQ Service (a Windows service) is started.
  4. (Optional) Change the properties of the WebSphere MQ Services service by updating its Startup Type to Automatic using the Control Panel. This setting starts WebSphere MQ Services when Windows itself starts and isolates the operation of the WebSphere MQ Services service from any logged on user.
  5. Restart the queue manager for the WebSphere Message Broker component using the strmqm command or WebSphere MQ Services. The changes to the queue manager's startup type take effect when you restart Windows.
  6. Start the component using the mqsistart command.

To start a WebSphere MQ Version 6 queue manager as a Windows service:

  1. Click Start > Programs > IBM WebSphere MQ > WebSphere MQ Explorer.
  2. In the left pane, right-click the queue manager and select Properties. The Properties dialog opens. The General properties are displayed.
  3. Find the Startup property and set it to Automatic.
  4. Click OK. The Properties dialog closes and the change is applied.
  5. Restart the queue manager for the WebSphere Message Broker component using the strmqm command or WebSphere MQ Explorer. The changes to the queue manager's startup type take effect when you restart Windows.
  6. Start the component using the mqsistart command.
Related tasks
Starting and stopping a broker
Starting and stopping a Configuration Manager
Starting and stopping the User Name Server
Related reference
mqsistart command
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2007Copyright IBM Corporation 1999, 2007. All Rights Reserved.
This build: July 31, 2007 21:33:08

an04025_ This topic's URL is: