Author |
Message
|
s-r-i |
Posted: Tue Aug 09, 2005 1:22 am Post subject: client connection channel |
|
|
 Novice
Joined: 03 Aug 2005 Posts: 17
|
i am creating a client conenction channel and server connection channel on the server side using the code
crtmqm QM1
strmqm QM1
runmqlsr -m QM1 -t tcp -p 1414 &
DEFINE CHANNEL(CH.TO.QM1) CHLTYPE(CLNTCONN) CONNAME('192.168.1.201(1414)') QMNAME(QM1)
DEFINE CHANNEL(CH.TO.QM1) CHLTYPE(SVRCONN)
START CHANNEL(CH.TO.QM1)
START LISTENER
after all these steps i have copied the AMQCLCHL.TAB file from my system and i have put it on the client system's /var/mqm directory
but it is showing the error 2059..please help |
|
Back to top |
|
 |
Nigelg |
Posted: Tue Aug 09, 2005 1:40 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Read the Clients manual, which tells you exactly how to use the client channel table method. |
|
Back to top |
|
 |
hopsala |
Posted: Tue Aug 09, 2005 4:13 am Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
I would advise, in addition to what already said, to always check client channels manually (that is, using "set MQSERVER=CHLNAME/TCP/IP(port)") before working with the table. Possibly its simply a communications problem.
First low-tech, only then high-tech...
Also, check error logs in qmgr, possibly some channel error. |
|
Back to top |
|
 |
s-r-i |
Posted: Tue Aug 09, 2005 8:42 pm Post subject: still not working |
|
|
 Novice
Joined: 03 Aug 2005 Posts: 17
|
hi
i have tried setting the MQSERVER variable also,but still it is not working..it is displaying the same 2058 --qmanager not found error |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Aug 09, 2005 10:45 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
why dont you post what you have tried? or does it work now because you get 2058 and 2035 errors (your other question) ? _________________ Regards, Butcher |
|
Back to top |
|
 |
Anirud |
Posted: Wed Aug 10, 2005 7:17 am Post subject: Re: still not working |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
s-r-i wrote: |
hi
i have tried setting the MQSERVER variable also,but still it is not working..it is displaying the same 2058 --qmanager not found error |
How did you set the MQSERVER variable? |
|
Back to top |
|
 |
wschutz |
Posted: Wed Aug 10, 2005 7:30 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
and 2058 means that you're able to connect to a qmgr, but you've named a different qmgr then you've connected to.... are you getting the 2058 from an application or sometinhg like amqsputc? If amqsputc, please also post how you are envoking that command.... _________________ -wayne |
|
Back to top |
|
 |
|