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.


#TechXchangePresenter
 View Only
  • 1.  Exception caught Put : com/ibm/mq/constants/MQConstants

    Posted Tue March 21, 2017 04:54 AM

    Hi,

    We are getting error as below while sending message to MQ. This error in 9.12 but same service working fine in 9.6.
    But when I remove “msgHeader.PutApplType” from Output Field Name of adapter Service then it is working. Please help me to fix this issue in 9.12 (Jars are same in 9.6 and 9.12).

    ERROR:
    com.wm.pkg.art.error.DetailedServiceException: [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service .
    [ADA.600.1055] Exception caught Put : com/ibm/mq/constants/MQConstants

    Caused by: com.wm.adk.error.AdapterServiceException: [ADA.600.1055] Exception caught Put : com/ibm/mq/constants/MQConstants
    com/ibm/mq/constants/MQConstants
    at com.wm.adk.error.AdapterException.(AdapterException.java:299)
    at com.wm.adk.WmAdapter.createAdapterException(WmAdapter.java:182)
    at com.wm.adk.WmAdapter.createAdapterException(WmAdapter.java:166)
    at com.wm.adapter.wmmqadapter.service.Put.execute(Put.java:435)
    at com.wm.adk.cci.interaction.WmInteraction.execute(WmInteraction.java:76)
    at com.wm.pkg.art.ns.AdapterServiceNode.invokeService(AdapterServiceNode.java:362)
    … 37 more
    Caused by: java.lang.NoClassDefFoundError: com/ibm/mq/constants/MQConstants
    at com.wm.adapter.wmmqadapter.connection.wmMQMessage.copyMsgFieldsToMQMD(wmMQMessage.java:498)
    at com.wm.adapter.wmmqadapter.connection.wmMQMessage.copyMsgFieldsToMQMD(wmMQMessage.java:220)
    at com.wm.adapter.wmmqadapter.service.Put.execute(Put.java:362)

    Thanks in Advance
    Ravi


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards


  • 2.  RE: Exception caught Put : com/ibm/mq/constants/MQConstants

    Posted Tue March 21, 2017 09:22 AM

    Hi Ravi,

    please provide a list of you MQ libraries located under WmMQAdapter/code/jars.

    According to the Adapter Requirements Guide there should be 5 of them.
    As per the error message you are missing at least one of them.

    What is the Fix level of your MQ Adapter?

    Regards,
    Holger


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Exception caught Put : com/ibm/mq/constants/MQConstants

    Posted Tue March 21, 2017 11:07 AM

    Hi Holger,

    Thanks for your quick reply and help.

    As per Adapter Requirements Guide I have placed all 5 jars and tested but no luck :frowning:

    We are using fix: MQS_6.5_Fix38

    Thanks
    Ravi.


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Exception caught Put : com/ibm/mq/constants/MQConstants

    Posted Tue March 21, 2017 03:43 PM

    Hi Ravi,

    did your reload the WmMQAdapter package after placing the jars?

    This is neccessary to get them loaded.

    Can you check for the version of the jars?
    You will the information in the META-INF/MANIFEST.MF file inside the jar.

    The mentiond class is part of the com.ibm.mq.jmqi.jar

    I am currently running with Jars for MQ 7.5.0.6 on wM 9.5 with MQ Fix 35 without issues.

    If possible you should open an incident in Empower eService to get Support Team involved.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #Adapters-and-E-Standards


  • 5.  RE: Exception caught Put : com/ibm/mq/constants/MQConstants

    Posted Wed March 22, 2017 10:53 AM

    Hi Holger,

    Yes we reloaded / restarted server also. in 9.6 (MQ Fix 35) it is working good.
    We are going to check with Empower support team on this issue.

    Thanks for your help.

    Thanks
    Ravi.


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods