This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Websphere and the fly likes Websphere MQ Socket issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Websphere MQ Socket issue" Watch "Websphere MQ Socket issue" New topic

Websphere MQ Socket issue

Mei Kuei

Joined: Jan 22, 2010
Posts: 1

I'm currently installing a WAS 5.1 environement and testing MQ communications.
WAS 5.1 was installed with internal Websphere MQ
When I create a new server in WAS a new QueueManager is created as WAS_node_application_name and this Queue manager works fine.
(I've tested it with postCard test application)
But when I try to send a message it fail with following error :

javax.jms.JMSException: MQJMS2005: Impossible de créer MQQueueManager pour 't22.TMHE.COM:WAS_t22_TMHE_Parts_Portal' MQJE001 : MQException : Code achèvement 2, raison 2059 MQJE011 : Tentative de connexion au socket refusée

Does someone have some guidance for me ?
Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

"Connection refused"... that means the code was trying to connect to server X at port Y, but there was no answer. Either server X is not running, or it's not listening at port Y, or there is a firewall preventing the connection.

So you'll have to check out the configuration which specifies X and Y for your environment. See if the server is really listening there. Check out your network if necessary.
subject: Websphere MQ Socket issue
Similar Threads
how to create Websphere MQ Queques in WSAD 5.1
java.lang.NoSuchMethodError: getMessageData
Creating JMS queues on the fly
Question for Kyle Brown: Set a cluster of Websphere MQ
Fire a trigger from an external application on database update