|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Server Connection Channel on Linux |
« View previous topic :: View next topic » |
Author |
Message
|
rieta |
Posted: Wed Jan 09, 2002 3:46 am Post subject: |
|
|
Novice
Joined: 22 Dec 2001 Posts: 20 Location: Mybubble
|
I have installed MQSeries on Linux. I have created a QueueManager, two queues, and a server connection channel using the follwing command-
define channel(S_mychannel) chltype(SVRCONN) trptype(TCP).
The i used the runmqlsr command.
My client application is wriiten in JMS. I set the channel on the client side by calling MQQueueConnectionFactory's setChannel() method. But when I try to connect to the server, it is unable to connect . It exits with the error " failed to create MQQueueManager". On the Sever, it says "S_mychannel not found".
I am lost. Dont know what to do. Please help.
Rieta
[ This Message was edited by: rieta on 2002-01-09 03:47 ] |
|
Back to top |
|
 |
StefanSievert |
Posted: Wed Jan 09, 2002 1:15 pm Post subject: |
|
|
 Partisan
Joined: 28 Oct 2001 Posts: 333 Location: San Francisco
|
Rieta,
most likely your problem is because of a case mismatch. If you define the channel like you did, without enclosing the name in single quotes, RUNMQSC will fold it to upper case. So, specify the channel name in your JMS setChannel method as all uppercase and it should work. BTW, the same applies to all MQ Object names. RUNMQSC folds them to uppercase unless enclosed in quotes. This is a common pitfall. MQExplorer on NT, for example, does NOT fold the names when you define an object through the GUI.
Hope that helps,
Stefan
_________________
Stefan Sievert
IBM Certified * MQSeries
[ This Message was edited by: StefanSievert on 2002-01-09 13:16 ] |
|
Back to top |
|
 |
rieta |
Posted: Fri Jan 11, 2002 2:20 am Post subject: |
|
|
Novice
Joined: 22 Dec 2001 Posts: 20 Location: Mybubble
|
Thanks a lot ,Stefan . It did help.
Rieta
[ This Message was edited by: rieta on 2002-01-11 02:21 ] |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|