Unable to Read Message from MQ Using BPEL Process. Error "MQJE011: Socket connection attempt refused" (Doc ID 761623.1)

Last updated on OCTOBER 25, 2016

Applies to:

Oracle SOA Platform - Version 11.1.1.1.0 and later
Information in this document applies to any platform.
***Checked for relevance on 31-Oct-2010***
***Checked for relevance on 21-August-2013***

Symptoms

On BPEL 10.1.3.4, MQ adapter is unable to read messages from the MQ queue on a MQ mainframe version 5.3.1, even when is known that there are messages in the queue.
When the MQ adapter tries to dequeue a message from the MQ, the following error appears in the domain.log file:

Failed to create QueueManager.
[ManagedConnectionImpl] Error while creating QueueManager: "CSQT". [Caused by: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused]
Refer WebSphere MQ Reference Manual for Reason Code 2,059 and fix the cause of the error. Contact
oracle support if error is not fixable.

at oracle.tip.adapter.mq.ManagedConnectionImpl.createPhysicalConnection(ManagedConnectionImpl.java:681)
at oracle.tip.adapter.mq.ManagedConnectionImpl.<init>ManagedConnectionImpl.java:150)
at
oracle.tip.adapter.mq.ManagedConnectionFactoryImpl.createManagedConnection(ManagedConnectionFactoryI
mpl.java:122)
at
com.evermind.server.connector.ApplicationConnectionManager.createManagedConnection(ApplicationConnec
tionManager.java:1398)
at
oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromFactory(ConnectionPoolImpl.java:
327)
at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImpl.java:98)
at
oracle.j2ee.connector.ConnectionPoolImpl$FixedWaitPoolingScheme.getManagedConnection(ConnectionPoolI
mpl.java:1455)
at
oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(ConnectionPoolImpl.java:785)
at
com.evermind.server.connector.ApplicationConnectionManager.getConnectionFromPool(ApplicationConnecti
onManager.java:1596)
at
com.evermind.server.connector.ApplicationConnectionManager.acquireConnectionContext(ApplicationConne
ctionManager.java:1541)
at
com.evermind.server.connector.ApplicationConnectionManager.allocateConnection(ApplicationConnectionM
anager.java:1486)
at
oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateConnection(OracleConnectionManage
r.java:238)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(OracleConnectionManager.java:192)
at oracle.tip.adapter.mq.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:121)
at oracle.tip.adapter.mq.inbound.QueueProcessor.getConnection(QueueProcessor.java:487)
... 5 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