Kshitija Vadnerkar
Kshitija Vadnerkar

Reputation: 125

A connection could not be made to WebSphere MQ for the following reason (reason '2538')

While trying to configure JMS Queue connection factories/Activation specification on Websphere Application Sever 8.5 and RAD 8.5.1 I get following error:

 A connection could not be made to WebSphere MQ for the following reason: JMSCMQ0001: WebSphere MQ call failed with compcode '2'
('MQCC_FAILED') reason '2538' ('MQRC_HOST_NOT_AVAILABLE').

Can anybody please suggest this could be because of what reason?

Upvotes: 2

Views: 20984

Answers (2)

JitenS
JitenS

Reputation: 51

  • Make sure the hostname, port name, and queueManager name are correct.
  • Go to -> QueueManager -> Listener.
  • Search for LISTENER.TCP.
  • The status should be in Running state. Otherwise Start it by right-clicking.

Upvotes: 0

Attila Repasi
Attila Repasi

Reputation: 1830

The host your queue manager is running on is not reachable. In the connection factory have you provided the correct host name, does the queue manager have a running listener for the provided port, is the host and port allowed in the firewall?

You should try the host and port with telnet to check.

Upvotes: 2

Related Questions