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

JCE cannot authenticate the provider BC

  • 1.  JCE cannot authenticate the provider BC

    Posted 08/29/12 03:54 PM

    HI,

    Am facing the security error at run time when i dealing with bouncycastle encrytion and decryption.

    I have been placed below listed jar file inside the package (\code\jars)
    bcpg-jdk15on-147.jar
    bcprov-ext-jdk15on-147.jar
    bcprov-jdk15on-147.jar

    then i compiled the java service. when i try to run the wrapper service am getting this “com.wm.app.b2b.server.ServiceException: java.lang.SecurityException: JCE cannot authenticate the provider BC” error

    Please advise me to resolve this error


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


  • 2.  RE: JCE cannot authenticate the provider BC

    Posted 08/29/12 04:08 PM

    Did you restart server or reloaded the package after installing the jars?

    Also try put this jar file in the IntegrationServer/lib folder as well and restart the IS.

    Give it a shot:

    HTH,
    RMG


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


  • 3.  RE: JCE cannot authenticate the provider BC

    Posted 08/29/12 04:43 PM

    Hi RMG,

    Thanks for your Quick commants.
    I had done the primary action after placing the Jars and more over am able to compile the service.while rum time am facing this issue.

    • erlier, I laid the jars into IntegrationServer/lib directory and i checked it was working fine.But my case not be like that . I have to place the jar inside the package.

    why we want to place the jar inside the package? because it is easy to migrate the package in different environment.

    with regards,
    Balamurugan K


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


  • 4.  RE: JCE cannot authenticate the provider BC

    Posted 08/29/12 07:34 PM

    So you removed those jars from lib? and now it didn’t worked after you moved it to the package level?

    Normally all the custom jars should be placed in the IS classpath to make the classes/methods available server/client side not only with that specific package as a whole.


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


  • 5.  RE: JCE cannot authenticate the provider BC

    Posted 08/30/12 05:23 AM

    yes I removed those jars from Integrationserver/lib directory…

    I want to achieve this is in package level… so please advise me


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


  • 6.  RE: JCE cannot authenticate the provider BC

    Posted 08/30/12 03:16 PM

    You got to keep trying which ever location jars work and its not mandatory if you keep the jars in the particular package works or not…

    What attempts you did after putting those jars in the package level?


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


  • 7.  RE: JCE cannot authenticate the provider BC

    Posted 08/30/12 05:32 PM

    I have reloaded the package and i try to run the service.


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


  • 8.  RE: JCE cannot authenticate the provider BC

    Posted 08/30/12 08:06 PM

    If you still getting the error then the option is store the jar file in the IS lib and restart the server for ready usage:


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


  • 9.  RE: JCE cannot authenticate the provider BC

    Posted 08/31/12 04:49 AM


  • 10.  RE: JCE cannot authenticate the provider BC

    Posted 08/31/12 02:56 PM