在jvm1.5中写的客户端,通过ssl连接到服务端正常没什么问题。 把客户端应用程序的jvm升级到1.6后,ssl连接失败。
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)Caused by: Error occurred while logging in: Error occurred while logging in: ; nested exception is: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake这是为什么呀??
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597)Caused by: Error occurred while logging in: Error occurred while logging in: ; nested exception is: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake这是为什么呀??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货