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 » IBM MQ Java / JMS » JMSException: com.ibm.mq.jms.NoBrokerResponseException: MQJM

Post new topic  Reply to topic
 JMSException: com.ibm.mq.jms.NoBrokerResponseException: MQJM « View previous topic :: View next topic » 
Author Message
ravip
PostPosted: Thu Mar 10, 2005 12:19 pm    Post subject: JMSException: com.ibm.mq.jms.NoBrokerResponseException: MQJM Reply with quote

Novice

Joined: 22 Feb 2005
Posts: 23

I've seen a bunch of posts on this but no resolution as such. Is there a definitive reason why this happens and if so a definitive resolution to this?
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Mar 10, 2005 12:26 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

It can be a number of things which makes it hard to say what exactly is wrong. The two things that I always check:

- Make sure your broker really is running: It is amazing how many times it doesn't get started and the error is legitimate.

- Make sure you don't have any 'bad' messages on the broker's input queue: It seems like a message that is bad gets stuck in a retry state while your good message gets stuck at the back of the queue. I usually solve this problem by stopping the broker and clearing its queue.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ravip
PostPosted: Thu Mar 10, 2005 6:11 pm    Post subject: Reply with quote

Novice

Joined: 22 Feb 2005
Posts: 23

are you not going to loose the messages if you clear out the broker queue? is that the only way out of it? I restarted the queue manager on that machine and everything started working ok, is there a more elegant solution to this?
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Mar 10, 2005 7:23 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Yes, you will lose messages, and they may be important. I've only seen this error in development environments and the quickest solution was always the clear. I'm guessing that shutting down the qmgr removed the messages since they were probably non-persistent. To be honest, I'd suggest that the next time it happens, you take a look at the messages on the queue. You should be able to tell from looking what might be wrong which might shed some light on the bad message in the first place.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ravip
PostPosted: Fri Mar 11, 2005 3:04 pm    Post subject: Reply with quote

Novice

Joined: 22 Feb 2005
Posts: 23

yeah if the messages are non-persistent then they will be removed after the restart. In our case all the messages were redelivered since we had durable subscribers on those topics, but still restart is not a very convincing reply, may be as you said I need to look at the messages to see whats wrong?
can you tell me what you meant by bad messages? are you referring to improper message format and errors like that?
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Mar 14, 2005 7:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

ravip wrote:
can you tell me what you meant by bad messages? are you referring to improper message format and errors like that?


Messages that have an improper format. You can use the amqsbcg program to browse the queue and look over the header.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMSException: com.ibm.mq.jms.NoBrokerResponseException: MQJM
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.