Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2010-12-17T03:33:55Z by SystemAdmin
Steve@Lifeway
Steve@Lifeway
1 Post
ACCEPTED ANSWER

Pinned topic java.security.NoSuchProviderException: no such provider: SunJSSE

‏2010-12-16T22:12:57Z |
We are using a 3rd party service that apparently uses the SunJSSE. The code works everywhere except on AIX, here is the exception:
Caused by:
java.security.NoSuchProviderException: no such provider: SunJSSE
at sun.security.jca.GetInstance.getService(GetInstance.java:140)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:269)
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:5)
at lp.txn.JLinkPointTransaction.send(JLinkPointTransaction.java:90)
at com.lifeway.easervices.creditcard.remote.LinkPointAuthorizer.authorize(LinkPointAuthorizer.java:66)

Shouldn't the implementation of JSSE be transparent? Does anyone have a suggestion about what I need to do to get this to work on AIX?

Java:

java version "1.6.0"
Java(TM) SE Runtime Environment (build pap6460sr6-20090925_01(SR6))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr6-20090923_42924 (JIT enabled, AOT enabled)
J9VM - 20090923_042924
JIT - r9_20090902_1330ifx1
GC - 20090817_AA)
JCL - 20090924_01
Updated on 2010-12-17T03:33:55Z at 2010-12-17T03:33:55Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    2262 Posts
    ACCEPTED ANSWER

    Re: java.security.NoSuchProviderException: no such provider: SunJSSE

    ‏2010-12-17T03:33:55Z  in response to Steve@Lifeway
    The SunJSSE provider comes from Sun(now Oracle), and is neither supported by IBM nor shipped with the SDK. I presume your 3rd party service must be running the Sun JDK on other platforms.

    You can try copying the jsse.jar from a Sun SDK to your AIX JDK and adding an entry to the java.security file - but bear in mind that this is not supported and you might face other problems later.