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 » Trigger Monitor

Post new topic  Reply to topic
 Trigger Monitor « View previous topic :: View next topic » 
Author Message
genestep
PostPosted: Tue May 14, 2002 12:45 pm    Post subject: Trigger Monitor Reply with quote

Apprentice

Joined: 16 Apr 2002
Posts: 43
Location: France

Hi

I used a trigger in an application. When I started it via Dos Command ("runmqtrm -q QINIT -m QMANAGER) everything is OK.
So i tried to configure the same trigger via MMC Console (new trigger monitor) to start it automaticaly, but it did'nt work (my message stays in my request queue and no message sends in Init Queue !!!

What i forget ???

Thanks

Philippe
Back to top
View user's profile Send private message
kolban
PostPosted: Tue May 14, 2002 2:09 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

The environment for the services initiated trigger monitor may be different from that in your command line. See if you can put some commands in a BAT file and have them executed. If they are, then consider that the environment (PATH, CLASSPATH or other variables and userids) may be different.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Wed May 15, 2002 4:16 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well are there any failures listed in the NT event monitor ????

Also is the runmqtm process runinng or does the process start and die ???
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
genestep
PostPosted: Thu May 16, 2002 7:04 am    Post subject: Reply with quote

Apprentice

Joined: 16 Apr 2002
Posts: 43
Location: France

In fact, i have no message in event viewer and the process runmqtr.exe is running.

What i do :
I defined an init queue QINIT used in trigger monitor.
I define a process PROC (foo.bat)
I defined a queue QIN with trigger (parameters QINIT, PROC)

When i use runmqtrm -q QINIT QMANAGER, no problem.
When i use trigger monitor, no message in QINIT was posted

thank for your help
Back to top
View user's profile Send private message
mrlinux
PostPosted: Thu May 16, 2002 8:58 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

When running trigger monitor from MQServices check the QINIT queue
the IPPROCs value it should be 1 at least. if it is 0 then your trigger monitor is not connecting to the correct queue
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
genestep
PostPosted: Thu May 16, 2002 10:41 am    Post subject: Reply with quote

Apprentice

Joined: 16 Apr 2002
Posts: 43
Location: France

Sorry Jeff

I have a french version and i'm new in MQ world. don't find IPPROC's parameter. What is it (or where i can find it)


Thx

Philippe
Back to top
View user's profile Send private message
mrlinux
PostPosted: Fri May 17, 2002 10:58 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well the IPPROCs variable is used to indicate how many process are attached to a queue for reading from the queue.
runmqsc
dis ql(Q_NAME) all


or check properities from the windows GUI under statistics
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
gvpatil
PostPosted: Mon May 20, 2002 7:33 am    Post subject: Check executable permissions used in process defination. Reply with quote

Newbie

Joined: 18 Jan 2002
Posts: 9

The process that you want to get triggered, are you accessing it using PATH ? Is that executable is in PATH for System. Remember Trigger Monitor through MMC get started under LocalSystem and not under Your user id.

As well if I remember correct localsystem can not access the shared drive, if you are triggering executable/ bat file from shared drive, by starting trigger monitor under localsystem, it may not work.

gvpatil
Back to top
View user's profile Send private message Yahoo Messenger
raman
PostPosted: Mon May 20, 2002 8:45 pm    Post subject: Reply with quote

Novice

Joined: 15 May 2002
Posts: 13

Hi,
Is this "runmqtrm -q QINIT -m QMANAGER" a trigger monitor that comes with the MQSeries? If I run this trigger monitor will continue running until I stop it?

Thanks,
raman.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 21, 2002 4:12 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Raman,
Yes and it should. You may want to look at SupportPac MA7K, which runs the trigger monitor as a Service under NT or Win2K. It works well for us. It also can be run as a Client trigger monitor, which is how we are using it.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
raman
PostPosted: Tue May 21, 2002 8:04 am    Post subject: Reply with quote

Novice

Joined: 15 May 2002
Posts: 13

Hi,
Thanks a lot. I started the trigger monitor and everthing is working fine.

-Raman.
Back to top
View user's profile Send private message
raman
PostPosted: Tue May 21, 2002 8:05 am    Post subject: Reply with quote

Novice

Joined: 15 May 2002
Posts: 13

Hi, One more question on this. Can I make this runmqtrm as a windows service and keep running in the background? Can anyone tell me how to do that.

Thanks
raman.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 21, 2002 8:06 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

Use SupportPAk MA7K

http://www-3.ibm.com/software/ts/mqseries/txppacs/ma7k.html
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
raman
PostPosted: Tue May 21, 2002 8:59 am    Post subject: Reply with quote

Novice

Joined: 15 May 2002
Posts: 13

peter,

Thanks for the reply.
The documentation for MA7K servicepak says that it is linked with the MQSeries client library (mqic32). But I want to run this on the box where my Queue Manager resides. I don't have MQClient installed on this box. Is it ok to use this service pack? Or is there any other service pack I can use it on the MQServer?

Thanks
raman.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 21, 2002 9:03 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

The ReadMe.txt file that comes with this SupportPak contains the info that you need. There is an option during setup that allows you to choose client vs. server. You will have to modify the setup.ini file.

Take a look and if you still have questions, write back.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Trigger Monitor
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.