ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Clustering » Getting 2082 while connect with Java Code

Post new topic  Reply to topic
 Getting 2082 while connect with Java Code « View previous topic :: View next topic » 
Author Message
Chandra Mohan
PostPosted: Wed Oct 03, 2007 6:13 am    Post subject: Getting 2082 while connect with Java Code Reply with quote

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
View user's profile Send private message Yahoo Messenger
Vitor
PostPosted: Wed Oct 03, 2007 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message
Chandra Mohan
PostPosted: Wed Oct 03, 2007 6:21 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Oct 03, 2007 6:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Chandra Mohan
PostPosted: Wed Oct 03, 2007 6:27 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Oct 03, 2007 6:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Chandra Mohan
PostPosted: Wed Oct 03, 2007 8:19 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jul 2006
Posts: 53

jefflowrey wrote:
Are you sending from JMS?


From weblogic .
_________________
Chandra Mohan
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Oct 03, 2007 8:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Chandra Mohan
PostPosted: Wed Oct 03, 2007 8:47 am    Post subject: Reply with quote

Acolyte

Joined: 26 Jul 2006
Posts: 53

Yes from JMS.
_________________
Chandra Mohan
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Oct 03, 2007 8:55 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Oct 03, 2007 7:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Thu Oct 04, 2007 3:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » Getting 2082 while connect with Java Code
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.