Author |
Message
|
vinay_s_s |
Posted: Tue Dec 09, 2008 12:54 am Post subject: Application unable to get messages from local queue. |
|
|
 Apprentice
Joined: 17 Nov 2008 Posts: 39
|
Hi All,
I have an issue with an application unable to get the message from a local queue.
The issue is if we put a message from an organizational application, it reaches the local queue. The receiving application is unable to get the message.
How ever, if the same message is put on directly on the local queue by MQexplorer, the receiving application processes that message.
MQ 6.0
Windows 2003.
Please share your experiences and help me to resolve this issue.
Thanks in advance.
Vinay S |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 1:22 am Post subject: Re: Application unable to get messages from local queue. |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Quote: |
The receiving application is unable to get the message. |
Why not? MQ reason code? Application abend? Flying monkey attack? Rain of trout?
If you want some help, we're going to need some clues. Like what goes wrong, at what stage, in what MQI call.
Quote: |
MQ 6.0
Windows 2003.
|
If you really mean v6.0, you might want to consider applying some maintennce. Not saying that's your problem but it can't hurt. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vinay_s_s |
Posted: Tue Dec 09, 2008 2:23 am Post subject: |
|
|
 Apprentice
Joined: 17 Nov 2008 Posts: 39
|
This is the error log excerpt..
WebSphere MQ was unable to obtain the account details for MCA user ID 'XXXX'.
This user ID was the MCA user ID for channel 'TO.NTEHUBA' on queue manager
'NTEHUBA' and may have been defined in the channel definition, or supplied
either by a channel exit or by a client.
ACTION:
Ensure that the user ID is correct and that it is defined on the Windows local
system, the local domain or on a trusted domain. For a domain user ID, ensure
that all necessary domain controllers are available.
----- amqrsrva.c : 973 --------------------------------------------------------
12/9/2008 04:09:48 - Process(3912.1498819) User(MQSeries_DEVAdmin) Program(amqrmppa.exe)
AMQ9245: Unable to obtain account details for channel MCA user ID.
Maintenance level is 6.0.2.4 |
|
Back to top |
|
 |
vinay_s_s |
Posted: Tue Dec 09, 2008 2:27 am Post subject: |
|
|
 Apprentice
Joined: 17 Nov 2008 Posts: 39
|
I'll make it clear.
Assume I put a message 'x' on local queue of a queue manager from application 'A'. The receiving application 'B' will not get the message.
but if I put the same message 'x' on the same local queue of a queue manager from MQexplorer application , the receiving applicatin 'B' is able to read that message and process it.
This is the issue. I've attached the error log excerpt in my previous post.
Thanks,
Vinay |
|
Back to top |
|
 |
Vitor |
Posted: Tue Dec 09, 2008 2:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vinay_s_s wrote: |
Ensure that the user ID is correct and that it is defined on the Windows local
system, the local domain or on a trusted domain. For a domain user ID, ensure
that all necessary domain controllers are available.
|
Well that seems fairly self explainatory.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vinay_s_s |
Posted: Tue Dec 09, 2008 2:32 am Post subject: |
|
|
 Apprentice
Joined: 17 Nov 2008 Posts: 39
|
even tried that. Same error. |
|
Back to top |
|
 |
atheek |
Posted: Tue Dec 09, 2008 2:55 am Post subject: |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
Quote: |
Assume I put a message 'x' on local queue of a queue manager from application 'A |
How is appln A connecting to the queue manager? Is it in client mode? If then it should be using a channel. That channel could have a mcauser XXXX which your windows environment is not able to recognize.
Are your sure the MQPUT from application A really reaches the Q for B to consume? Your initial post says so..but to confirm  |
|
Back to top |
|
 |
vinay_s_s |
Posted: Tue Dec 09, 2008 7:31 pm Post subject: |
|
|
 Apprentice
Joined: 17 Nov 2008 Posts: 39
|
Yes, application 'A' connects using a webSphere MQ client. Client version is 6.0. It uses a server connection channel. However, in the channel properties in MCA, there is indeed a user 'XXXX'.
MQPUT from application 'A' reaches the local queue. The 'curdepth' of the local queue increases as soon as the message is put from 'A'.
My doubt is, why is the application processing the message from MQexplorer and not from the MQclient.
MQexplorer and MQclient (Application 'A') are on Server1.
Application 'B' is on Server2.
Regards,
Vinay |
|
Back to top |
|
 |
zhanghz |
Posted: Tue Dec 09, 2008 10:27 pm Post subject: |
|
|
Disciple
Joined: 17 Jun 2008 Posts: 186
|
How is MCA user ID 'XXXX' defined on 'NTEHUBA'? How long is the ID?
btw, if I am not mistaken, you mentioned application B is on another server (say server B), then how can application B on server B get messages from a queue on server A? |
|
Back to top |
|
 |
vinay_s_s |
Posted: Tue Dec 09, 2008 11:14 pm Post subject: |
|
|
 Apprentice
Joined: 17 Nov 2008 Posts: 39
|
when I check the channel properties - MCA : I literally see 'XXXX' as the user id.
there are two servers.
Application 'A' puts the message to an alias queue on Server 'A'.
This alias queue resolves to a remote queue on Server A.
The remote queue on Server 'A' points to a local queue on Server 'B'.
Application 'B' connects to Server 'B' local queue to get the message for processing.
This is the MQ setup.. |
|
Back to top |
|
 |
exerk |
Posted: Wed Dec 10, 2008 12:25 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
vinay_s_s wrote: |
when I check the channel properties - MCA : I literally see 'XXXX' as the user id... |
And what are the odds that user 'XXXX' does not exist? That looks like a null user to me. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
atheek |
Posted: Wed Dec 10, 2008 12:31 am Post subject: |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
Quote: |
WebSphere MQ was unable to obtain the account details for MCA user ID 'XXXX'.
This user ID was the MCA user ID for channel 'TO.NTEHUBA' on queue manager
'NTEHUBA' and may have been defined in the channel definition, or supplied
either by a channel exit or by a client.
ACTION:
Ensure that the user ID is correct and that it is defined on the Windows local
system, the local domain or on a trusted domain. For a domain user ID, ensure
that all necessary domain controllers are available.
----- amqrsrva.c : 973 --------------------------------------------------------
12/9/2008 04:09:48 - Process(3912.1498819) User(MQSeries_DEVAdmin) Program(amqrmppa.exe)
AMQ9245: Unable to obtain account details for channel MCA user ID. |
Are you getting the above MQ exception in server B or Server A?
Is there any application exception for appln A or B?
What type of channel is TO.NTEHUBA ? |
|
Back to top |
|
 |
exerk |
Posted: Wed Dec 10, 2008 12:38 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
atheek wrote: |
...What type of channel is TO.NTEHUBA ? |
vinay_s_s wrote: |
Application 'A' puts the message to an alias queue on Server 'A'.
This alias queue resolves to a remote queue on Server A.
The remote queue on Server 'A' points to a local queue on Server 'B'. |
Implies a SDR...and I still think that user 'XXXX' is a null user, same as 'NOBODY'. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
vinay_s_s |
Posted: Wed Dec 10, 2008 12:52 am Post subject: |
|
|
 Apprentice
Joined: 17 Nov 2008 Posts: 39
|
If the user is a null character string, why is application 'B' processing the messages when put from MQexplorer on Server 'A'.
Even now, the MCA user is XXXX. There is no change made to the configuration. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Dec 10, 2008 1:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vinay_s_s wrote: |
If the user is a null character string, why is application 'B' processing the messages when put from MQexplorer on Server 'A'. |
So what you're saying is that if you put a message onto a remote queue definition on server A using MQExplorer, the message travels to the local queue on server B where it's processed. If you put it using a client app it doesn't travel to B and you get an error saying the non-existant MCA User can't be verified?
Do I have that right? Do you still not see the problem? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|