|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Client Conn |
« View previous topic :: View next topic » |
Author |
Message
|
techno |
Posted: Tue Mar 23, 2004 9:29 am Post subject: Client Conn |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Mar 23, 2004 11:13 am Post subject: Re: Client Conn |
|
|
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 |
|
 |
techno |
Posted: Tue Mar 23, 2004 11:42 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Tue Mar 23, 2004 12:07 pm Post subject: |
|
|
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 |
|
 |
crossland |
Posted: Wed Mar 24, 2004 2:30 am Post subject: |
|
|
Master
Joined: 26 Jun 2001 Posts: 248
|
|
Back to top |
|
 |
dnaren |
Posted: Sat Mar 27, 2004 11:22 pm Post subject: Re: Client Conn |
|
|
 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 |
|
 |
techno |
Posted: Sun Mar 28, 2004 6:07 pm Post subject: |
|
|
Chevalier
Joined: 22 Jan 2003 Posts: 429
|
Great! I just thought of it. |
|
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
|
|
|
|