WAS Tips
ナビゲーションに移動
検索に移動
WAS Tips
トラブルシュート
Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory
==
- 以下のようなエラー
Caused by: java.lang.ClassNotFoundException: Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory at javax.net.ssl.SSLJsseUtil.b(SSLJsseUtil.java:20) at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:36) at javax.net.ssl.HttpsURLConnection.getDefaultSSLSocketFactory(HttpsURLConnection.java:16) at javax.net.ssl.HttpsURLConnection.<init>(HttpsURLConnection.java:36) at com.ibm.net.ssl.www2.protocol.https.b.<init>(b.java:96)
対応
- http://stackoverflow.com/questions/10921941/javax-net-ssl-sslexception-sslsocketfactory-is-null
- 以下の2行を追加
Security.setProperty("ssl.SocketFactory.provider", "com.ibm.jsse2.SSLSocketFactoryImpl"); Security.setProperty("ssl.ServerSocketFactory.provider", "com.ibm.jsse2.SSLServerSocketFactoryImpl");
WAS から Java Mail送信で文字化け
- WAS から Java Mail送信で文字化け
© 2006 矢木浩人