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 Discussion » problem in trigger

Post new topic  Reply to topic
 problem in trigger « View previous topic :: View next topic » 
Author Message
anhnt
PostPosted: Tue Aug 26, 2003 7:27 pm    Post subject: problem in trigger Reply with quote

Acolyte

Joined: 03 Aug 2003
Posts: 54

Hi all,
My application use the trigger.
I Created application queue with attributes:
Trigger Control:On
Trigger type :Every
Init Queue Name:Created and set
Process:Created and set
Process's attributes:App Id = path of .exe file
I created Trigger monitor form Services Explorer with Queue Name Atributes = Init Queue wich I Create.My problem is:

When I put message on application Queue,I checked my Init Queue,It had trigger message,but my .exe application didn't start.

some body help me to resolve my problem.

thanks
anhnt
Back to top
View user's profile Send private message
ArvindC
PostPosted: Tue Aug 26, 2003 10:25 pm    Post subject: Reply with quote

Novice

Joined: 25 Dec 2002
Posts: 14
Location: India

Try starting the trigger monitor from the command prompt. That way you will able to see the error messsages returned by the trigger monitor.
Back to top
View user's profile Send private message
anhnt
PostPosted: Tue Aug 26, 2003 11:07 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Aug 2003
Posts: 54

Thanks ArvindC,
I tried to type command line: runmqtmc at prompt.
my problem was resolved,but when I close command window.old problem still appear.Can you help me to resolve the problem?

anhnt[/b]
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Wed Aug 27, 2003 1:45 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

How do you normally start your trigger monitor?
Are you sure that it is running?
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
anhnt
PostPosted: Wed Aug 27, 2003 8:03 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Aug 2003
Posts: 54

I started trigger by following:
at prompt I typed: runmqtmc -m qmngr_server -q init_queue
monitor display message line:"Waiting for a trigger Message ".When I put a message in application queue.trigger application started.

anhnt
Back to top
View user's profile Send private message
anhnt
PostPosted: Wed Aug 27, 2003 11:15 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Aug 2003
Posts: 54

Hi bob_buxton,

I started trigger by following:
at prompt I typed: runmqtmc -m qmngr_server -q init_queue
monitor display message line:"Waiting for a trigger Message ".When I put a message in application queue.trigger application started. But when I Closed the command windows(or press Clt + C),Trigger stoped.
I Want my Trigger run in background.
What need I do to resolve it.
thanks
anhnt
Back to top
View user's profile Send private message
ArvindC
PostPosted: Thu Aug 28, 2003 4:32 am    Post subject: Reply with quote

Novice

Joined: 25 Dec 2002
Posts: 14
Location: India

If you are working on Windows platform, you can start the trigger monitor as a service from the MQServices console. Select the mqm then click on Actions -> new -> Trigger Monitor.

If you are working on the Unix platform then you can start the trigger monitor from the command prompt followed by '&' to run the command in the background.

-Arvind
Back to top
View user's profile Send private message
Ratan
PostPosted: Thu Aug 28, 2003 7:32 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

anhnt,

when you run trigger monitor in background (in MQ services) on NT make sure MQ user ID (MUSR_MQADMIN) has previleges to access and start your application.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
anhnt
PostPosted: Fri Aug 29, 2003 7:30 pm    Post subject: Reply with quote

Acolyte

Joined: 03 Aug 2003
Posts: 54

But I created trigger monitor from Explorer Services and I also grant to MQ user ID (MUSR_MQADMIN) privilles of administrators,mqm.But it have not worked yet.
May be my MQ services has problem.
Can You tell me about it?

thanks in advance

anhnt
Back to top
View user's profile Send private message
Ratan
PostPosted: Tue Sep 02, 2003 9:49 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I believe I faced a similar problem. Give MUSR_MQADMIN execute permissions to the directory (do this even though he is in administrators group) where the program needs to run from.
_________________
-Ratan
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 » General Discussion » problem in trigger
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.