Posted: Mon Jun 03, 2002 10:41 am Post subject: Broker drops connection in the middle of pub/sub application
Novice
Joined: 22 May 2002 Posts: 16 Location: Bedford MA
Hi all,
I'm running a multi-threaded pub/sub app on Windows 2000 server. I get everything setup, and start running the subscriber just before the publisher. But I'm getting a mysterious error from my publisher occasionally. Both the publish multithreaded program and the subscriber multithreaded program on running on localhost.
Randomly during my testing, the publisher seem to lose it's connection to the broker and I get a MQJMS5053 *** No broker response:.... error. The broker is indeed running, and my subscribers keep pulling messages of their topics.
The error occurs randomly. I can increase/decrease the number of publishing threads or subscriber threads....or even run the same test again, and the failure occurs randomly.
Since this only happens in my publisher, I assume their is some coding error, but what? I found a previous post by someone saying they had this problem and claimed it went away if you started both apps at the same time. But this sounds fishy and doesn't explain the problem (and doesn't work).
This MQJMS5053 error seems like a generic fatal error message to me with little or no pointer to the problem. The trace shows it comes from the com.ibm.mq.jms class from a MQTopicPublisher.publish object.
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