javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager
843830Jun 28 2006 — edited Sep 11 2007Hi Guys,
Recently i hit this exception below using
Solaris 10 and WebSphere MQ and JMS
inside this method
QueueConnectionFactory.createQueueConnection(); ( type of javax.jms.QueueConnectionFactory )
javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'app1-dev:app.queue.manager'
The problem is the current server hostname for MQ is "app2-dev"
So i want to change the 'app1-dev:app.queue.manager'
shown in the exception ( might be hardcoded in jms properties or somewhere )
But i couldnt find any properties file related to this
I dont know how the createQueueConnection read the settings from ( i guess from some properties file which i dont know the location )
anybody where is the location of the some QueueConnectionFactory properties / jms / mq properties ( i m not so sure )
Thanks