Author |
Message
|
prince_mq |
Posted: Mon Feb 05, 2007 4:42 am Post subject: MQRC 2082 |
|
|
Voyager
Joined: 10 Aug 2006 Posts: 76
|
Hi,
I have a setup of MQ Clustering as follows:
I have an alias queue "AQ" on qmgr1(hpux) pointing to a cluster queue on qmgr2(solaris).
I tried to put message on alias queue "AQ" using "amqsput" from HPUX and it works fine.
Now, from my windows machine i tried to put message on alias queue "AQ" using "mqsiputc" then it gave an error message. "mqrc 2082" which is for "MQRC_UNKNOWN_ALIAS_BASE_Q"
Please let me know as to why it is happening and possible soln for this.
Regards,
Prince |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 05, 2007 4:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
So if you add an alias queue on the hpux box for a local queue on the hpux box it works?
But if the alias queue on the hpux box is an alias for a queue hosted on solaris it doesn't?
In both cases with a windows machine cliented onto the hpux box.
Have I got that right, and if so why do you think it will work? As opposed to using a remote queue as an alias?
I'm assuming here both boxes are in the same cluster. Also is this v5.3 or v6? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 05, 2007 4:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
If you're working with aliases in a cluster, you're better off not sharing the actual queue in the cluster and only sharing the alias.
Otherwise, please be more specific about what your setup is - as Vitor indicates, it's not clear what the windows program is connected to. Also, did you mean "amqsputc" instead of "mqsiputc"? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
prince_mq |
Posted: Mon Feb 05, 2007 5:16 am Post subject: |
|
|
Voyager
Joined: 10 Aug 2006 Posts: 76
|
I am not sure why it failed earlier but now, it WORKS!!
Vitor, thanks for your reply.
Actually we were succesful in transferring messages from HP box to Solaris also using amqsput and failed to do so using mqsiputc.
Some how our configuration worked now and we are able to put message from windows machine as well using mqsiputc
even we are not sure what might have caused this problem earlier. Hopefully, it doesnt occur again! |
|
Back to top |
|
 |
Vitor |
Posted: Mon Feb 05, 2007 5:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
There's a critical difference between amqsput and amqsputc (or mqsiputc which I've not actually heard of. Please see my sig....)
If it works, it works. Yay.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
prince_mq |
Posted: Mon Feb 05, 2007 5:35 am Post subject: |
|
|
Voyager
Joined: 10 Aug 2006 Posts: 76
|
my set up is as follows:
fyi, my application initially puts message on alias q.
aliasq (hpux + not in cluster) --> remoteq (Solaris + Cluster )--> Broker INput local queue
i tried to put messages on aliasq using amqsput. I tried initially like this to test.
I am using mqsiputc and not amqsputc from my windows machine to put messages remotely.
Thanks vitor/jeff for your inputs.
Quote: |
Jeff If you're working with aliases in a cluster, you're better off not sharing the actual queue in the cluster and only sharing the alias. |
Jeff,
my setup is exactly opposite of what you said.
Can you tell me any issues with the set up i have.
[/quote] |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 05, 2007 5:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I've never heard of mqsiputc either.
It's either something buried in a support pack, perhaps IH03, or it's site-specific. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
EddieA |
Posted: Mon Feb 05, 2007 4:13 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Discontinued SupportPac IH02. Actually, quite a useful little utility.
Cheers. _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|