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 » General IBM MQ Support » Interesting problem

Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next
 Interesting problem « View previous topic :: View next topic » 
Author Message
venusboy
PostPosted: Fri Mar 28, 2008 11:39 am    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

So I think my question is:

1. Is this a new feature in the JMS that is supplied with WMQ v6 or has it always been there. If it is new, can some point me to the release notes that explains this difference?

2. This is only for the JMS API, other applications that use the .net client and the native MQ API will not be effected (i.e. with these you must code the BOQ/DLQ features).

Thanks in advance for your help.

Tom.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 28, 2008 11:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

venusboy wrote:
1. Is this a new feature in the JMS that is supplied with WMQ v6 or has it always been there. If it is new, can some point me to the release notes that explains this difference?


Is this a true, standalone, Java app?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
venusboy
PostPosted: Fri Mar 28, 2008 11:46 am    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

Vitor - Sorry you are quite correct, its been a very long day / week.

So am I getting really confused and there is not a problem?

The reason the message went on the DLQ (once we sorted out the permissions) (and there was no BOQ define for the queue )the DLQ reason was:

"backout threshold was exceeded"
Back to top
View user's profile Send private message
venusboy
PostPosted: Fri Mar 28, 2008 11:47 am    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

This is a standalone Java app running on various platforms. The code hasn't changed in years, only change is V6 jars.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 28, 2008 11:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

venusboy wrote:
the DLQ reason was:

"backout threshold was exceeded"


What code is that?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 28, 2008 11:51 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

venusboy wrote:
This is a standalone Java app running on various platforms. The code hasn't changed in years, only change is V6 jars.


If it's a change, it's news to me but then I'm not a Java person. AFAIK this was only ever done in JMS running under J2EE / app server by the server itself
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
venusboy
PostPosted: Fri Mar 28, 2008 11:52 am    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

MQRC_BACKOUT_THRESHOLD_REACHED

http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.csqzaw.doc/uj21650_.htm
Back to top
View user's profile Send private message
venusboy
PostPosted: Fri Mar 28, 2008 11:55 am    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

Agreed, when I used to use WAS this was an inbuilt feature (well you could configure it to do what you wanted). But this is a stand-alone app, and I may want it not to get rid of the message.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 28, 2008 12:00 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

venusboy wrote:
Agreed, when I used to use WAS this was an inbuilt feature (well you could configure it to do what you wanted). But this is a stand-alone app, and I may want it not to get rid of the message.


Well, like I said I'm not a Java person so I don't think you're going to get much more out of me.

Except to point out that such messages have not been "got rid of", and it would be a trival task to set a rule to move messages with that distinctive code off the DLQ onto the queue of your choice.

Or actually set a backout queue and bypass the problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
venusboy
PostPosted: Fri Mar 28, 2008 12:01 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

I 'assumed' this was now performing like WMB, i.e. if you didn't have a BOQ defined, then it would put it on the DLQ? As am quite sure the return code is the same. That is why I may be getting confused with BOQ and DLQ.
Back to top
View user's profile Send private message
venusboy
PostPosted: Fri Mar 28, 2008 12:03 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

Its never that simple.... Need to keep the order etc.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Mar 28, 2008 12:05 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

venusboy wrote:
Its never that simple.... Need to keep the order etc.


Message affinity is never good, for this kind of reason.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Fri Mar 28, 2008 12:05 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Vitor,

So you see that it is PFM from the JMS library that is doing the application logic of backout (same as what you get with a MDB).

venusboy,

This is a demonstration of why every input queue to your JMS apps should have backout queues. The DLQ is for the QMGR to use and the MQ Admin will not like you much when they get paged at 3AM for your application messages going into the DLQ for some app reason.

This link seems to indicate a way to turn off the backout feature.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/uj33550_.htm?resultof=%22%62%61%63%6b%6f%75%74%22%20
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Fri Mar 28, 2008 12:11 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

JosephGramig wrote:
Vitor,

So you see that it is PFM from the JMS library that is doing the application logic of backout (same as what you get with a MDB).


MDB = Message Driven Bean, J2EE thing right?

PFM = ???

(Not Java person you see)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
venusboy
PostPosted: Fri Mar 28, 2008 12:25 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Jun 2002
Posts: 51

Thanks for all your help. I totally agree with all your points, but this is not an ideal world sometimes we inherit systems... and its me who would be called out at 0300... regardless of it being the DLQ or a BOQ.

We now have ensured that each queue has its own back-out queue, as in the past I thought that it was only JMS App servers or JMS listeners that would implement the BOQ features, not a standard JMS get.

So from this I conclude, that standard alone Java JMS apps have always implemented the backout feature. For me that is the important point, its the same as v5.

Also thank you for the how to turn off the back-out queue feature, which I should have remembered...

As always thanks mqseries.net and all who serve, sadly its better than IBMs PMR/Customer help, but I suppose you guys are in the field.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3  Next Page 2 of 3

MQSeries.net Forum Index » General IBM MQ Support » Interesting problem
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.