Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager

843830Jun 28 2006 — edited Sep 11 2007
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2007
Added on Jun 28 2006
4 comments
1,530 views