APAR status
Closed as program error.
Error description
After upgrading to MQ 9.3.3 CD release, a .Net application on Windows fails with the following exception: Error connecting to qmgr: System.TypeInitializationException: The type initializer for 'IBM.WMQ.MQQueueManager' threw an exception. ---> System.ArgumentException: The path is not of a legal form. at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths) at System.IO.Path.GetFullPathInternal(String path) at System.IO.Path.GetFullPath(String path) at System.IO.FileSystemWatcher.StartRaisingEvents() at System.IO.FileSystemWatcher.set_EnableRaisingEvents(Boolean value) at IBM.WMQ.MQClientCfg.CheckForMqclientIniFileChanges() at IBM.WMQ.Nmqi.NmqiEnvironment..ctor(NmqiPropertyHandler nmqiPropertyHandler) at IBM.WMQ.Nmqi.NmqiFactory.GetInstance(NmqiPropertyHandler properties) at IBM.WMQ.MQQueueManager..cctor() --- End of inner exception stack trace --- The above error is thrown when running the .Net exception with system account and mqclient.ini doesn't exist in any of the three location mentioned below: 1. In current directory 2. In MQ_DATA_PATH 3. In HOMEDRIVE\HOMEPATH.
Local fix
When running the .Net application with system account, make sure that the mqclient.ini file exists in one of 3 location mentioned below: 1. In current directory 2. In MQ_DATA_PATH 3. In HOMEDRIVE\HOMEPATH.
Problem summary
**************************************************************** USERS AFFECTED: Users who are using MQ 9.3.3 CD release and running a .Net application using the system account on Windows. Platforms affected: Windows **************************************************************** PROBLEM DESCRIPTION: When MQ client was upgraded to 9.3.3 CD release and .Net application was run with system account. Exception System.TypeInitializationException was thrown to the application. This exception was thrown as the mqclient.ini didn't exist in one of the three locations mentioned below: 1. In current directory 2. In MQ_DATA_PATH 3. In HOMEDRIVE\HOMEPATH A coding error in the managed .Net layer caused the path and filter properties of FileSystemWatcher to be empty, which caused the exception
Problem conclusion
Managed .Net client code has been corrected so that the path and filter properties of FileSystemWatcher not to be empty. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v9.x CD 9.3.6 The latest available maintenance can be obtained from 'IBM MQ Recommended Fixes' https://www.ibm.com/support/pages/recommended-fixes-ibm-mq If the maintenance level is not yet available information on its planned availability can be found in 'IBM MQ Planned Maintenance Release Dates' https://ibm.biz/mqplannedmaintenance ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT44914
Reported component name
MQ BASE V9.3
Reported component ID
5724H7291
Reported release
933
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-11-07
Closed date
2024-04-17
Last modified date
2024-04-17
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
MQ BASE V9.3
Fixed component ID
5724H7291
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"933","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Document Information
Modified date:
17 April 2024