Could not connect to daemon using com.spirit.core.tunnelclient.connectionstrategy.PlainSSLConnectionStrategy. Reason: Failed to create SSLSocketFactory

(Doc ID 1025677.1)

Last updated on JUNE 02, 2014

Applies to:

Oracle Java CAPS JMS Grid - Version 5.1.1 and later
IBM AIX on POWER Systems (32-bit)
IBM AIX on POWER Systems (32-bit)
***Checked for relevance on 02-June-2014***

Symptoms

The following exception may occur when trying to stop SSL configured JMS Grid daemons using sms script provided in JMSGRID/mgmt directory.

[/JCP/app/JCAPS/JMS_Grid/mgmt]$ sms -connect ssl://test.stc.com:21108,admin,admin -context defa>
Running command: sms -connect ssl://test.stc.com:21108,admin,admin -context default.msSSLDaemon
16:33:34,445 INFO - JMS Grid client version = 5.1.3 Build:DEV-CMBUILD2-20071025-0134
Could not connect to daemon using com.spirit.core.tunnelclient.connectionstrategy.PlainSSLConnectionStrategy. Reason: Failed to create SSLSocketFactory:
javax.net.ssl.SSLException: Failed to create SSLSocketFactory:
at com.spirit.core.tunnelclient.connectionstrategy.PlainSSLConnectionStrategy.connect(PlainSSLConnectionStrategy.java:40)
at com.spirit.core.tunnelclient.SocketFactory.cascadeConnectionStrategies(SocketFactory.java:155)
at com.spirit.core.tunnelclient.SocketFactory.createSocket(SocketFactory.java:31)
at com.spirit.core.network.sockets.TunnelSocketFactory.buildSocket(TunnelSocketFactory.java:39)
at com.spirit.core.network.SocketFactory.buildSocket(SocketFactory.java:48)
at com.spirit.core.network.DataStreamConnect.initialize(DataStreamConnect.java:615)
at com.spirit.core.network.DataStreamConnect.<init>(DataStreamConnect.java:46)
at com.spirit.core.network.ft.FTDataStreamConnect.initializeConnect(FTDataStreamConnect.java:1013)
at com.spirit.core.network.ft.FTDataStreamConnect.doConnect(FTDataStreamConnect.java:1040)
at com.spirit.core.network.ft.FTDataStreamConnect.tryConnection(FTDataStreamConnect.java:1095)
at com.spirit.core.network.ft.FTDataStreamConnect.establishConnection(FTDataStreamConnect.java:836)
at com.spirit.core.network.ft.FTDataStreamConnect.initialize(FTDataStreamConnect.java:810)
at com.spirit.core.network.ft.FTDataStreamConnect.<init>(FTDataStreamConnect.java:83)
at com.spirit.core.network.ft.FTDataStreamConnect.<init>(FTDataStreamConnect.java:101)
at com.spirit.jmq.JMQConnection.createConnection(JMQConnection.java:1819)
at com.spirit.jmq.JMQConnection.doConnect(JMQConnection.java:133)
at ..
Could not connect to daemon using com.spirit.core.tunnelclient.connectionstrategy.TunneledConnectionStrategy. Reason: null
java.lang.NullPointerException
at com.spirit.core.tunnelclient.connectionstrategy.implementation.TunneledClientSideSocket.initializeTunneledStreams(TunneledClientSideSocket.java:227)
at com.spirit.core.tunnelclient.connectionstrategy.implementation.TunneledClientSideSocket.<init>(TunneledClientSideSocket.java:92)
at com.spirit.core.tunnelclient.connectionstrategy.TunneledConnectionStrategy.connect(TunneledConnectionStrategy.java:23)
at com.spirit.core.tunnelclient.SocketFactory.cascadeConnectionStrategies(SocketFactory.java:155)
at com.spirit.core.tunnelclient.SocketFactory.createSocket(SocketFactory.java:31)
at com.spirit.core.network.sockets.TunnelSocketFactory.buildSocket(TunnelSocketFactory.java:39)
at com.spirit.core.network.SocketFactory.buildSocket(SocketFactory.java:48)
at com.spirit.core.network.DataStreamConnect.initialize(DataStreamConnect.java:615)
at com.spirit.core.network.DataStreamConnect.<init>(DataStreamConnect.java:46)
at com.spirit.core.network.ft.FTDataStreamConnect.initializeConnect(FTDataStreamConnect.java:1013)
at com.spirit.core.network.ft.FTDataStreamConnect.doConnect(FTDataStreamConnect.java:1040)
at com.spirit.core.network.ft.FTDataStreamConnect.tryConnection(FTDataStreamConnect.java:1095)
at com.spirit.core.network.ft.FTDataStreamConnect.establishConnection(FTDataStreamConnect.java:836)
at com.spirit.core.network.ft.FTDataStreamConnect.initialize(FTDataStreamConnect.java:810)
at ..
sms: Failed to log in to daemon. Please recheck log in details
16:33:37,606 WARN - JVM calling shutdown on Connection

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms