IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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
Expand all | Collapse all

Native MQ to wm9.9 JMS

  • 1.  Native MQ to wm9.9 JMS

    Posted Mon May 09, 2016 08:54 AM

    Hi Friends,

    I am trying to pull messages from Native MQ, using wM JMS (v 9.9).I am able to create the JNDI connection to MQ (using JNDI template for file system).
    But while i am trying to configure the JMS using the JNDI details. getting the following error :

    "com.wm.app.b2b.server.jms.JMSSubsystemException: [ISS.0134.9016] Error creating connection factory: javax.naming.NameNotFoundException: "

    Highly appreciate your inputs to resolve the issue.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: Native MQ to wm9.9 JMS

    Posted Mon May 09, 2016 12:47 PM

    Hi,

    what is your Provider (Websphere MQ, UM, Broker)?

    Please share your JNDI and JMS configuration as far as possible.

    Regards,
    Holger


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Native MQ to wm9.9 JMS

    Posted Mon May 09, 2016 01:29 PM

    Did you able to create JNDI provider properly without error ? Have to tested it ?

    Thanks,


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Native MQ to wm9.9 JMS

    Posted Tue May 10, 2016 10:47 AM

    Thanks Holger & MR as173d for your intrest,

    I am using websphere MQ & file system template & my JNDI connection is working fine.

    while i am using the same JNDI connection to do JMS settings, it provides an error.

    "com.wm.app.b2b.server.jms.JMSSubsystemException: [ISS.0134.9016] Error creating connection factory: javax.naming.NameNotFoundException: "

    I have the following jars in IntegrationServer/lib/jar folder:
    rmm.jar, poviderutil.jar, ldap.jar, jta.jar , jndi.jar, jms.jar , com.ibm.mqetclient.jar,dhbcore, fscontext
    com.ibm.mq.tools.ras.jar, com.ibm.mq.soap.jar, com.ibm.mq.postcard.jar, com.ibm.mq.defaultconfig.jar
    com.ibm.mq.pcf, com.ibm.mq. commonservices.jar, com.ibm.mq.jmqi, com.ibm.mq.headers, com.ibm.mq,


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 5.  RE: Native MQ to wm9.9 JMS

    Posted Tue May 10, 2016 10:50 AM

    One more update,

    I am trying to connect to the same Connection Factory as per the Bindings file, not sure why is the JMS setting throwing error of unknown Connection factory.

    com.wm.app.b2b.server.jms.JMSSubsystemException: [ISS.0134.9016] Error creating connection factory: javax.naming.NameNotFoundException:ConnectionFactory


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 6.  RE: Native MQ to wm9.9 JMS

    Posted Fri May 13, 2016 12:46 PM

    Hi,

    when you have created and enabled the JNDI alias for the MQ Server, are you able to test it?

    This should return all ConnectionFactories Names and Queue Names stored in the bindings file.

    Check if the name you are looking for is listed there.

    Then check your JMS Alias for the connection factory name. Eventually there is a leading or trailing blank or some other special character (due to copy&paste) in this field.

    Additionally you should place the jars under IntegrationServer/lib/jars/custom instead of IntegrationServer/lib/jars/.
    Please check in the about page of the IS if the jars have been loaded during startup of IS.
    Missing or not loaded jars should lead to NoClassDefFoundException instead of a NameNotFoundException.

    Regards,
    Holger


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 7.  RE: Native MQ to wm9.9 JMS

    Posted Mon May 16, 2016 03:58 AM

    Hi Holger,

    Let me give further details:

    Placed the .bindings file from MQ , on my local dev server & using file system,JNDI connection, pointed to this path.
    JNDI connection is successful, but it is not showing the Connection Factory name or Qmgr name as you have suggested.

    Now,while configuring JMS using this JNDI, i am getting the error “Name not found” exception , the name it is looking for is the Connection Factory name which we provide under JMS settings.

    Also i placed moved the jars to Integration Server/lib/jar/custom still facing the same issue. :?: :cry:

    Regards
    Vipul


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Native MQ to wm9.9 JMS

    Posted Tue May 17, 2016 10:08 AM

    Hi,

    as pointed out earlier:
    Most likely it is not related to the jars, but more likely with the objects in the JNDI-Store.

    You will have to check the MQ Team if the objects are named correctly and if you have the proper rights to read those objects from the JNDI.

    What does the test of the JNDI Alias return?
    An Error or Exception or does it list the objects in the bindings file (Connection Factories and Destinations)?
    If it returns the later then you are on a good way, if not you will have to check why it behaves this way.

    Regards,
    Holger


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Native MQ to wm9.9 JMS

    Posted Tue May 17, 2016 11:11 AM

    I doubt your .bindings file might be corrupted if not if would have listed down the objects which are exist. Can you please copy again and give a try.

    Thanks,


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 10.  RE: Native MQ to wm9.9 JMS

    Posted Sat June 04, 2016 06:11 PM

    Version of IBM Websphere MQ that you are trying to connect?

    -senthil


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General