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 » Triggering not working

Post new topic  Reply to topic
 Triggering not working « View previous topic :: View next topic » 
Author Message
wbimb
PostPosted: Thu Feb 08, 2007 11:29 pm    Post subject: Triggering not working Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

I have a local Q XYZ and i have made triggering on
with trigger type as every and initiation queue as the System default one

and also provided the process name to it

In the process defination ...i have just given the path to notepad.exe

i have created the trigger monitor on the MQServies console with the initiation queue as the System one

but when i put the message in the XYZ queue the trigger is not fired.


BUT if i started the trigger monitor using runmqtrm from command line the trigger gets fired

I am doing this on windows machine

Can anyone tell wht is going wrong
Back to top
View user's profile Send private message
ashu
PostPosted: Thu Feb 08, 2007 11:32 pm    Post subject: Re: Triggering not working Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

wbimb wrote:
I have a local Q XYZ and i have made triggering on
with trigger type as every and initiation queue as the System default one

and also provided the process name to it

In the process defination ...i have just given the path to notepad.exe

i have created the trigger monitor on the MQServies console with the initiation queue as the System one

but when i put the message in the XYZ queue the trigger is not fired.


BUT if i started the trigger monitor using runmqtrm from command line the trigger gets fired

I am doing this on windows machine

Can anyone tell wht is going wrong


You mean to say that starting Trigger Monitor from Explorer does not help...is it?
Back to top
View user's profile Send private message
wbimb
PostPosted: Thu Feb 08, 2007 11:34 pm    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

Yes i have a Trigger monitor on MQServices console which shows me running but does not trigger

But when i start the trigger monitor from command line "runmqtrm" it does the trick
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Fri Feb 09, 2007 12:29 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

wbimb,

you should tell us your MQ version - because the mechanism, how to define and start a trigger monitor, has been changed in version 6.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
wbimb
PostPosted: Fri Feb 09, 2007 12:30 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

MQ version 5.3
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Fri Feb 09, 2007 12:49 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

You wrote, you triggered the application "notepad.exe". When you run the trigger monitor from the MQ Services I think, the trigger monitor cannot start the application - because the trigger monitor itself runs as a service in the background.

When you run "runmqtrm" in a Windows CMD shell, the trigger monitor runs in the foreground and so can start the Notepad editor.

Write a short CMD batch file, which just writes a message to a file (maybe the actual date and time) and try again.

Just a guess.
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
wbimb
PostPosted: Fri Feb 09, 2007 1:01 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

I created a bat while which will count the number of files in a directory and write it to a text file

1.) When i run runmqtrm and put a message in the Queue...the bat files executes and the text file is created

2.) But when i put a message when the trigger monitor on the MQServices is running...bat file doesnot get executed
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Feb 09, 2007 1:58 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Any trigger-related messages on the Dead-letter queue?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
wbimb
PostPosted: Fri Feb 09, 2007 1:59 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

no trigger related message on dead letter queue
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Feb 09, 2007 2:05 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

If you have a working setup elsewhere, dump the appropriate object definitions of the working system and the non-working file and compare attributes.

Cross-check the Services setup of the trigger monitor on a working system with the non-working system.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
wbimb
PostPosted: Fri Feb 09, 2007 2:06 am    Post subject: Reply with quote

Centurion

Joined: 17 Aug 2006
Posts: 144

i think i have got the solution to the problem...let me check it again to confirm
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Fri Feb 09, 2007 6:11 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I may be wrong but my understanding was that a windows service cannot have any interaction with a user.

I may be wrong on that but that has always been the assumption I have worked on when designing a windows service.
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Sun Feb 11, 2007 4:10 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

wbimb wrote:
i think i have got the solution to the problem...let me check it again to confirm


Would you please share the solution?
_________________
Regards
Hubert
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Triggering not working
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.