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 » userid on sent MQ message

Post new topic  Reply to topic
 userid on sent MQ message « View previous topic :: View next topic » 
Author Message
teal
PostPosted: Mon Jul 11, 2005 12:00 pm    Post subject: userid on sent MQ message Reply with quote

Acolyte

Joined: 15 Dec 2004
Posts: 66

trivial question, but I would like to know. An application is sending messages over from a websphereApplication server to an iSeries box. everything looks good when i look at the messages but I noticed it has my userid in that field on the as400 menu after I choose work with messages on the reply queue. I am not sending these messages myself..

why does my ID show in that field, shouldn't it be the Websphere or Java? what determines this?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 11, 2005 12:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Are you per chance using a channel with a specified mcauser ?
Back to top
View user's profile Send private message Send e-mail
teal
PostPosted: Mon Jul 11, 2005 12:09 pm    Post subject: Reply with quote

Acolyte

Joined: 15 Dec 2004
Posts: 66

good question, but no it is blank. I didnt create the channels etc with my ID.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 11, 2005 12:24 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Remember the user id is fine. It is because you are running the process that authenticates to WebSphere MQ in the app server (Java/JMS)

It is the ApplicationID that will show Websphere Java

Enjoy
Back to top
View user's profile Send private message Send e-mail
teal
PostPosted: Mon Jul 11, 2005 12:37 pm    Post subject: Reply with quote

Acolyte

Joined: 15 Dec 2004
Posts: 66

that makes sense. The ApplicationID is exactly as you said. So how would change the USERID? what process is it? WMQ itself that is connected to WAS?

thanks again
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jul 11, 2005 6:44 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Depending a few things assuming a blank MCAUSER:
a) if in bindings
The userid is that of the process running WAS or of the JAAS JMS authentication alias (if you set one up)

b) if in client mode
The userid is that of the JAAS authentication Alias, or the one passed with the createConnection method of the QCF/TCF.

Code:
qcf.createConnection(String userid, String passwd)


Enjoy
Back to top
View user's profile Send private message Send e-mail
vinodsasidharan
PostPosted: Tue Jul 12, 2005 8:14 am    Post subject: MQPMO_IDENTITY_CONTEXT Reply with quote

Apprentice

Joined: 25 Apr 2003
Posts: 47
Location: Norwich

To add to the thread abt Userid .

Userid is a part of the identity context and it can be set by an application to a value by using the MQPMO_SET_ALL_CONTEXT or MQPMO_IDENTITY_CONTEXT option in the Mq program .

And if it is not set by the application then as Saper said it is set based on client or bindings .
_________________
Vinod sasidharan
Ibm Certfied MQ Admin 5.3
Ibm Certfied MQ Admin 6.0
Ibm Certfied WAS Admin 6.0
Ibm Certfied WMB Admin 5.0
Ibm Certfied Db2 Specialist.
Sun certified Java Programmer.

"Ai carte, ai parte ....................."
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » userid on sent MQ message
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.