「WAS Tips」の版間の差分
ナビゲーションに移動
検索に移動
(→==) |
|||
| 4行目: | 4行目: | ||
==トラブルシュート== | ==トラブルシュート== | ||
===Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory=== | ===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 | 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.SSLJsseUtil.b(SSLJsseUtil.java:20) | ||
2020年7月24日 (金) 13:02時点における最新版
目次
WAS Tips
WAS |
トラブルシュート
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送信で文字化け
© 2006 矢木浩人