Author |
Message
|
lash |
Posted: Wed May 19, 2004 3:21 pm Post subject: MQOUTPUT NODE DOES NOT GIVE OUTPUT BUT MSGS ARE IN THAT NODE |
|
|
 Apprentice
Joined: 14 May 2003 Posts: 47
|
HI friends,
In the message flow with MQinput node, compute node and MQoutput node.
when i put a msg to mq-input queue node---compute node--mq-output node.
the message is coming to mq-output node but i cannot retrieve the msg.
and also i cannot clear the messages in this node.(when i tried it is saying that "queue is in use, wait for some time and try again")
I HAVE TO STOP QMGR AND THE SERVICES OF MQSI, THEN I CANNOT SEE ANY MESSAGES IN MQ OUTPUT QUEUE.
can any body whats happening...??????
thanks. |
|
Back to top |
|
 |
Nizam |
Posted: Wed May 19, 2004 5:34 pm Post subject: |
|
|
Disciple
Joined: 10 Feb 2004 Posts: 160
|
Could you post what you are doing in the compute node. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed May 19, 2004 6:15 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What do you have connected to the failure terminal of the MQInput node? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
kspranava |
Posted: Wed May 19, 2004 11:26 pm Post subject: |
|
|
 Centurion
Joined: 27 Apr 2003 Posts: 124
|
Hi Lash,
Pls check for the following,
1) Once you put a msg in i/p queue were you able to see any increase in message count of o/p queue? If so, check the GET MESSAGES property of o/p queue. If it is set to INHIBITED you will not be able to retrive messages. Set it to ALLOWED.
2) If you were not able to clear messages, try mqsireload <broker name> , which will help you to release all the objects that are tied with the message flows deployed in the broker.
3) Are the messages NON PERSISTENT? If yes, you will not see them after you restart your qmgr.
Pranava. |
|
Back to top |
|
 |
kirani |
Posted: Thu May 20, 2004 5:49 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
I believe this is what is happening
a) You are using some tool (like MQSeries Explorer) to put a message on the input queue and this tool is putting a non-Persistent message on the queue.
b) After the message is processed successfully you are able to see the message on the output queue (you confirmed this in your post?).
c) You tried to clean the message using some tool (let's say MQSeries Explorer) and its giving you an error "queue is in use, wait for some time and try again". This means the output open count for that queue is "1" and the tool (MQ Explorer) cannot clear the messages from the queue in such case. Use some other utility like amqsget[c] to clean the message.
d) When you restart the queue manager, all non-persistent messages are lost! _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
lash |
Posted: Thu May 20, 2004 7:57 am Post subject: MQOUTPUT NODE DOES NOT GIVE OUTPUT BUT MSGS ARE IN THAT NODE |
|
|
 Apprentice
Joined: 14 May 2003 Posts: 47
|
I used amqsget to get the message out of MQoutput queue, but no use.
i tried to clear the queue from command line, but no use..
i tried to clear the queue from mqexplorer also, but no use...
but if if put the message to mq input queue it is taking and showing in output queue also... but i cannot take the message from output queue.
only way i could clear the queue is by stopting the services, and qmgr. and again restaring the services.
and as far as in compute node is concerned...
SET outputroot.xml.request.country = 'UK'
above small code if i use also it is showing the same results....
??????????
thanks... |
|
Back to top |
|
 |
kirani |
Posted: Thu May 20, 2004 8:16 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
It seems the problem is something else then. Is your message flow looping? Try this,
Disconnect your MQInput's catch and failure terminal. Simply attach two MQOutput nodes, one to catch terminal and one to failure terminal. You can define two queues called CATCHQ and FAILQ. Attach a trace node to the Catch terminal of MQInput node and print ${ExceptionList}. Configure the node to write the trace output to some file. Now run your message flow and post the contents of Exceptionlist here.
Your message flow should look like this,
MQInput(out)->Compute1(out)->MQOutput (output queue).
MQInput(catch)->Trace->MQOutput (catchq)
MQInput(failure)->MQOutput (failq)
Thanks,
Kiran _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
SAFraser |
Posted: Fri May 21, 2004 6:33 am Post subject: |
|
|
 Shaman
Joined: 22 Oct 2003 Posts: 742 Location: Austin, Texas, USA
|
I am curious if an error is generated when you amqsget? |
|
Back to top |
|
 |
|