Author |
Message
|
vivekkooks |
Posted: Wed Dec 17, 2003 10:05 pm Post subject: output from trigger monitors |
|
|
 Voyager
Joined: 11 Jun 2003 Posts: 91
|
Is there any way to stop the output from trigger monitors?.
The trigger monitors prints the output such as "Waiting for Trigger Message" etc... on to the console.
Also, If the trigger monitor fails to invoke the app, how to receive this notification? |
|
Back to top |
|
 |
RogerLacroix |
Posted: Wed Dec 17, 2003 10:13 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Quote: |
Is there any way to stop the output from trigger monitors? |
Run the trigger monitor as a service.
Quote: |
If the trigger monitor fails to invoke the app, how to receive this notification? |
Assuming the trigger monitor is running and the process definition is correct then failed starts of the application results in the message being put to the Dead Letter Queue. Therefore, monitor the Dead Letter Queue.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
vivekkooks |
Posted: Wed Dec 17, 2003 10:31 pm Post subject: |
|
|
 Voyager
Joined: 11 Jun 2003 Posts: 91
|
can you please tell how to start trigger monitor as service?
Also if the system reboots, does trigger monitor display output to console(assusing ther is no XWindows). |
|
Back to top |
|
 |
leongor |
Posted: Thu Dec 18, 2003 1:01 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
Run it with nohup command :
nohup runmqtrm -m <QMGR> -q <INITQ> &
An output will be redirected to nohup.out file. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
Leafar |
Posted: Thu Dec 18, 2003 9:26 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
redirect the output
nohup runmqtrm -m QMGR -q INITQ 2>/dev/null 1>&2 & (unix only)
or change /dev/null for a log file
Saludos
Rafael |
|
Back to top |
|
 |
premkumar |
Posted: Wed Oct 06, 2004 10:24 pm Post subject: |
|
|
 Apprentice
Joined: 24 Feb 2004 Posts: 40
|
Hi , I am running the trigger monitor as service.. i have scheduled the same in the cron ...it is not creating the nohup.out file but the process is running. If i run the same manually then it is fine.
my mail id is premkumar014@yahoo.com.
please help me on this issue.
Thanks and Regards,
Premkumar.S _________________ Thanks and Regards,
Premkumar.S |
|
Back to top |
|
 |
Leafar |
Posted: Thu Oct 07, 2004 4:21 am Post subject: |
|
|
 Acolyte
Joined: 03 Apr 2003 Posts: 74 Location: Buenos Aires
|
Check if you have mail for root , maybe the output is there |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Oct 07, 2004 5:21 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
premkumar,
Quote: |
I am running the trigger monitor as service |
Are you on Windows or Unix?
Secondly, what are you scheduling by cron? The runmqtrm should be in the queue manager's startup script. i.e. On Solaris, /etc/rc3.d/S91-myQMGR
You do NOT schedule the trigger monitor. Also, you do NOT schedule any task that the trigger monitor is launching.
You should probably read the section on trigger monitors in the WMQ System Administration manual.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
|