「WAS Tips」の版間の差分
ナビゲーションに移動
検索に移動
1行目: | 1行目: | ||
− | ==WAS Tips== | + | ==[[WAS Tips]]== |
[[WAS]] | | [[WAS]] | | ||
9行目: | 9行目: | ||
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.<init>(b.java:96) | at com.ibm.net.ssl.www2.protocol.https.b.<init>(b.java:96) | ||
====対応==== | ====対応==== | ||
16行目: | 16行目: | ||
*以下の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年2月16日 (日) 04:34時点における版
目次
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 矢木浩人