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 Java / JMS » Client Conn

Post new topic  Reply to topic
 Client Conn « View previous topic :: View next topic » 
Author Message
techno
PostPosted: Tue Mar 23, 2004 9:29 am    Post subject: Client Conn Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

I have a few questions on Client connection from a JMS based application.

1. I have machine A and machine B. Both of them have MQ servers installed. I application on A wants to do client connection to qmgr on B, is it not needed to set up MQSERVER/MQCHLTAB/MQCHLLIB environment variables?

When A and B are unix boxes, they worked fine, without setting any environemnt variables.

When A is Unix and B is OS/390, getting RC 2189, which is of clustering.

2. If client application wants to make client-connections to qmgrs on number of machines, hows does it get client channel defs of all the qmgrs collectively. If AMQCLCHL.TABs are copied(from all the server machines), how do I combine them?

3. Do I need to do anything extra, if client connection is to be made to server which is on mainframe(os/390).


Thanks a lot.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 23, 2004 11:13 am    Post subject: Re: Client Conn Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

techno wrote:
I have a few questions on Client connection from a JMS based application.

1. I have machine A and machine B. Both of them have MQ servers installed. I application on A wants to do client connection to qmgr on B, is it not needed to set up MQSERVER/MQCHLTAB/MQCHLLIB environment variables?

Not if both client applications are Java apps. Java apps don't use the environment variables.

Quote:
When A and B are unix boxes, they worked fine, without setting any environemnt variables.

Then you didn't need to answer the question, as you knew the answer already.

Quote:
When A is Unix and B is OS/390, getting RC 2189, which is of clustering.

Do you have a cluster involved? Did you follow the recommendations in the documentation for dealing with a 2189?

Quote:
2. If client application wants to make client-connections to qmgrs on number of machines, hows does it get client channel defs of all the qmgrs collectively. If AMQCLCHL.TABs are copied(from all the server machines), how do I combine them?

Java applications don't use AMQCLCHL.TABS. And I don't think you can combine AMQCLCHL files anyway.

Quote:
3. Do I need to do anything extra, if client connection is to be made to server which is on mainframe(os/390).

Usually, yes. Ask your mainframe system administrator.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
techno
PostPosted: Tue Mar 23, 2004 11:42 am    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Thanks Jefflowrey.
The qmgr on mainframe is part of cluster. Not a repository. Can I not put a message as a regular client, making client-connection.

In case I do it in some other language, how do I combine all the client channel defs?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Mar 23, 2004 12:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

techno wrote:
Thanks Jefflowrey.
The qmgr on mainframe is part of cluster. Not a repository. Can I not put a message as a regular client, making client-connection.
JeffLowrey wrote:
Ask your mainframe system administrator.


Quote:
In case I do it in some other language, how do I combine all the client channel defs?
JeffLowrey wrote:
And I don't think you can combine AMQCLCHL files anyway.

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
crossland
PostPosted: Wed Mar 24, 2004 2:30 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

If you need to connect a client to the mainframe, you will need the client attachment feature.

Regards,

Tim Crossland
http://www.solent-consultancy.com
Back to top
View user's profile Send private message
dnaren
PostPosted: Sat Mar 27, 2004 11:22 pm    Post subject: Re: Client Conn Reply with quote

Apprentice

Joined: 10 Aug 2001
Posts: 45
Location: Charlotte, NC

techno wrote:


2. If client application wants to make client-connections to qmgrs on number of machines, hows does it get client channel defs of all the qmgrs collectively. If AMQCLCHL.TABs are copied(from all the server machines), how do I combine them?




I am quoting from the documentation:
Quote:

Define your client-connection and server-connection channels on one queue manager only, including those channels that connect to a second or third queue manager. Do not define them on two queue managers and then try to merge the two client channel definition tables; this cannot be done. Only one client channel definition table can be accessed by the client.


If you know all the details of the channels (hostname, port, queue manager name etc) on all the systems, then you can define all of them on one MQSeries server box and get a single client channel definition table file. Once you have the file copied, you can delete all the definitions.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
techno
PostPosted: Sun Mar 28, 2004 6:07 pm    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Great! I just thought of it.
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 Java / JMS » Client Conn
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.