FIX: Cannot Restart the Queue Manager After You Perform a Controlled Shutdown (822079)



The information in this article applies to:

  • Microsoft BizTalk Adapter for MQSeries 1.0

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 fix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. 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.

REFERENCES

This hotfix is a cumulative package that includes the fixes that are described in the following Microsoft Knowledge Base articles:

316405 FIX: You Cannot Send Messages from MQSeries to BizTalk on a Computer Running the Chinese-Language Version of Windows 2000

320738 FIX: BizTalk Adapter for MQSeries Service Requires an Administrator Account

320726 Implement Custom Post-Processor to Add Header Properties in AIC

324529 Parameters for Polling Interval and Threshold After Failure

325165 Implement a Custom Preprocessor to Read Header Properties

331136 FIX: Support for Message Formats in Addition to MQFMT_STRING

816772 FIX: Job May Be Terminated if There Are Bad Messages in the Queue

821555 FIX: Some Unicode Characters Are Converted Incorrectly When A Message Is Put in MQSeries


Modification Type:MinorLast Reviewed:10/26/2005
Keywords:kbHotfixServer kbQFE kbHotfixServer kbQFE kbfix kbbug KB822079 kbAudDeveloper