I am trying to send MQSeries5.2 - PCF Commands on Solaris 5.8 platform. The command is to get a channel status from a Q manager , which is locally installed.
When I create PCFAgent(String QMgr) contructor , I was able to send "Inquire channel status" command and received reply successfully.
But when I create PCFAgent(host,port,channel) constructor and send a message , I get the following error:
MQJE016: MQ queue manager closed channel immediately during connect
Closure reason = 2009
MQJE001: Completion Code 2, Reason 2009
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2009
Any ideas ?
- Sreedhar Tulluri
-
MQSeries5.2 (2 messages)
- Posted by: Sreedhar Tulluri
- Posted on: January 06 2005 14:26 EST
Threaded Messages (2)
- Re : MQSeries5.2 by kristof sajdak on January 06 2005 16:46 EST
- Re : MQSeries5.2 by Sreedhar Tulluri on January 10 2005 12:52 EST
-
Re : MQSeries5.2[ Go to top ]
- Posted by: kristof sajdak
- Posted on: January 06 2005 16:46 EST
- in response to Sreedhar Tulluri
Are you sure you defined a listener and a server connection channel on the QMGR, and started both ? -
Re : MQSeries5.2[ Go to top ]
- Posted by: Sreedhar Tulluri
- Posted on: January 10 2005 12:52 EST
- in response to kristof sajdak
Yes I did.
The command works returning the status of the channel.
It only errors out when I specify hostname and port of the
MQ Listener.
The idea is to monitor channels on remote machines also ,in which case host name and port needs to be specified.