|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Connection Unstable |
« View previous topic :: View next topic » |
Author |
Message
|
webstream |
Posted: Mon Jul 08, 2002 3:32 pm Post subject: MQ Connection Unstable |
|
|
Newbie
Joined: 03 Jul 2002 Posts: 5
|
hi,
I have created a deamon process that listens to a particular queue (MQ Series is running on Windows).I will be able to connect and read message.However the connection seems to be very sporadic and start receiving error(s) like :
JMSException occured:javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for '172.17.1.61:FMCQM'
java.lang.NullPointerException
at com.adapter.mq.SessionFactory.run(SessionFactory.java:101)
When this occurs,if i run the netstat -a command on the box where MQ Is running i can clearly see that the connection state is either "ESTABLISHED" or "CLOSE_WAIT".
Any thoughts/comments on this will be helpful
Regards,
WebStream |
|
Back to top |
|
 |
bduncan |
Posted: Mon Jul 08, 2002 4:38 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
From the description of the error, it sounds as though you are reinitializing the object representing the queue manager periodically. Is this the case? If so, I would recommend altering the application such that it creates the queue manager object (MQCONN) once, and keeps that same connection object throughout it's lifetime.
Also, what do you see from the queue manager's perspective? You should be able to look at the attributes of the queue your application connects to, and see whether there is still an IPPROC or OPPROC attached to it. If either of these values are nonzero, it indicates some outside process is actively communicating with the queue manager, and has opened the queue in question. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|