MQ

 View Only
Expand all | Collapse all

Need help understanding error code AMQ9795E from MQ client

  • 1.  Need help understanding error code AMQ9795E from MQ client

    IBM Champion
    Posted Thu January 11, 2024 11:59 AM

    I'm debugging a reconnect issue with one of our MQ clients that uses a CCDT URL to manage the connection.  In this case the client side is a producer that puts messages to a queue.  Occasionally, the reconnect action will be triggered and the client will then attempt to reconnect until the time limit has expired.  

    The initial error message I see in the logs is this one:

    AMQ9795E: The client channel definition could not be retrieved from its URL, error code (16).

    I haven't been able to find what "16" means in this context.  Is this a code returned by the underlying TCP layer, or something IBM MQ assigns for a certain condition?

    Thanks,
    Jim



    ------------------------------
    Jim Creasman
    ------------------------------


  • 2.  RE: Need help understanding error code AMQ9795E from MQ client

    IBM Champion
    Posted Thu January 11, 2024 03:25 PM

    Hi Jim,

    The full text of that error message is:-

    AMQ9795E

    The client channel definition could not be retrieved from its URL, error code (<insert_1>).

    Severity 30 : Error

    Explanation The client channel definition location was specified as URL <insert_3>, however the file could not be retrieved from this location.
    The error returned was (<insert_1>) <insert_4>. The protocol specific response code was (<insert_2>).

    Response Ensure that the URL is reachable and if necessary correct the details provided.

    --

    As you can see, there is a text version of the numeric code 16 straight after the number in the Explanation section of the message.

    Could you paste in the whole error message from the error log and not just the title. That will give us all the information. 

    Cheers,

    Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 3.  RE: Need help understanding error code AMQ9795E from MQ client

    IBM Champion
    Posted Thu January 11, 2024 05:13 PM

    Morag,

         Unfortunately, that single line is all I see being printed.  This is a NodeJS client that is using the mq-mqi-nodejs NPM package.  This message is likely being produced by the underlying C libraries used by the Node code and is being output from within this code.  All I know for sure is that it is produced when our code calls the Put1Promise function.  This function calls MQPUT1 from the C libraries.  

         The error has been intermittent so it's not easy to track down.  I was hoping that knowing the meaning of "16" might help.  

    Jim



    ------------------------------
    Jim Creasman
    ------------------------------