Author |
Message
|
Chandra Mohan |
Posted: Wed Oct 03, 2007 6:13 am Post subject: Getting 2082 while connect with Java Code |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
I am facing an error(2082) while connecting with alias queue on a QM however here the name of AQ is different with target queue although both are in a same cluster(Does it make any impact). If i trying with the same code(except change QM, queue and SVRCONN name in a code) to connect with any other AQ on a different QM then its work.
Please suggest what are the possible ways that i can resolv it.
Thanks in advance. _________________ Chandra Mohan
Last edited by Chandra Mohan on Wed Oct 03, 2007 6:20 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 03, 2007 6:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Fix the definition of the alias queue so it points to a valid object? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Chandra Mohan |
Posted: Wed Oct 03, 2007 6:21 am Post subject: |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
Vitor wrote: |
Fix the definition of the alias queue so it points to a valid object? |
We mentioned target queue but the name of alias queue nad target queue is different. Does it will make any impact. _________________ Chandra Mohan |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 03, 2007 6:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Chandra Mohan wrote: |
Vitor wrote: |
Fix the definition of the alias queue so it points to a valid object? |
We mentioned target queue but the name of alias queue nad target queue is different. Does it will make any impact. |
No. That's the point of alias queues.
That you can name an alias MY.APPLICATION.INPUT.QUEUE, and the real queue 1234.SYS.FOOBAR.QUEUE _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Chandra Mohan |
Posted: Wed Oct 03, 2007 6:27 am Post subject: |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
jefflowrey wrote: |
Chandra Mohan wrote: |
Vitor wrote: |
Fix the definition of the alias queue so it points to a valid object? |
We mentioned target queue but the name of alias queue nad target queue is different. Does it will make any impact. |
No. That's the point of alias queues.
That you can name an alias MY.APPLICATION.INPUT.QUEUE, and the real queue 1234.SYS.FOOBAR.QUEUE |
So, wat are the possible reasons that we are getting 2082 error specially using java code. If we put a message from amqsput its working _________________ Chandra Mohan |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 03, 2007 6:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Are you sending from JMS? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Chandra Mohan |
Posted: Wed Oct 03, 2007 8:19 am Post subject: |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
jefflowrey wrote: |
Are you sending from JMS? |
From weblogic . _________________ Chandra Mohan |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 03, 2007 8:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Chandra Mohan wrote: |
From weblogic . |
Are you ignoring my question? Or just not thinking about it? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Chandra Mohan |
Posted: Wed Oct 03, 2007 8:47 am Post subject: |
|
|
 Acolyte
Joined: 26 Jul 2006 Posts: 53
|
Yes from JMS. _________________ Chandra Mohan |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 03, 2007 8:55 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
In order to get things to work properly from JMS, it has seemed necessary to create a CLUSTER ALIAS and set that as the qmgr name in the QCF.
A cluster alias is a qremote that has a blank RQNAME and RQMNAME. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 03, 2007 7:39 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
jefflowrey wrote: |
In order to get things to work properly from JMS, it has seemed necessary to create a CLUSTER ALIAS and set that as the qmgr name in the QCF.
A cluster alias is a qremote that has a blank RQNAME and RQMNAME. |
Jeff I never used the cluster alias as the qmgr name in the qcf. I have however used it in the Destination definition as the queue's target qmgr.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 04, 2007 3:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Urgh.
Sorry, yes. That's correct. Been too long since I've dealt with this particular wrinkle.
 _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|