Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

javax.jms.JMSException: MQJMS2005:

497 views
Skip to first unread message

joth

unread,
Nov 25, 2009, 10:41:24 AM11/25/09
to
Hi,

Am getting the below exception while writing message to a JMS queue.
The JMS queue is created on WAS 5.0....and am using IBM JDK 1.4.2

Can some one please suggest the solution????

thanks in adv...


Exception in thread "P=993557:O=0:CT" javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '10.121.2.37:TESTMQ1'
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:569)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2311)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1739)
at com.ibm.mq.jms.MQQueueConnection. (MQQueueConnection.java:144)
at com.ibm.mq.jms.MQQueueConnection.(MQQueueConnection.java:54)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:106)
at com.broadridge.isomejms.client.JMSClient.receiveJMSMessage(JMSClient.java:217)
at com.broadridge.isomejms.client.JMSClient.main(JMSClient.java:88)

Dev

unread,
Nov 30, 2009, 3:50:47 AM11/30/09
to
On Nov 25, 8:41 pm, joth <prasanthk...@gmail.com> wrote:
> Hi,
>
> Am getting the below exception while writing message to a JMS queue.
> The JMS queue is created on WAS 5.0....and am using IBM JDK 1.4.2
>
> Can some one please suggest the solution????
>
> thanks in adv...
>
> Exception in thread "P=993557:O=0:CT" javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '10.121.2.37:TESTMQ1'
>         at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.ja­va:569)

>         at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2311)
>         at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1739)
>         at com.ibm.mq.jms.MQQueueConnection. (MQQueueConnection.java:144)
>         at com.ibm.mq.jms.MQQueueConnection.(MQQueueConnection.java:54)
>         at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnec­tionFactory.java:106)
>         at com.broadridge.isomejms.client.JMSClient.receiveJMSMessage(JMSClient.java:2­17)
>         at com.broadridge.isomejms.client.JMSClient.main(JMSClient.java:88)

check these are points which are preventing to create MQmanager
1. A firewall that is terminating the connection.
2. An IOException that causes the socket to be closed.
3. An explicit action to cause the socket to be closed by one end.
4. The queue manager is offline.
5. The maximum number of channels allowed by the queue manager are
open.
6. A configuration problem in the Queue Connection Factory (QCF).

0 new messages