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 » General IBM MQ Support » MQ Client Connection

Post new topic  Reply to topic
 MQ Client Connection « View previous topic :: View next topic » 
Author Message
sarasu
PostPosted: Mon Jun 12, 2006 10:27 am    Post subject: MQ Client Connection Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Jun 12, 2006 11:11 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
sarasu
PostPosted: Mon Jun 12, 2006 11:38 am    Post subject: Reply with quote

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
View user's profile Send private message
tleichen
PostPosted: Mon Jun 12, 2006 11:46 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 12, 2006 11:53 am    Post subject: Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Mon Jun 12, 2006 11:54 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
sarasu
PostPosted: Mon Jun 12, 2006 2:06 pm    Post subject: Reply with quote

Master

Joined: 02 Feb 2006
Posts: 229

Thanks buddies... I resolved the issue.
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 » General IBM MQ Support » MQ Client Connection
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.