Error: Jms Server Connection Failed - "message delivery initiation failed"

(Doc ID 1410395.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.2 and later
Information in this document applies to any platform.
***Checked for relevance on 12-Aug-2014***

Symptoms

On : R6.2 version, Core Product

When attempting to start the application server the following error occurs.

ERROR
-----------------------

[#|2012-01-27T13:37:27.137+1300|WARNING|sun-appserver2.1|com.stc.jmsjca.core.Activation|_ThreadID=20;_ThreadName=JMSJCA connect;_RequestID=36d336e3-9d06-4b89-921a-9a8d1412d5d9;|JMSJCA-E016: [serial-QueueReceiver(IN0028_queueToLinkWS){IN0028_PROJECT | prj5_Send | prjLink/jcdSendToLinkOutbound1/IN0028_queueToLinkWSIN} @ [stcms://stcmsServerName:50007]]: message delivery initiation failed (attempt #2); will retry in 2 seconds. The error was: Could not connect to JMS Server at stcmsServerName:50007 after 14 tries. Last error: java.net.ConnectException: Connection refused: connect
javax.jms.JMSException: Could not connect to JMS Server at stcmsServerName:50007 after 14 tries. Last error: java.net.ConnectException: Connection refused: connect
at com.stc.jms.util.JMSExc.exc(JMSExc.java:42)
at com.stc.jms.sockets.Wire.<init>(Wire.java:248)
at com.stc.jms.sockets.Wire.AllocateWire(Wire.java:115)
at com.stc.jms.sockets.ProxyStcms.newSession(ProxyStcms.java:203)
at com.stc.jms.client.SessionImpl.<init>(SessionImpl.java:186)
at com.stc.jms.client.ConnectionImpl.obtainSessionImpl(ConnectionImpl.java:558)
at com.stc.jms.client.STCXAQueueConnection.createXAQueueSession(STCXAQueueConnection.java:63)
at com.stc.jmsjca.core.RAJMSObjectFactory.createSession(RAJMSObjectFactory.java:320)
at com.stc.jmsjca.core.SerialDelivery.start(SerialDelivery.java:91)
at com.stc.jmsjca.core.Activation.asyncStart(Activation.java:552)
at com.stc.jmsjca.core.Activation.access$000(Activation.java:81)
at com.stc.jmsjca.core.Activation$1.run(Activation.java:347)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:525)
at com.stc.jms.sockets.Wire.<init>(Wire.java:218)
... 11 more


|#]

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