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

Error while invoking the flowservice from java program

  • 1.  Error while invoking the flowservice from java program

    Posted 11/26/08 08:23 PM

    Hi All,

    We are getting the following error while invoking the flowservice(6.1)

    Exception in thread “main” java.lang.ExceptionInInitializerError: java.lang.SecurityException: Cannot authenticate the JCE frameworkjava.lang.SecurityException: Invalid JCE jar file URL – file:/E:/java/javax/crypto/Cipher.class
    at com.entrust.toolkit.security.provider.JCEVerifierImpl.a(Unknown Source)
    at com.entrust.toolkit.security.provider.JCEVerifierImpl.verifyJCEJar(Unknown Source)
    at com.entrust.toolkit.security.provider.Entrust.(Unknown Source)
    at com.wm.app.b2b.client.BaseContext.(BaseContext.java:109)
    at TestService.main(TestService.java:17)


    I had placed the client.jar and required entrust jar files in the required libraries.

    Any one please help if they know regarding this

    Thanks,
    isharai


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: Error while invoking the flowservice from java program

    Posted 11/26/08 09:01 PM

    if you are running java client,
    The client.jar file refers to the files in \lib\entrust. Therefore,
    the \entrust directory must remain in the same relative path as client.jar.
    Cheers
    Tong


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB