Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java.net.SocketException: Default SSL context init failed: null

197 views
Skip to first unread message

laredotornado

unread,
Apr 9, 2009, 10:57:07 AM4/9/09
to
Hi,

I'm getting the following exceptioni when trying to connect to a URL
over https. I have verified that the truststore I'm setting via the
calls

System.setProperty("javax.net.ssl.trustStore", trustStoreFile);
System.setProperty("javax.net.ssl.trustStorePassword", "public");

exists. I'm not sure how else to troubleshoot this problem. Does
anyone have any suggestions? Stack trace is below. - Dave

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: java.net.SocketException: Default SSL context init
failed: null
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}
stackTrace:java.net.SocketException: Default SSL context init failed:
null
at javax.net.ssl.DefaultSSLSocketFactory.createSocket
(SSLSocketFactory.java:156)
at org.apache.axis.components.net.JSSESocketFactory.create
(JSSESocketFactory.java:92)
at org.apache.axis.transport.http.HTTPSender.getSocket
(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket
(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke
(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:
118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:
165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.myco.safariview.cedarpoint.providers.PcspI01ServiceSoapBindingStub.login
(PcspI01ServiceSoapBindingStub.java:563)
at com.myco.safariview.cedarpoint.connector.CPThreadedLogin.run
(CPThreadedLogin.java:99)

{http://xml.apache.org/axis/}hostname:orma3

java.net.SocketException: Default SSL context init failed: null
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.transport.http.HTTPSender.invoke
(HTTPSender.java:154)
at org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:
118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:
165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
com.myco.safariview.cedarpoint.providers.PcspI01ServiceSoapBindingStub.login
(PcspI01ServiceSoapBindingStub.java:563)
at com.myco.safariview.cedarpoint.connector.CPThreadedLogin.run
(CPThreadedLogin.java:99)
Caused by: java.net.SocketException: Default SSL context init failed:
null
at javax.net.ssl.DefaultSSLSocketFactory.createSocket
(SSLSocketFactory.java:156)
at org.apache.axis.components.net.JSSESocketFactory.create
(JSSESocketFactory.java:92)
at org.apache.axis.transport.http.HTTPSender.getSocket
(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket
(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke
(HTTPSender.java:138)
... 11 more

0 new messages