|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
2035 errors with mqopen/put |
« View previous topic :: View next topic » |
Author |
Message
|
gvsagar |
Posted: Wed May 08, 2002 10:37 am Post subject: |
|
|
Newbie
Joined: 30 Apr 2002 Posts: 8
|
I am trying to connect to a queue and put a message in it, the target queue and Manager resides on a remote machine.
I am using C++ MQI in my client program, to do I did the Channel definition in my program by giving, remote machine's IP, port number, channel name, user id and password. The problem is when I am trying to connect my requet going with my local machines user identity (MY NT login ID), not with the specified user id in the channel, so I am getting 2035 not authorized error.
I really don't know how to bypass my NT login ID to connect the remote queues.
Can any body please help me.
Thanks in advacne.
Sagar |
|
Back to top |
|
 |
mqonnet |
Posted: Fri May 10, 2002 3:51 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You never specified which is the other platform. In any case, you need to have a principal defined with the same userid as your NT userid and assign appropriate permissions to access objects of the specified QM. This way you would be granted access at the other end.
Alternatively, if you want this userid to be granted all permissions, you could hardcode the userid to "mqm" within the useridentifier field. This way the userid that goes over to the remote machine would be "mqm" and not your NT userid. Refer to the manuals to achieve the same. Need to Open and put with context.
Cheers.
Kumar
_________________ IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator |
|
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
|
|
|
|