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 » General IBM MQ Support » Client using CCTD file getting 2058

Post new topic  Reply to topic
 Client using CCTD file getting 2058 « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Mon Jul 15, 2019 7:29 am    Post subject: Client using CCTD file getting 2058 Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Greetings.

I have a cluster of 4 qmgrs, so I defined a svrconn channel on each qmgr and then 4 client connection channels corresponding to each svrconn channel. They all use a unified name APPQM in the qmgr name field. I then copied the CCTD file and distributed to the client, thinking it will shield the client from having to know the individual qmgr names.

But the client is getting MQRC 2058.

What could I have missed here? Is this the way the client supposed to use the CCTD file?

thanks a lot!
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 15, 2019 7:38 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Is the app using APPQM or *APPQM as the symbolic name?
_________________
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
View user's profile Send private message
pcelari
PostPosted: Mon Jul 15, 2019 8:04 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Yes. that symbolic name get resolved to the real qmgrname through the CCTD file, correct?
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 15, 2019 8:33 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

pcelari wrote:
Yes. that symbolic name get resolved to the real qmgrname through the CCTD file, correct?

APPQM and *APPQM are different, so which is it you're using?
_________________
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
View user's profile Send private message
bruce2359
PostPosted: Mon Jul 15, 2019 8:36 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

pcelari wrote:
Yes. that symbolic name get resolved to the real qmgrname through the CCTD file, correct?

If the app MQCONNects to '*APPQM' the CCDT table will be searched for any CCDT entry that matches 'APPQM'. There will be no check for the actual queue manager name.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
pcelari
PostPosted: Mon Jul 15, 2019 8:45 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

So, if the real qmgrs are APPQM01, APPQM02, APPQM03, APPQM04, then I should put "APPQM*" in the QmgrName field?

So, I completely misunderstood the resolution mechanism in the CCTD.

thanks so much for pointing that out!
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 15, 2019 8:47 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

pcelari wrote:
So, if the real qmgrs are APPQM01, APPQM02, APPQM03, APPQM04, then I should put "APPQM*" in the QmgrName field?

No, put *APPQM !
_________________
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
View user's profile Send private message
bruce2359
PostPosted: Mon Jul 15, 2019 8:50 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9394
Location: US: west coast, almost. Otherwise, enroute.

pcelari wrote:
So, if the real qmgrs are APPQM01, APPQM02, APPQM03, APPQM04, then I should put "APPQM*" in the QmgrName field?

No. Put APPQM in the queue manager name field of the CCDT. Put *APPQM in the application MQCONNect call.

pcelari wrote:
So, I completely misunderstood the resolution mechanism in the CCTD.

Seems so.

pcelari wrote:
thanks so much for pointing that out!

_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
pcelari
PostPosted: Tue Jul 16, 2019 10:20 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

Thanks for all the input.

… I'm still getting 2058, and wonder if the QMNAME field in the client connection channel should contain the real queue manager name (APPQM01, APPQM02, etc) or can be an identical alias name across all CLNTCONN channels, like APPQM, in this CCTD file.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jul 16, 2019 10:23 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

pcelari wrote:
Thanks for all the input.

… I'm still getting 2058, and wonder if the QMNAME field in the client connection channel should contain the real queue manager name (APPQM01, APPQM02, etc) or can be an identical alias name across all CLNTCONN channels, like APPQM, in this CCTD file.

You can use the symbolic name or leave the attribute blank.
_________________
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
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 » General IBM MQ Support » Client using CCTD file getting 2058
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.