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 » no backout-requeue queue defined (?)

Post new topic  Reply to topic
 no backout-requeue queue defined (?) « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Mon Dec 23, 2013 7:29 am    Post subject: no backout-requeue queue defined (?) Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

My Eclipse error log says

Code:
Lets wait (2000) mili-secs for a response.
com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ1080: No Backout-Requeue queue defined.
Inner exception(s):
com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ1079: Unable to write a message to dead letter queue.
WebSphere MQ classes for JMS failed to requeue a message to the dead letter queue.


The first line corresponds to this JMS code :

Code:
try {
            
   String szOut = String.format( "Lets wait (%d) mili-secs for a response.", iTimeout ) ;
   System.out.println( szOut ) ;
          
   Message receivedMessage = my_MQ_receiver.receive( iTimeout ) ; // esperem resposta una estoneta
   if ( receivedMessage != null ) {


The receiver is wating on queue "RESPOSTA", and it does have a backout queue defined "RESPOSTA.BACKOUT", but JMS does not look like using it.

How can I fix this ?

Why message "JMSWMQ1080: No Backout-Requeue queue defined." does not indicate what queue is it using at the moment ?

The MQ objects are here :

Code:
DEFINE QL(RESPOSTA) +
    BOTHRESH(1) BOQNAME('RESPOSTA.BACKOUT') +
    REPLACE


Any clue ?
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Mon Dec 23, 2013 9:32 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

Does the 'RESPOSTA.BACKOUT' queue actually exist?
Does the ID the app is running under have the MQ authrority to use 'RESPOSTA.BACKOUT'?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
sebastia
PostPosted: Mon Dec 23, 2013 9:51 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Hi, mr Potkay - sorry didn't display all objects - the queue exists, of curse :

Code:
* define a backout queue for poison messages
define ql('RESPOSTA.BACKOUT') replace

* create queue to receive responses
DEFINE QL(RESPOSTA) +
    BOTHRESH(1) BOQNAME('RESPOSTA.BACKOUT') +
     REPLACE


And I have disabled security from MQ v7.5, and have no MQRC=2035, as far as I know.

I am running JMS under win7.

In fact I would like to know what AMQERR01.LOG file is being used by JMS ... jejeje ... as I find no entries at all ... in any file ...
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Dec 23, 2013 5:24 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Turn authority events on and check in the relevant system queue. You may find a message there with more info (MO71)...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Tue Dec 24, 2013 12:37 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

OK.

Enabled events using

Code:
ALTER QMGR AUTHOREV (ENABLED)


and now some msg must be written into queue

Code:
SYSTEM.ADMIN.QMGR.EVENT


I am downloading MO71 ...

>>> http://www-01.ibm.com/support/docview.wss?uid=swg24000142

More to come ... cheers.
Back to top
View user's profile Send private message Visit poster's website
sebastia
PostPosted: Tue Dec 24, 2013 1:19 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

OK - got mo71_7.5.2_Beta.zip and installed. Runs fine.
Restarted qmgr so queues are empty.

I added a location to MO71, this is my "entry" queue manager, where JMS code has the problem. Double click on the "green" icon, and get some info from qmgr. The "monitoring" tab says "Authority event" is Enabled.

Looks good. Now I produce the problem - JMS error is on screen.
Nothing gets into SYSTEM.ADMIN.QMGR.EVENT in QMENT1

Any clue ?
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue Dec 24, 2013 7:50 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

if nothing is in the logs either have you tried checking with Morag's blog entry? https://www.ibm.com/developerworks/mydeveloperworks/blogs/aimsupport/entry/blocked_by_chlauth_why?lang=en

Hope this helps
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Tue Dec 24, 2013 8:26 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Thanks, mr Saper for all your efforts !

I have to admit I've been very positively surprised by MO71.
Shall spend few time learning how it goes ...

Best wishes for 2014 for you and all your family !
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue Dec 24, 2013 8:34 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Thank Paul Clarke for MO71. I believe that since he left IBM maintenance of this package has changed hands. But his brainchild lives on, and we are grateful for it....
You might also want to look into MO72 as a sister package to MO71...

Feliz Navidad y buen ano 2014, Salud y Felicidad
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
sebastia
PostPosted: Tue Dec 24, 2013 9:05 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

fjb_saper wrote:
if nothing is in the logs either have you tried checking with Morag's blog entry? https://www.ibm.com/developerworks/mydeveloperworks/blogs/aimsupport/entry/blocked_by_chlauth_why?lang=en

Hope this helps


mr Saper - you did it again.

I was reading the Morag's article you pointed me to, and was lauging because I always use
"ALTER QMGR CHLAUTH(DISABLED)"

... and then realized ... I forgot it on half of the cluster.

Our "high avail" cluster has - beside 2 FR's, of course -
2 front end qmgrs, called MQENT1 and MQENT2,
that provide SVRCONN channels for the CCDT the JMS clients use to connect.

Here, I did write the sentence to disable channel authentication.

But the JMS code in fact writes into a cluster queue,
that resides on our "server" queue managers,
called QMMB1 and QMMB2,
and here I did forget the "disable" sentence.

Thanks to your help, my JMS log error is more clean and nice.

Cheers ! Sebastian.
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Tue Dec 24, 2013 9:24 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

fjb_saper wrote:
Thank Paul Clarke for MO71. I believe that since he left IBM maintenance of this package has changed hands. But his brainchild lives on, and we are grateful for it....


It does live on, back in the capable hands of the originator. MO71 is now supported my MQGem, and Paul Clarke is MQGem. If you go to the MQGem website you can download the app and purchase a support license if you are so inclined.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » no backout-requeue queue defined (?)
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.