这是对XMS.NET hanging indefinitely on factory.CreateConnection("username", null);的跟进。
根据评论中的建议,我安装了最新版本的MQ客户端和XMS.NET。 应用程序停止挂起,现在它只是在几秒钟后终止进程。抛出没有例外。 提供的唯一信息是我在完成XMS日志记录时获得的输出。
调用factory.CreateConnection
这是输出的尾部:
[26.06.2015 10:07:03:389693 W. Europe Standard Time] 00000009 > UOW= source=IBM.WMQ.Nmqi.UnmanagedNmqiMQ method=NmqiConnect(String,NmqiConnectOptions,MQConnectOptions,Hconn,Phconn,out int,out int) [:] org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
entry [SV2098743] [IBM.WMQ.Nmqi.NmqiConnectOptions] [IBM.WMQ.MQConnectOptions#00B8956A] [] [<null>] [pCompCode : out] [pReason : out]
[26.06.2015 10:07:03:396694 W. Europe Standard Time] 00000009 > UOW= source=IBM.WMQ.Nmqi.UnmanagedNmqiMQ method=GetUnmanagedHconn(Hconn) [:] org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
entry []
[26.06.2015 10:07:03:400694 W. Europe Standard Time] 00000009 > UOW= source= method=GetUnmanagedHconn(NmqiEnvironment,Object,Hconn) [:] org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
entry
[26.06.2015 10:07:03:404695 W. Europe Standard Time] 00000009 d UOW= source= org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
Hconn Value:0
[26.06.2015 10:07:03:406695 W. Europe Standard Time] 00000009 < UOW= source= method=GetUnmanagedHconn(NmqiEnvironment,Object,Hconn) rc=OK [:] org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
exit
[26.06.2015 10:07:03:407695 W. Europe Standard Time] 00000009 < UOW= source=IBM.WMQ.Nmqi.UnmanagedNmqiMQ method=GetUnmanagedHconn(Hconn) rc=OK [:] org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
exit
[26.06.2015 10:07:03:423697 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
Object ID : 'IBM.WMQ.MQConnectOptions#00B8956A'
[26.06.2015 10:07:03:425697 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
version : 5 (hex 5)
[26.06.2015 10:07:03:427697 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
options : 64 (hex 40)
[26.06.2015 10:07:03:429697 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
clientConnOffset: 0 (hex 0)
[26.06.2015 10:07:03:430697 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
clientConnPtr : [490028864]
[26.06.2015 10:07:03:431697 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
connTag : 0
[26.06.2015 10:07:03:432697 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
_SSLConfigPtr : [0]
[26.06.2015 10:07:03:433698 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
_SSLConfigOffset: 0 (hex 0)
[26.06.2015 10:07:03:434698 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
connectionId : 0
[26.06.2015 10:07:03:435698 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
securityParmsOffset: 0 (hex 0)
[26.06.2015 10:07:03:437698 W. Europe Standard Time] 00000009 d UOW= source=IBM.WMQ.Nmqi.NmqiStructureFormatter org=IBM prod=WebSphere component=Message Service Client for .NET thread=[1 : 0]
securityParmsPtr: [490004432]
The program '[8740] WebServiceTesting.vshost.exe' has exited with code -2147483645 (0x80000003).
答案 0 :(得分:1)
OK. What version of MQ client you installed, v7.1 or 7.5 or 8.0 MQ? I am assuming you installed MQ v8 Client. From version v7.1, XMS .NET comes bundled with MQ Client. So when you install MQ Client, XMS .NET also gets installed. Hence there is no need for separately installing IA9H (XMS .NET) client again. So please uninstall IA9H and try again.
I would have expected a warning while installing IA9H when MQ Client was already installed. Apologies, I should have mentioned about this in your another question.