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 » IBM MQ Installation/Configuration Support » Issue with MQ client connecting to server with CCDT

Post new topic  Reply to topic
 Issue with MQ client connecting to server with CCDT « View previous topic :: View next topic » 
Author Message
amitjain
PostPosted: Wed Jan 14, 2015 8:52 am    Post subject: Issue with MQ client connecting to server with CCDT Reply with quote

Apprentice

Joined: 14 Jan 2015
Posts: 39

Hi,

Issue with connecting to MQ server using CCDT channel definition file.

MQ Server configuration: Version 8.0 Red Hat Linux

MQ Client configuration : Version 8.0 Windows 7 enterprise

If I use MQSERVER variable , I am able to put message on to queue.

set MQSERVER=CMAP_TEST_GT_CHANNEL/TCP/ulonapmqss01(2515)
amqsputc.exe CMAP_TEST_SWIFTSENDQUEUE CMAP_TEST_GTExchange_QM

But If I try to use

set MQCHLLIB=C:\AMITJAIN\UAT_MQ
SET MQCHLTAB=AMQCLCHL.TAB
amqsputc.exe CMAP_TEST_SWIFTSENDQUEUE CMAP_TEST_GTExchange_QM

it fails with
Sample AMQSPUT0 start
MQCONNX ended with reason code 2058


I am able to connect using MQ Explorer on windows when using radio button Connect directly by providing host , port , channel ,queue manager name on eclipse wizard.

But If I use option connect using a client channel definition table , it fails.

output of runmqsc -n

C:\Program Files\IBM\WebSphere MQ\bin64>runmqsc.exe -n
5724-H72 (C) Copyright IBM Corp. 1994, 2014.
Starting local MQSC for 'AMQCLCHL.TAB'.

display channel(CMAP_TEST_GT_CHANNEL)
1 : display channel(CMAP_TEST_GT_CHANNEL)
AMQ8414: Display Channel details.
CHANNEL(CMAP_TEST_GT_CHANNEL) CHLTYPE(CLNTCONN)
AFFINITY(PREFERRED) ALTDATE(2015-01-13)
ALTTIME(16.18.45) CERTLABL( )
CLNTWGHT(0) COMPHDR(NONE)
COMPMSG(NONE) CONNAME(ULONAPMQSS01(2515))
DEFRECON(NO) DESCR(Client-connection to Server_2)
HBINT(300) KAINT(AUTO)
LOCLADDR( ) MAXMSGL(4194304)
MODENAME( ) PASSWORD( )
QMNAME(CMAP_TEST_GTEXCHANGE_QM) RCVDATA( )
RCVEXIT( ) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SHARECNV(10)
SSLCIPH( ) SSLPEER( )
TPNAME( ) TRPTYPE(TCP)
USERID( )
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.CLNTCONN) CHLTYPE(CLNTCONN)
AFFINITY(PREFERRED) ALTDATE(2015-01-13)
ALTTIME(11.41.5 CERTLABL( )
CLNTWGHT(0) COMPHDR(NONE)
COMPMSG(NONE) CONNAME( )
DEFRECON(NO) DESCR( )
HBINT(300) KAINT(AUTO)
LOCLADDR( ) MAXMSGL(4194304)
MODENAME( ) PASSWORD( )
QMNAME( ) RCVDATA( )
RCVEXIT( ) SCYDATA( )
SCYEXIT( ) SENDDATA( )
SENDEXIT( ) SHARECNV(10)
SSLCIPH( ) SSLPEER( )
TPNAME( ) TRPTYPE(TCP)
USERID( )

I am able to connect with my java program also by passing parameter but with client channel definition it is not working.

Queue manager is up and running as I am able to put message from java code and also from MQ exlplorer.

Please suggest what I am doing wrong in setup.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Jan 14, 2015 8:55 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

You have upper case QM name in CCDT and you are coding lower case QM name on the command.

Recommendation: Use only upper case for all MQ objects, especially QM names.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
amitjain
PostPosted: Wed Jan 14, 2015 9:17 am    Post subject: Reply with quote

Apprentice

Joined: 14 Jan 2015
Posts: 39

It is working now. Thanks for help.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Wed Jan 14, 2015 9:24 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

And did you change the AMQSPUTC command accordingly? Are you still getting 2058?
Are there any error messages in the client error log ?

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
amitjain
PostPosted: Wed Jan 14, 2015 9:27 am    Post subject: Reply with quote

Apprentice

Joined: 14 Jan 2015
Posts: 39

It is working fine now.

Issue was with case as suggested zpat, problem was that even I give in lower case in CCDT file it was always going in upper case.

I recreated queue manager and used new CCDT generated file it worked both in MQ Explorer and in command prompt on windows 7.

Thanks for quick help!!
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 » IBM MQ Installation/Configuration Support » Issue with MQ client connecting to server with CCDT
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.