1. MQSeries5.2 (2 messages)

    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

    Threaded Messages (2)

  2. Re : MQSeries5.2[ Go to top ]

    Are you sure you defined a listener and a server connection channel on the QMGR, and started both ?
  3. Re : MQSeries5.2[ Go to top ]

    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.