com.ibm.websphere.ssl.protocol.SSLSocketFactory异常
ldap 连接失败。
?
Exception in thread "main" java.lang.RuntimeException: javax.naming.CommunicationException: 10.145.30.36:636 [Root exception is java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory]
?at com.huawei.irad.ad.ADOperator.initDirContext(ADOperator.java:114)
?at com.huawei.irad.ad.ADOperator.isUserexist(ADOperator.java:258)
?at com.huawei.irad.ad.ADOperator.main(ADOperator.java:375)
Caused by: javax.naming.CommunicationException: 10.145.30.36:636 [Root exception is java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory]
?at com.sun.jndi.ldap.Connection.<init>(Connection.java:222)
?at com.sun.jndi.ldap.LdapClient.<init>(LdapClient.java:133)
?at com.sun.jndi.ldap.LdapClient.getInstance(LdapClient.java:1593)
?at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2611)
?at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:298)
?at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:190)
?at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:208)
?at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:151)
?at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:81)
?at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:679)
?at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:259)
?at javax.naming.InitialContext.init(InitialContext.java:235)
?at javax.naming.InitialContext.<init>(InitialContext.java:209)
?at com.huawei.irad.ad.ADOperator.initDirContext(ADOperator.java:110)
?... 2 more
Caused by: java.net.SocketException: Cannot find the specified class java.security.PrivilegedActionException: java.lang.ClassNotFoundException: com.ibm.websphere.ssl.protocol.SSLSocketFactory
?at javax.net.ssl.DefaultSSLSocketFactory.createSocket(SSLSocketFactory.java:5)
?at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
?at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
?at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
?at java.lang.reflect.Method.invoke(Method.java:615)
?at com.sun.jndi.ldap.Connection.createSocket(Connection.java:339)
?at com.sun.jndi.ldap.Connection.<init>(Connection.java:209)
?... 15 more
?
?
-=================================================================
?
?
?
java.lang.RuntimeException: javax.naming.CommunicationException: 10.145.30.36:636 [Root exception is java.net.SocketException: Default SSL context init failed: IBMTrustManager: Problem accessing trust store java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.]