I created user ID ='JAIN' with password as "password" in AIX and its not a part of mqm group and gave necessary permission using setmqaut + svrconn mca user id(JAIN)..
But I seen,my java client is working..even though I gave wrong info in MQEnvironment.userID ..What, am not sure where I did mistake.
Any oen can throw some lights.
Try sending the userId in lower case...
And I'm not sure that you can do this with any non java based client.
The java client has no java way of knowing the user running the process. It would have to use a jni interface that makes it platform dependent...
Anyway if you've set the mcauser on the SVRCONN channel it should not matter any more. As you just created the user in the OS and its user group, did you do a refresh security?
And remember that Unix allocates the setmqaut permissions to the primary user group when set at the user level... You should always set the permissions at the group level in Unix...
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