如何从Windows连接Remote Q Manager(在Docker上)?

时间:2019-06-13 08:16:34

标签: java websphere ibm-mq esb mq

我在docker容器上有一个MQ环境。我已经通过以下链接创建了队列管理器QM_TEST: https://www-01.ibm.com/support/docview.wss?uid=swg21623113

我无法从Windows从MQ资源管理器连接队列管理器。连接Q Manager时通道跟随错误即将到来。

无法建立与队列管理器的连接。无法识别频道名称(AMQ4871)   严重级别:10(警告)   说明:尝试连接到队列管理器失败。队列管理器无法识别通道名称。 Snap1 Snap2 Snap3 Snap4 Snap5

AMQ5052I: The queue manager task 'QPUBSUB-CTRLR' has started.

EXPLANATION:
The publish/subscribe utility task manager has started the QPUBSUB-CTRLR task.
This task has now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62260.30) User(mqm) Program(amqzmuc0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.722Z)
                    ArithInsert2(1)
                    CommentInsert1(TOPIC-TREE)

AMQ5051I: The queue manager task 'TOPIC-TREE' has started.

EXPLANATION:
The critical utility task manager has started the TOPIC-TREE task. This task
has now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62260.34) User(mqm) Program(amqzmuc0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.722Z)
                    ArithInsert2(1)
                    CommentInsert1(MULTICAST)

AMQ5051I: The queue manager task 'MULTICAST' has started.

EXPLANATION:
The critical utility task manager has started the MULTICAST task. This task has
now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62260.31) User(mqm) Program(amqzmuc0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.722Z)
                    ArithInsert2(1)
                    CommentInsert1(RESOURCE_MONITOR)

AMQ5051I: The queue manager task 'RESOURCE_MONITOR' has started.

EXPLANATION:
The critical utility task manager has started the RESOURCE_MONITOR task. This
task has now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62260.33) User(mqm) Program(amqzmuc0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.723Z)
                    ArithInsert2(1)
                    CommentInsert1(PRESERVED-Q)

AMQ5051I: The queue manager task 'PRESERVED-Q' has started.

EXPLANATION:
The critical utility task manager has started the PRESERVED-Q task. This task
has now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62299.5) User(mqm) Program(amqzmuf0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.723Z)
                    ArithInsert2(1)
                    CommentInsert1(QPUBSUB-QUEUE-NLCACHE)

AMQ5052I: The queue manager task 'QPUBSUB-QUEUE-NLCACHE' has started.

EXPLANATION:
The publish/subscribe utility task manager has started the
QPUBSUB-QUEUE-NLCACHE task. This task has now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62299.7) User(mqm) Program(amqzmuf0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.724Z)
                    ArithInsert2(1)
                    CommentInsert1(PUBSUB-DAEMON)

AMQ5052I: The queue manager task 'PUBSUB-DAEMON' has started.

EXPLANATION:
The publish/subscribe utility task manager has started the PUBSUB-DAEMON task.
This task has now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62299.7) User(mqm) Program(amqzmuf0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.724Z)
                    CommentInsert1(IBM MQ Distributed Pub/Sub Controller)

AMQ5975I: 'IBM MQ Distributed Pub/Sub Controller' has started.

EXPLANATION:
'IBM MQ Distributed Pub/Sub Controller' has started.
ACTION:
None.
----- cmqxzmup.c : 3951 -------------------------------------------------------
06/14/19 05:21:34 - Process(62260.32) User(mqm) Program(amqzmuc0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.726Z)
                    ArithInsert2(1)
                    CommentInsert1(Q-DELETION)

AMQ5051I: The queue manager task 'Q-DELETION' has started.

EXPLANATION:
The critical utility task manager has started the Q-DELETION task. This task
has now started 1 times.
ACTION:
None.
----- amqzmut0.c : 1629 -------------------------------------------------------
06/14/19 05:21:34 - Process(62299.8) User(mqm) Program(amqzmuf0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.731Z)
                    CommentInsert1(IBM MQ Distributed Pub/Sub Fan Out Task)

AMQ5975I: 'IBM MQ Distributed Pub/Sub Fan Out Task' has started.

EXPLANATION:
'IBM MQ Distributed Pub/Sub Fan Out Task' has started.
ACTION:
None.
----- cmqxzmup.c : 383 --------------------------------------------------------
06/14/19 05:21:34 - Process(62299.9) User(mqm) Program(amqzmuf0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.733Z)
                    CommentInsert1(IBM MQ Distributed Pub/Sub Command Task)

AMQ5975I: 'IBM MQ Distributed Pub/Sub Command Task' has started.

EXPLANATION:
'IBM MQ Distributed Pub/Sub Command Task' has started.
ACTION:
None.
----- cmqxzmup.c : 383 --------------------------------------------------------
06/14/19 05:21:34 - Process(62299.10) User(mqm) Program(amqzmuf0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.735Z)
                    CommentInsert1(IBM MQ Distributed Pub/Sub Publish Task)

AMQ5975I: 'IBM MQ Distributed Pub/Sub Publish Task' has started.

EXPLANATION:
'IBM MQ Distributed Pub/Sub Publish Task' has started.
ACTION:
None.
----- cmqxzmup.c : 383 --------------------------------------------------------
06/14/19 05:21:34 - Process(62321.1) User(mqm) Program(amqzmgr0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.746Z)
                    ArithInsert1(62332)
                    CommentInsert1(SYSTEM.CHANNEL.INITQ)

AMQ5022I: The channel initiator has started. ProcessId(62332).

EXPLANATION:
The channel initiator process has started.
ACTION:
None.
----- amqzmgr0.c : 2934 -------------------------------------------------------
06/14/19 05:21:34 - Process(62321.1) User(mqm) Program(amqzmgr0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.749Z)
                    ArithInsert1(62335)
                    CommentInsert1(SYSTEM.CMDSERVER.1)

AMQ5024I: The command server has started. ProcessId(62335).

EXPLANATION:
The command server process has started.
ACTION:
None.
----- amqzmgr0.c : 2943 -------------------------------------------------------
06/14/19 05:21:34 - Process(62332.1) User(mqm) Program(runmqchi)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.798Z)
                    CommentInsert1(SYSTEM.CHANNEL.INITQ)

AMQ8024I: IBM MQ channel initiator started.

EXPLANATION:
The channel initiator for queue SYSTEM.CHANNEL.INITQ has been started.
ACTION:
None.
----- amqrimna.c : 866 --------------------------------------------------------
06/14/19 05:21:34 - Process(62324.1) User(mqm) Program(amqfqpub)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:21:34.800Z)
                    CommentInsert1(QM_TEST)

AMQ5806I: Queued Publish/Subscribe Daemon started for queue manager QM_TEST.

EXPLANATION:
Queued Publish/Subscribe Daemon started for queue manager QM_TEST.
ACTION:
None.
----- cmqxfcxc.c : 1397 -------------------------------------------------------
06/14/19 05:22:16 - Process(62321.1) User(mqm) Program(amqzmgr0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:22:16.457Z)
                    ArithInsert1(62392)
                    CommentInsert1(TCP.LISTENER)

AMQ5026I: The listener 'TCP.LISTENER' has started. ProcessId(62392).

EXPLANATION:
The listener process has started.
ACTION:
None.
----- amqzmgr0.c : 2951 -------------------------------------------------------
06/14/19 05:22:25 - Process(62392.1) User(mqm) Program(runmqlsr)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:22:25.488Z)
                    ArithInsert1(1414) ArithInsert2(98)
                    CommentInsert1(bind)
                    CommentInsert2(TCP/IP)
                    CommentInsert3(:)

AMQ9218E: The TCP/IP listener program could not bind to port number 1414.

EXPLANATION:
An attempt to bind the TCP/IP socket to the listener port was unsuccessful.
ACTION:
The failure could be due to another program, including other MQ listeners,
using the same port number. The return code from the 'bind' call for port :1414
was 98. Record these values and tell the systems administrator.
----- amqclita.c : 748 --------------------------------------------------------
06/14/19 05:22:25 - Process(62321.1) User(mqm) Program(amqzmgr0)
                    Host(ibmmqdkrdev) Installation(Installation1)
                    VRMF(9.1.1.0) QMgr(QM_TEST)
                    Time(2019-06-14T05:22:25.493Z)
                    ArithInsert1(62392)
                    CommentInsert1(TCP.LISTENER)

AMQ5027I: The listener 'TCP.LISTENER' has ended. ProcessId(62392).

EXPLANATION:
The listener process has ended.
ACTION:
None.

无法建立与队列管理器的连接。无法识别频道名称(AMQ4871)   严重级别:10(警告)   说明:尝试连接到队列管理器失败。队列管理器无法识别通道名称。

1 个答案:

答案 0 :(得分:0)

该错误消息告诉您尚未在队列管理器上定义通道。如果您认为该通道已在队列管理器上定义,则另一个原因可能是您的客户端(在这种情况下为MQ Explorer)实际上并未连接到您认为正在连接的队列管理器。在这种情况下,未定义通道,因为它是错误的队列管理器。

队列管理器默认未定义MQ Explorer使用的默认通道,以确保它不会被未经授权的用户滥用。

如果您在队列管理器AMQERR01.LOG中查看,则会看到类似的错误消息,其中还会列出不存在的通道名称。

要定义通道,请使用队列管理器计算机上的runmqsc工具,然后键入以下MQSC命令。

DEFINE CHANNEL(SYSTEM.ADMIN.SVRCONN) CHLTYPE(SVRCONN) DESCR('Channel for MQ Explorer connectivity')