「WAS Tips」の版間の差分
ナビゲーションに移動
検索に移動
(ページの作成:「==WAS Tips== [WAS] ==トラブルシュート== ===Cannot find the specified class com.ibm.websphere.ssl.protocol.SSLSocketFactory=== ======== *以下のような…」) |
(→==) |
||
(同じ利用者による、間の3版が非表示) | |||
1行目: | 1行目: | ||
− | ==WAS Tips== | + | ==[[WAS Tips]]== |
− | [WAS] | + | [[WAS]] | |
==トラブルシュート== | ==トラブルシュート== | ||
===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) | ||
at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:36) | at javax.net.ssl.SSLSocketFactory.getDefault(SSLSocketFactory.java:36) | ||
− | at javax.net.ssl. | + | at javax.net.ssl.HttpsU[[R]]LConnection.getDefaultSSLSocketFactory(HttpsU[[R]]LConnection.java:16) |
− | at javax.net.ssl. | + | at javax.net.ssl.HttpsU[[R]]LConnection.<init>(HttpsU[[R]]LConnection.java:36) |
− | at com.ibm.net.ssl.www2.protocol.https.b. | + | 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 | *http://stackoverflow.com/questions/10921941/javax-net-ssl-sslexception-sslsocketfactory-is-null | ||
*以下の2行を追加 | *以下の2行を追加 | ||
− | Security.setProperty("ssl.SocketFactory. | + | Security.setProperty("ssl.SocketFactory.pro[[vi]]der", "com.ibm.jsse2.SSLSocketFactoryImpl"); |
− | Security.setProperty("ssl.ServerSocketFactory. | + | Security.setProperty("ssl.ServerSocketFactory.pro[[vi]]der", "com.ibm.jsse2.SSLServerSocketFactoryImpl"); |
− | ===WAS から Java Mail送信で文字化け=== | + | ===[[WAS から Java Mail送信で文字化け]]=== |
− | *WAS から Java Mail送信で文字化け | + | *[[WAS から Java Mail送信で文字化け]] |
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 矢木浩人