Author |
Message
|
mqrules |
Posted: Tue Jul 07, 2009 5:36 pm Post subject: amqsput -- cannot find message |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
AIX MQ V6.0. Set up:
QM1 qmgr on server1 -- partial respsitory in cluster TEST1.
QM2 qmgr on server2 -- partial repsotory in cluster TEST1.
I have defined the objects (both queues and channels) ) as non-cluster as required by the app:
Remote q (not cluster): Q1 on QM1
Local q (not cluster): Q1 (not triggered) on QM2
SDR chl on QM1: QM1.QM2 status: running
RCVR chl on QM2: QM1.QM2
Despite the fact that SDR chl is running, when I put a message to the remoteq Q1 on QM1, it is not showing up on Q1 localq on QM2. I cannot find it in the DEAD q either or the xmitq QM2 (on QM1). I am pretty sure I am missing something.
Any ideas, please?
Thanks,
MR |
|
Back to top |
|
 |
mqrules |
Posted: Tue Jul 07, 2009 5:37 pm Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
Forgot to say that, I use amqsput to put a message and amqsget to get a message...
Thanks.
MR |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 08, 2009 1:12 am Post subject: Re: amqsput -- cannot find message |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqrules wrote: |
Any ideas, please? |
Make sure the queues have default persistence to "persistent" (amqsput uses this value) and try again. If there is a problem and the message is non-persistent it can disappear as you describe.
Then double check all your definitions, starting with the remote queue. Post the relevant sections (if no errors are apparent) and see if the wider community can comment. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
sumit |
Posted: Wed Jul 08, 2009 7:07 am Post subject: |
|
|
Partisan
Joined: 19 Jan 2006 Posts: 398
|
mqrules wrote: |
Forgot to say that, I use amqsput to put a message and amqsget to get a message... |
Did you check the curdepth of Q1 on QM2 before executing amqsget?
You sure that you were successful while putting message in Q1 on QM1 (quite silly question though)?
Follow Vitor's advice, run the test again and share your outcomes. _________________ Regards
Sumit |
|
Back to top |
|
 |
mqrules |
Posted: Thu Jul 09, 2009 8:17 am Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
The issue is Resolved...
It turned out that the channels I had created had MCAUSER(disabled) by inheriting it from the default SYSTEM.* channels. As a result the SDR chl was going into RETRY and after a few secs RUNNING state... As the state had changed to RUNNING i had not bothered checking the error logs. I don't think it should have been RUNNING at all with the disabled ID. Anyway, when I blanked out the MCAUSER both on SDR and RCVR everything worked as expected...
Thanks all for responding.
MR |
|
Back to top |
|
 |
|