|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Cannot connect in "Client" mode from JMS to WMQ 7 |
« View previous topic :: View next topic » |
Author |
Message
|
Vitor |
Posted: Mon Sep 27, 2010 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lyntongrice wrote: |
set MQCHLLIB=C:\MQClient\
set MQCHLTAB=AMQCLCHL.TAB
set MQSERVER=SSL.CLIENTS/TCP/192.168.1.1(1414)
|
Ideally you should specify either MQSERVER or a TAB file but not both. Someone will post in a moment which takes precidence (can't remember, too lazy to look it up).
Obvious questions:
Are those variables in scope for the command prompt you're using?
Is there a SVRCONN channel called SSL.CLIENTS?
Is the TAB file called AMQCLCHL.TAB?
Is it in C:\MQClent?
Is it the right one in C:\MQClient (as that's most likely not where any changes are going)?
Does the user id in use have read permissions to that folder & file? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
lyntongrice |
Posted: Mon Sep 27, 2010 5:44 am Post subject: |
|
|
Acolyte
Joined: 26 Sep 2010 Posts: 70
|
Hi there,
I took out the MQSERVER env variable and it used the other settings in MQCHLTAB etc so it seems the MQSERVER take presedance always...
You asked:
Are those variables in scope for the command prompt you're using? - YES, I sent them globally under "My Computer -> Advanced -> Env Vars etc"
Is there a SVRCONN channel called SSL.CLIENTS? - YES
Is the TAB file called AMQCLCHL.TAB? - YES
Is it in C:\MQClent? - Well it is C:\MQClient - so YES
Is it the right one in C:\MQClient (as that's most likely not where any changes are going)? - YES, I copy it regulary from "C:\soabox\IBM\WebSphere MQ\Qmgrs\QM_NC10\@ipcc" to that folder C:\MQClient
Does the user id in use have read permissions to that folder & file? - YES
This is a very weird error, not sure what it could be ;-( I will keep digging on my side...thanks  |
|
Back to top |
|
 |
lyntongrice |
Posted: Mon Sep 27, 2010 10:58 am Post subject: |
|
|
Acolyte
Joined: 26 Sep 2010 Posts: 70
|
Hi all,
After much pain and reading online it turns out I was missing ONE environment variable:
So when I run "rfhutilc.exe" it works 100% And also when I run
Code: |
AMQSCNXC -x <ipaddress>(<port>) -c SSL.CLIENTS QM_NC10 |
Sample AMQSCNXC start
Connecting to queue manager QM_NC10
using the server connection channel SSL.CLIENTS
on connection name 192.168.1.1(1416).
Connection established to queue manager QM_NC10
Sample AMQSCNXC end
Thanks to all for your help today, chat later
Lynton |
|
Back to top |
|
 |
Vitor |
Posted: Mon Sep 27, 2010 11:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
lyntongrice wrote: |
Hi all,
After much pain and reading online it turns out I was missing ONE environment variable:
|
Not that old chestnut!
At least you got it working.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|