MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Deafult WAS 9.0.5 jar file for Java/JMS MQ messaging

    Posted Wed March 29, 2023 09:13 AM
    Edited by NICK DAKORONIAS Wed March 29, 2023 09:47 AM

    Hello MQ community users,

    Does anybody know  which is the default jar file  provided 'as-is' in WAS 9.0.5 bundle for Java/JMS MQ messaging provided?

    Where is is this file located (ie. WAS home\Appserver\runtimes filepath)?

    Our scope is to establish a Java/JMS connection between AIX WAS (Java/JMS Queues defined) & Windows MQ (Local Queues & Topics hosted on QM)

    Is there a particular need for MQ client to be installed and co-hosted on AIX WAS machine in order to provide com.ibm.mq.allclient.jar, com.ibm.mqjms.jar, com.ibm.mq.jar?

    Any advise will be much appreciated.

    Rgds, Nick

    P.S.

    I am including a screenshot with jar files included in current WAS (ND) v9.0.5 deployment:



    ------------------------------
    NICK DAKORONIAS
    Application Integration & Middleware Solution Certified Specialist
    Kyndryl
    Athens
    ------------------------------



  • 2.  RE: Deafult WAS 9.0.5 jar file for Java/JMS MQ messaging

    Posted Thu March 30, 2023 07:10 AM

    Hello:
    WAS 9.0.5 ships the MQ RA 9.1.0.x LTS client.
    .
    For more details see:
    https://www.ibm.com/support/pages/node/86587
    Which version of WebSphere MQ Resource Adapter (RA) is shipped with WebSphere Application Server ?



    ------------------------------
    Angel Rivera
    IBM MQ Support
    Research Triangle Park NC
    ------------------------------



  • 3.  RE: Deafult WAS 9.0.5 jar file for Java/JMS MQ messaging

    Posted Thu March 30, 2023 10:23 AM

    Hi,

    Thanks for your reply, but i was aware of this article.

    Actually i was looking for the exact jar file (class) name provided by WAS for Java/JMS messaging provider  against MQ, responding to application vendor (T24)  who needs to customize its app code by "enhancing" this class, in order to deal with WAS Java/JMS connection exceptions against MQ.



    ------------------------------
    NICK DAKORONIAS
    Application Integration & Middleware Solution Certified Specialist
    Kyndryl
    Athens
    ------------------------------



  • 4.  RE: Deafult WAS 9.0.5 jar file for Java/JMS MQ messaging

    Posted Fri March 31, 2023 04:11 AM
    Edited by Francois Brandelik Fri March 31, 2023 04:32 AM

    Hi Nick,
    Have your vendor look at the ExceptionListener class in JMS and at the properties of the ConnectionFactory or whatever factory is being used. Typically the ExceptionListener gets attached to the Connection.
    You might also want to look at the JMSContext for the same reason. There is a property to make sure you receive the connection broken error on the ExceptionListener.
    Your provider should not need to enhance or extend any of the MQ classes.

    For reference: https://www.ibm.com/docs/en/ibm-mq/9.3?topic=jms-exceptionlisteners
    https://www.ibm.com/docs/en/ibm-mq/9.3?topic=definitions-xmsc-async-exceptions
    https://www.ibm.com/docs/en/ibm-mq/9.3?topic=applications-exceptions-in-mq-classes-jms

    Hope it helps.


    ------------------------------
    Francois Brandelik
    ------------------------------



  • 5.  RE: Deafult WAS 9.0.5 jar file for Java/JMS MQ messaging

    Posted Fri March 31, 2023 08:15 AM

    Hi Francois,
    Thanks for your hint.
    I will keep them posted of your advise.

    Cheers, Nick.



    ------------------------------
    NICK DAKORONIAS
    Application Integration & Middleware Solution Certified Specialist
    Kyndryl
    Athens
    ------------------------------