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 » IBM MQ Java / JMS » I need to find a way to pass the userid for BINDING Connect

Post new topic  Reply to topic
 I need to find a way to pass the userid for BINDING Connect « View previous topic :: View next topic » 
Author Message
GEMO!
PostPosted: Mon Feb 05, 2007 3:05 pm    Post subject: I need to find a way to pass the userid for BINDING Connect Reply with quote

Apprentice

Joined: 08 Oct 2004
Posts: 33
Location: This World

Hi.

I need to find a way to pass the userid from a JMS application to MQ in BINDING Connections.

I have the same application running out of the box, in a remote server. I'm connecting the Qmgr using Client connections (Client channel). I set the MCAUSER to be use with a particular userid. This JMS Application use MQ to connect to IMS app in the backend. This configuration worked propperly.

But when I switch to the JMS app in the same box than MQ, using BINDING Mode, The IMS application could not proccessed the message, cos .. MQFB_NOT_AUTHORIZED_FOR_IMS.

So how can I set the userid when I use the Binding connections?

Any ideas?

_________________
GEMO!
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Mon Feb 05, 2007 4:15 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Bindings always runs as the user that is running the program, if I recall correct.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
GEMO!
PostPosted: Tue Feb 06, 2007 7:01 am    Post subject: Reply with quote

Apprentice

Joined: 08 Oct 2004
Posts: 33
Location: This World

So, in this case the program is promoted by typical WAS userid? I mean, wsadmin userid?.....
_________________
GEMO!
Back to top
View user's profile Send private message Yahoo Messenger
JLRowe
PostPosted: Wed Feb 07, 2007 8:09 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

GEMO! wrote:
So, in this case the program is promoted by typical WAS userid? I mean, wsadmin userid?.....


Since you mention wsadmin, I assume you are configuring resources on a WAS server?

If yes, then you need to set the authentication alias on the connection factory, this provides the userid & password used.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » I need to find a way to pass the userid for BINDING Connect
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.