1 Reply Latest reply on Apr 6, 2021 5:15 PM by Vikesh Paramel

    Agent won't start - Java could not initialize class sun.security.ssl.SSLContextImpl$DefaultSSLContext

    Chris Stevens New Member

      Got an alert that our informatica server was allowing TLS1.0/1.1 traffic so I updated the java.security file to remediate the problem (per Support ). However after restarting the server and trying to restart the agent I'm getting the following:

       

      Exception in thread "Timeout guard" java.lang.NoClassDefFoundError: Could not initialize class sun.security.ssl.SSLContextImpl$DefaultSSLContext

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:264)

        at java.security.Provider$Service.getImplClass(Provider.java:1703)

        at java.security.Provider$Service.newInstance(Provider.java:1661)

        at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)

        at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)

        at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)

        at javax.net.ssl.SSLContext.getDefault(SSLContext.java:96)

        at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:122)

        at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:82)

        at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1.doit(ControllerThreadSocketFactory.java:91)

        at org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$SocketTask.run(ControllerThreadSocketFactory.java:158)

        at java.lang.Thread.run(Thread.java:748)

       

      I tried copying an old cacerts file over in case the new one was missing something but that didn't resolve the issue. Thanks for any help you can provide.