Interstage Application Serverにおいて、JDK/JRE 1.3.1で動作していたアプリケーションを、JDK/JRE 1.4に移行したところ、「java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket」が発生しました。
- JDK/JRE 1.3で動作していたアプリケーションを、JDK/JRE 1.4に移行したところ、「java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket」が発生しました。原因と対処方法を教えてください。
- [原因]
JDK/JRE 1.4以降の仕様で、SSLSocketに対しshutdownOutput()やshutdownInput()メソッドを利用すると、UnsupportedOperationExceptionが発生します。[対処方法]
SSLSocketに対しては、shutdownOutput()やshutdownInput()メソッドを利用せずに、直接Socketをクローズするようアプリケーションを修正してください。
製品・サービス区分 | Interstage | ||||||
---|---|---|---|---|---|---|---|
製品・サービス情報 |
|
||||||
アンサー種別 | 構築(導入/移行) |