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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Amazon SNS - Error and Solution

    Posted 03/16/15 02:55 AM

    Errors :
    java.lang.NoClassDefFoundError: Could not initialize class com.amazonaws.auth.internal.AWS4SignerUtils
    at com.amazonaws.auth.internal.AWS4SignerRequestParams.(AWS4SignerRequestParams.java:86)
    at com.amazonaws.auth.AWS4Signer.sign(AWS4Signer.java:187)

    Or any error related to timestamp…

    Symptoms :
    You will see the code getting compiled in eclipse and it will execute as well.
    When same code is written in JavaService ,it gets compiled but works in windows and when same package is deployed to linux it wont work.
    When the code is written in JavaService ,it gets compiled but it wont run .
    All these scenarios happen though you keep all required jars in required places…
    For some reasons you need to explicitly give this particular jar in IS PREPEND classes…

    For earlier versions of IS , the file should setenv.bat/sh

    Solution:

    –>Stop the IS
    –>Add joda-time-2.3.jar to the PREPEND classes path
    i.e in 9.7 it should be added in custom_wrapper.conf file
    wrapper.java.additional.202=-Dwatt.server.prepend.classes=C:\SoftwareAG97\common\lib\wm-converters.jar;C:\SoftwareAG97\IntegrationServer\instances\default\packages\CloudStreamsPOC\code\jars\joda-time-2.3.jar
    –>Start the IS


    #webMethods
    #Integration-Server-and-ESB
    #CloudStreams


  • 2.  RE: Amazon SNS - Error and Solution

    Posted 03/23/15 11:06 AM

    Suresh,
    I had faced the similar error while working with SNS java service. The simple solution would be to

    Add the joda-time-2.3.jar to the package\code\jars and Update the manifest file to look for the jar files within the package\jars

    It was an easy fix for me.


    #Integration-Server-and-ESB
    #CloudStreams
    #webMethods


  • 3.  RE: Amazon SNS - Error and Solution

    Posted 03/23/15 11:20 AM

    Yes, either ways … we need to explicitly tell IS for classloading of this jar to happen

    package


    #Integration-Server-and-ESB
    #webMethods
    #CloudStreams


  • 4.  RE: Amazon SNS - Error and Solution

    Posted 03/23/15 12:45 PM