Author |
Message
|
sarasu |
Posted: Mon Jun 12, 2006 10:27 am Post subject: MQ Client Connection |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
I wan to setup client connection. I installed Server on one system and MQ Client on another system. I have defined SVRCONN channel(CHL) and client connection channel(CHL) on the same system(i.e, on server side).
I also did SET MQSERVER=CHL/TCP/IPAddress(Port)
When i say AMQSPUTC Qname QMGR Enter
I am getting some errors. WHat might be the wrong. Is this the correct process??
Any Help is appreciated. |
|
Back to top |
|
 |
vennela |
Posted: Mon Jun 12, 2006 11:11 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
No need for a CLNTCONN channel
SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/hostnameofQMGR(portnumber)
amqsputc qname qmgrname
What are the errors that you are getting |
|
Back to top |
|
 |
sarasu |
Posted: Mon Jun 12, 2006 11:38 am Post subject: |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
I created both SVRCONN channel and client connection channel both are with the same name. It is working fine. I am getting an error saying that AMQ2035, sometimes AMQ2059... I have created a user with my name, where MQ Client is installed. Then it is working fine.
So everytime i need to do this. Like if i install MQ Clients on 4 systems, do i need to create 4 accounts at the server side also? It is showing previously that i was not authorized.
And one more thing is it necessary to use the default Client Connection name, which will created after installation? We can define our own Client Connection Name right? |
|
Back to top |
|
 |
tleichen |
Posted: Mon Jun 12, 2006 11:46 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
sarasu wrote: |
I created both SVRCONN channel and client connection channel both are with the same name. It is working fine. I am getting an error saying that AMQ2035, sometimes AMQ2059... I have created a user with my name, where MQ Client is installed. Then it is working fine.
So everytime i need to do this. Like if i install MQ Clients on 4 systems, do i need to create 4 accounts at the server side also? It is showing previously that i was not authorized.
And one more thing is it necessary to use the default Client Connection name, which will created after installation? We can define our own Client Connection Name right? |
huh???  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 12, 2006 11:53 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can set an MCAUser on the svrconn channel. This will cause all agents that connect to that channel to be authorized as that user.
Then you can only authorize one user on the server.
Otherwise, the MQ Client passes the remote user Id, and that user has to be authorized specifically in MQ. So each user will have to be authorized specifically to all of the individual MQ objects they need.
You can create SVRCONN/CLIENTCONN pairs with any name you want, your application just has to know what that name is to use it. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vennela |
Posted: Mon Jun 12, 2006 11:54 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
sarasu wrote: |
So everytime i need to do this. Like if i install MQ Clients on 4 systems, do i need to create 4 accounts at the server side also? It is showing previously that i was not authorized. |
Yes, that is one of the solutions.
sarasu wrote: |
And one more thing is it necessary to use the default Client Connection name, which will created after installation? We can define our own Client Connection Name right? |
You can use whatever channel name you want. |
|
Back to top |
|
 |
sarasu |
Posted: Mon Jun 12, 2006 2:06 pm Post subject: |
|
|
Master
Joined: 02 Feb 2006 Posts: 229
|
Thanks buddies... I resolved the issue. |
|
Back to top |
|
 |
|