MQ simulator does not work remotely. Meaning, you cannot send JMS
message via remote applications.
MQ simulator works only in the same VM as that of Websphere. That
means, MDB can receive message and to send message use servlet, JSP or
session bean that runs locally in the same websphere VM.
The error that I receive when I try to run JMS client remotely was:
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for
'WAS_localhost_server1'
at
com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:556)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1736)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1129)
at
com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:170)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:80)
at
com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:145)
-saM