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 » CCDT table client connection not working

Post new topic  Reply to topic
 CCDT table client connection not working « View previous topic :: View next topic » 
Author Message
pranaygupta
PostPosted: Tue Feb 23, 2010 9:58 pm    Post subject: CCDT table client connection not working Reply with quote

Novice

Joined: 01 Sep 2009
Posts: 14

Hi

I am trying to use a CCDT table to create a client connection. I am also later planning to implement SSL.

The steps i have followed are:
1. Created client connection channel of same name as server connection channel (is the same name necessary?).
2. Moved the .tab file to the client machine, which has an MQ Client installation.
3. On the Client Machine, Set the MQCHLLIB and MQCHLTAB variables to path and file name repectively.
4. On performing a AMQSGETC i get a error with reason code 2058 (QMgr name not recognized).

My server machine is a Windows box and the client machine is Solaris.

Am i missing something obvious? i've followed the steps from a redbook exactly and have double and triple checked everything.

Any help would be greatly appreciated.

Thanks in advance.

Regards
Pranay
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Feb 23, 2010 10:47 pm    Post subject: Re: CCDT table client connection not working Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

pranaygupta wrote:
1. Created client connection channel of same name as server connection channel (is the same name necessary?).


Yes, how else would the channel name be known?

pranaygupta wrote:
3. On the Client Machine, Set the MQCHLLIB and MQCHLTAB variables to path and file name respectively.


And did you check that the user the amqsget sample is running under has permission to path to the CCDT file, and has read permissions on the CCDT file?

pranaygupta wrote:
4. On performing a AMQSGETC i get a error with reason code 2058 (QMgr name not recognized).


So what name are you passing to the amqsgetc sample? Is it the same as that in the CLNTCONN definition, or are you passing an asterisk? Pedantically, MQRC 2058 is MQRC_Q_MGR_NAME_ERROR.

pranaygupta wrote:
Am i missing something obvious?


Probably...

pranaygupta wrote:
i've followed the steps from a redbook exactly and have double and triple checked everything.


So, either the instructions in the Redbook are wrong, or you have not followed the steps exactly. If you can quote the Redbook title/number we'll have a better idea of which.
_________________
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
pranaygupta
PostPosted: Tue Feb 23, 2010 11:12 pm    Post subject: Reply with quote

Novice

Joined: 01 Sep 2009
Posts: 14

the red book is: WebSphere MQ V6, WebSphere Message Broker V6,
and SSL
authors: Saida Davies, Emir Garza, Vicente Suarez

i've referred pages 24 to 27.

Thanks so much for the prompt reply.

I have not specified Queue Manager name in the channel def. I'll try with that specified.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Feb 24, 2010 12:10 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

I'll have a look. Take a look at THIS, which will help to explain why you got the error you did.
_________________
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
exerk
PostPosted: Wed Feb 24, 2010 1:00 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Having reviewed those pages I'm not too confident that you followed the instructions perfectly.

1. Are you absolutely sure the QMNAME is blank, i.e. QMNAME( ), in your CLNTCONN definition?
2. Are you definitely submitting amqsputc Q1 (assuming the queue name) on the command line on the client machine?

Just a wild guess, but I suspect you are passing the queue manager name on the command line when you try the sample on the client box
_________________
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
pranaygupta
PostPosted: Wed Feb 24, 2010 2:25 am    Post subject: Reply with quote

Novice

Joined: 01 Sep 2009
Posts: 14

I supplied queue manager name in the definition of the channel. Then when i do an AMQSPUTC with the queue and queue manager name, IT WORKS.

i had tried both yesterday, with and w/o queue manager name in the AMQSPUTC.

Thanks for your help. have been able to set up SSL as well.

I'm new to MQ but i'm learning and sometimes it can be a lot of fun.

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 » CCDT table client connection not working
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.