Microsoft KB Archive/822079

= FIX: Cannot Restart the Queue Manager After You Perform a Controlled Shutdown =

Article ID: 822079

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft BizTalk Adapter for MQSeries

-



SYMPTOMS
After you perform a controlled shutdown of an MQSeries Queue Manager, you cannot restart the queue manager and you receive the following error message:

Error code 24 starting Arrive/Queue Manager MQSeries service.

The MQSeries service was unable to start Arrive/Queue Manager. The error message reported was as follow: AMQ8041: The queue manager cannot be restarted or deleted because processes, that were previously connected, are still running. Process 3752 is still running. AMQ7018: The queue manager operation cannot be completed.

Use MQSeries Services to investigate why the service could not begin. If recovery for this service is active, MQSeries will attempt to recover.

Note The process ID that is mentioned in this error message is the BizTalk Adapter for MQSeries application.



RESOLUTION
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that this article describes. Apply this hotfix only to systems that are experiencing this specific problem.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --  20-Nov-2002  21:19                      1,294  Aicmq_mqpipeline_1.asp 20-Nov-2002 21:19                      1,248  Aicmq_mqpipeline_1_post.asp 20-Nov-2002 21:19                      1,265  Bts_mqs_sdk_guids.h   01-Aug-2003  20:59  1.0.45.12          27,648  Aicmq.dll 01-Aug-2003 20:59  1.6.1.1            51,200  Lkrhash.dll 01-Aug-2003 20:59  1.0.45.12         172,544  Mmcmqs.dll 01-Aug-2003 20:59  1.0.45.12          27,648  Mqadaptersetuplibrary.dll 01-Aug-2003 20:59  1.0.45.12          70,144  Mqhelper.dll 01-Aug-2003 20:59  1.0.45.12           7,680  Mqhelperps.dll 01-Aug-2003 20:59  1.0.45.12          58,880  Mtbworker.dll 01-Aug-2003 20:59  1.0.45.12          20,480  Svcevent.dll 01-Aug-2003 20:59  1.0.45.12          33,792  Mtbsvc.exe Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.

Installation Instructions
Note You must apply this fix on an original released version installation of the BizTalk Adapter for MQSeries. If you installed previous hotfixes, you must roll back to the original released version when you remove the hotfixes. To install this hotfix, follow these steps:
 * 1) Stop the BizTalk Adapter for MQSeries service.
 * 2) In Component Services, remove the MQHelper COM component from the BizTalk Adapter for MQSeries COM+ application.
 * 3) Install the Btsmqs_q822079.exe fix. You may be prompted to restart the server.
 * 4) Add MQHelper COM+ components to the BizTalk Adapter for MQSeries COM+ application by using the new binary (C:\Program Files\Microsoft BizTalk Adapter for MQSeries\Mqhelper.dll).
 * 5) Make sure that the Transaction property is set to Required and that the Concurrency property is set to Required.
 * 6) Replace the original released version of the Active Server Pages (ASP) pages that are installed in the BizTalk folder (C:\Program Files\Microsoft BizTalk Server\MessagingManager\Pipeline) with the ASP pages that are in the .zip file (Aicmq_mqpipeline_1.asp and Aicmq_mqpipeline_1_post.asp).



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
This fix works with IBM MQSeries 5.3 CSD03 and later.

This fix only works with controlled shutdowns. With immediate shutdowns, the BizTalk Adapter for MQSeries does not receive notification from MQSeries to close connections. Shut down the BizTalk Adapter for MQSeries application before you start the queue manager.

