Aanand Natarajan
Aanand Natarajan

Reputation: 109

V5 Messaging Provider with ListenerPort

I configured a queue and a QueueConnectionFactory using the V5 Messaging provider in WebSphere Application Server 6.1.

I also have a ListenerPort configured for this destination.

It throws an exception when I try to connect to this queue using the queue connection factory or when the Message Listener listening to this ListenerPort starts up.

 javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager 
 for 'localhost:WAS_Node01_server1'

and the nested exception is

com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused

Can someone please point me to what possibily could have gone wrong in configuring the queue and queue connection factory?

Upvotes: 1

Views: 502

Answers (1)

T.Rob
T.Rob

Reputation: 31852

The error indicates that the WebSphere MQ transport is being used. Per the clarification in your comments, no queue manager is present so a 2059 is expected. It will be necessary to configure a WAS messaging Engine to provide the native transport or to point to a queue manager.

Upvotes: 1

Related Questions