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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]FMC00010E Unknown user ID

Post new topic  Reply to topic
 [Solved]FMC00010E Unknown user ID « View previous topic :: View next topic » 
Author Message
ucbus1
PostPosted: Thu Dec 19, 2002 7:52 am    Post subject: [Solved]FMC00010E Unknown user ID Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Curious question
I have an application started by user "XXX". In that application I am using method to put message in "EXEXMLINPUTQ" with userid "YYY". I am very much positive that "YYY" is authorized to put messages in the queue. However I am getting an error "FMC00010E Unknown user ID" and the user id is showing as "XXX" eventhough I am setting the PUT properties userid as "YYY"
Any suggestions? Please help
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Thu Dec 19, 2002 8:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

There is some problem with your code I guess. Because I always do this. I run a java program as user "fmc" and in the program I specify the userId of the message as "ADMIN" (or some workflow userId). I don't get any errors.

If you can post the peice of code where you are setting the UserId of the message we can pin point what's wrong.

---
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jmac
PostPosted: Thu Dec 19, 2002 8:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Ucbus:

Did you have a look at the sample code in the Repository?

Pay special attention to the option MQC.MQOO_SET_IDENTITY_CONTEXT.
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ucbus1
PostPosted: Thu Dec 19, 2002 9:43 am    Post subject: Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Jmac:
Could you please let me know where the sample repository is located?
Thanks
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Thu Dec 19, 2002 9:47 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

http://www.mqseries.net/pafiledb203/pafiledb.php?PHPSESSID=&action=viewfile&fid=58&id=3

-Laze
Back to top
View user's profile Send private message Send e-mail
kriersd
PostPosted: Thu Dec 19, 2002 9:52 am    Post subject: Reply with quote

Master

Joined: 22 Jul 2002
Posts: 209
Location: IA, USA

Another suggestion..

Stop the Workflow service and put the message to the EXEXMLINPUTQ. Go out to the MQSeries Explorer find the EXEXMLINPUTQ and look at the message descriptor. It's there you'll see what ID needs to be defined in Workflow.

Good Luck
_________________
Dave Krier

IBM WebSphere MQ Workflow V3.4 Solution Designer
Back to top
View user's profile Send private message
ucbus1
PostPosted: Thu Dec 19, 2002 12:45 pm    Post subject: Code Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Following is the code I am using :
*****open queue*****
MQEnvironment.hostname = "xxxxx ";
MQEnvironment.channel = "xxxx"
MQEnvironment.port = "xxxx"
MQEnvironment.userID="YYY"
MQEnvironment.password="xxxx"
QueueManager = new MQQueueManager(qMgrName);
int openOptions = MQC.MQOO_OUTPUT;
InputQ = QueueManager.accessQueue(qName,openOptions, qMgrName,null,null);

***********Put message******
MQMessage Msg = new MQMessage();
Msg.replyToQueueManagerName = replyToQueueManagerName;
Msg.replyToQueueName = replyToQueueName;
Msg.writeString(messageText);
Msg.format = MQC.MQFMT_STRING;
MQPutMessageOptions pmo = new MQPutMessageOptions();
InputQ.put(Msg,pmo);
*******************************
Like I mentioned earlier the application was running under "XXX" and I am trying to put the message with userid "YYY"
Please let me know if I have tochange anything
Thanks
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Thu Dec 19, 2002 1:00 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

A few changes:


int openOptions = MQC.MQOO_OUTPUT | MQC.MQOO_SET_IDENTITY_CONTEXT;

Msg.userId = "YYY";

MQPutMessageOptions pmo = new MQPutMessageOptions();
pmo.options = MQC.MQPMO_SET_IDENTITY_CONTEXT;

---
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ucbus1
PostPosted: Thu Jan 02, 2003 8:01 am    Post subject: Solved FMC00010E Unknown user ID Reply with quote

Knight

Joined: 30 Jan 2002
Posts: 560

Thanks Venny.Your solution works for me
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 » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » [Solved]FMC00010E Unknown user ID
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.