Author |
Message
|
tamagawa |
Posted: Tue Jun 03, 2003 6:47 pm Post subject: How to run trigger process under id other than MUSR_MQADMIN? |
|
|
Novice
Joined: 09 May 2003 Posts: 13
|
Hi everyone,
I am calling a method of a remote COM object in my triggered process. When the method is called, the id is MUSR_MQADMIN. Is there any way to force the triggered process to run under a different id?
Thanks- |
|
Back to top |
|
 |
vennela |
Posted: Wed Jun 04, 2003 6:01 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
You can use the sample trigger monitor "amqstrg" and run under a different user.
-------
Venny |
|
Back to top |
|
 |
tamagawa |
Posted: Wed Jun 04, 2003 8:31 am Post subject: |
|
|
Novice
Joined: 09 May 2003 Posts: 13
|
Thanks for the tip. Is the only way to achieve this by using a different trigger monitor?
Thanks |
|
Back to top |
|
 |
vennela |
Posted: Wed Jun 04, 2003 9:54 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
basva |
Posted: Tue Jun 24, 2003 12:00 pm Post subject: |
|
|
Apprentice
Joined: 27 Nov 2002 Posts: 39
|
There are two ways.
1) Start your trigger monitor (runmqtrm) under different user ID. The disadvantage with this approach is you need this window to be opened always.
2) Change the user ID under which MQSeries runs from MUSR_MQADMIN to a new user ID by
AMQMSRVN -regserver -user [domain][userid] -password (password)
The samething can be done using DCOMCNFG (You have to be administrator on this NT box to do this).
Thanks
Satish |
|
Back to top |
|
 |
clindsey |
Posted: Tue Jun 24, 2003 2:21 pm Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
Venny,
FYI, setuid only applies to the unix platforms.
Charlie |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Jun 26, 2003 9:20 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You coud use the srvany.exe and runmqtrm.exe and setup and nt service
and run it under a different ID that way. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|