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 IndexIBM MQ Installation/Configuration SupportServer Connection Channel on Linux

Post new topicReply to topic
Server Connection Channel on Linux View previous topic :: View next topic
Author Message
rieta
PostPosted: Wed Jan 09, 2002 3:46 am Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
StefanSievert
PostPosted: Wed Jan 09, 2002 1:15 pm Post subject: Reply with quote

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
View user's profile Send private message
rieta
PostPosted: Fri Jan 11, 2002 2:20 am Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexIBM MQ Installation/Configuration SupportServer Connection Channel on Linux
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.