0

net-API的 xms 无法连接到远程管理器,而java-APIjms 可以连接到同一个管理器。

1.我已将IP地址添加到主机文件中。

有错误的日志。

 2013-09-24 15:55:04,620 [10] DEBUG line267 Com.Tsystems.Aviation.Imf.Client.connector.CmsConnector - The connection initialized param is, host: AIXMQ214, destination: IN.LQ.FSS1.FQDB, port: 1414, Qmgr: QM70IMF_01, user: aviation, ccsid: 819, channel: SYSTEM.DEF.SVRCONN
    2013-09-24 15:55:05,086 [10] ERROR line463 Com.Tsystems.Aviation.Imf.Client.connector.CmsConnector - create CMS connection failed on IN.LQ.FSS1.FQDB IBM.XMS.XMSException: CWSMQ0006E: An exception was received during the call to the method ConnectionFactory.CreateConnection: System.ObjectDisposedException: Cannot access a closed file.
       at IBM.WMQ.Nmqi.ManagedNmqiMQ.NmqiConnect(String name, NmqiConnectOptions pNmqiConnectOpts, MQConnectOptions cno, Hconn parentHconn, Phconn pHconn, Int32& compCode, Int32& reason)
       at IBM.XMS.Client.WMQ.WmqConnection..ctor(NmqiEnvironment nmqiEnv, NmqiMQ nmqiMQ, XmsPropertyContext connectProps)
       at IBM.XMS.Client.WMQ.WmqConnectionFactory.CreateV7ProviderConnection(XmsPropertyContext connectionProps). During execution of the specified method an exception was thrown by another component. See the linked exception for more information.
       at IBM.XMS.Client.WMQ.WmqConnectionFactory.CreateProviderConnection(XmsPropertyContext connectionProps)
       at IBM.XMS.Client.Impl.XmsConnectionFactoryImpl.CreateConnection(String userID, String password)
       at Com.Tsystems.Aviation.Imf.Client.connector.CmsConnector.Connect(CmsConnectorType connectorType) in D:\Aviation\C#\com.tsystems.aviation.imf.client\connector\CmsConnector.cs:line 412

    Linked Exception : System.ObjectDisposedException: Cannot access a closed file.
       at IBM.WMQ.Nmqi.ManagedNmqiMQ.NmqiConnect(String name, NmqiConnectOptions pNmqiConnectOpts, MQConnectOptions cno, Hconn parentHconn, Phconn pHconn, Int32& compCode, Int32& reason)
       at IBM.XMS.Client.WMQ.WmqConnection..ctor(NmqiEnvironment nmqiEnv, NmqiMQ nmqiMQ, XmsPropertyContext connectProps)
       at IBM.XMS.Client.WMQ.WmqConnectionFactory.CreateV7ProviderConnection(XmsPropertyContext connectionProps)
4

0 回答 0