ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » MQ Connection Unstable

Post new topic  Reply to topic
 MQ Connection Unstable « View previous topic :: View next topic » 
Author Message
webstream
PostPosted: Mon Jul 08, 2002 3:32 pm    Post subject: MQ Connection Unstable Reply with quote

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
View user's profile Send private message
bduncan
PostPosted: Mon Jul 08, 2002 4:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » MQ Connection Unstable
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.