It looks like none of the values from tomee.xml is making it to com.ibm.was.mq.WebsphereMQConnectionFactory
I got rid of HostName, Port, QueueManager, TransportType details from tomee.xml. I get the the same error as before Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2059;AMQ9213: A communications error for occurred. [1=java.net.ConnectException[Connection refused: connect],3=localhost] at com.ibm.mq.jmqi.remote.internal.RemoteTCPConnection.connnectUsingLocalAddress(RemoteTCPConnection.java:663) -- View this message in context: http://openejb.979440.n4.nabble.com/websphere-MQ-tp4658647p4659034.html Sent from the OpenEJB User mailing list archive at Nabble.com.