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 » need to start the MQ trigger monitor manually?

Post new topic  Reply to topic
 need to start the MQ trigger monitor manually? « View previous topic :: View next topic » 
Author Message
qizhirui
PostPosted: Tue Jul 25, 2006 7:03 am    Post subject: need to start the MQ trigger monitor manually? Reply with quote

Novice

Joined: 24 Jun 2006
Posts: 14

first, thanks elvis_gn, jefflowrey, koko for yours advice and help about my post of the MQ trigger.

i do a exercise to experience the MQ trigger, but the result is not i want .
the whole process is as follows:
LOCAL QUEUE

DEFINE QLOCAL(QUEUE.LOCAL.T02) +
REPLACE +
TRIGGER +
TRIGMPRI(0) +
TRIGTYPE(EVERY) +
PROCESS(PROCESS01) +
INITQ(QUEUEINIT) +
DEFPRTY


PROCESS


DEFINE PROCESS(PROCESS01) +
REPLACE +
DESCR('This is Trigger Process object01') +
APPLICID('C:\clear.bat') +
APPLTYPE(WINDOWSNT)

INIT

DEFINE QLOCAL(QUEUEINIT01) +
LIKE('SYSTEM.DEFAULT.INITIATION.QUEUE')
DESCR('INIT QUEUE01')

But nothing is happened, but i get some some materials about the MQ trigger ," the a trigger monitor is a continuously-running program that serves one or more initiation que" .
but i need to use the command " runmqtrm[-m QMgrName] [-q InitQ] " to start the trigger monitor. the trigger event is happened.
please tell me in details .


Last edited by qizhirui on Tue Jul 25, 2006 8:20 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jefflowrey
PostPosted: Tue Jul 25, 2006 7:07 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Nothing gets triggered if the trigger monitor isn't running.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Jul 25, 2006 7:21 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

What OpSys and what version of MQ?
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
qizhirui
PostPosted: Tue Jul 25, 2006 8:19 am    Post subject: Reply with quote

Novice

Joined: 24 Jun 2006
Posts: 14

wschutz wrote:
What OpSys and what version of MQ?


the operattion system is windows and the MQ version is v6.0 , but if not need to start the MQ trigger moniter manually, what should i do? please give me more details.


Last edited by qizhirui on Tue Jul 25, 2006 8:49 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jefflowrey
PostPosted: Tue Jul 25, 2006 8:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You need to start the trigger monitor.

You can start it manually.

You can start it automatically.

You can start it automatically in a number of different ways.

The easiest way is to create a Service in MQ Explorer, that controls the trigger monitor.

This may not be the best way for your particular location and security policy and etc.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Frnd
PostPosted: Tue Nov 27, 2007 1:41 am    Post subject: Reply with quote

Apprentice

Joined: 04 Jun 2007
Posts: 33

Does this work only in Windows?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 27, 2007 2:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Frnd wrote:
Does this work only in Windows?


There's a trigger monitor for all platforms. Runs as a demon in Unix for instance. The same principles apply though.

It's also a bit naff posting on such an old thread. Start a shiny new thread of your own and refer to the old one. Be proud!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Frnd
PostPosted: Tue Nov 27, 2007 3:50 am    Post subject: Reply with quote

Apprentice

Joined: 04 Jun 2007
Posts: 33

Thanks for the quick response and sorry that I'm still continuing the same loop


I tried creating a service with the below command.

DEFINE SERVICE ('INIT') +
DESCR(' ') +
STARTCMD('/usr/mqm/bin/runmqtrm') +
STARTARG('-m +myqmgr+ -q INITQ') +
STOPCMD('/usr/mqm/bin/amqsstop') +
STOPARG('-m +myqmgr+ -p +2563142+') +
STDOUT(home/tm_out') +
STDERR('/home/tm_err') +
CONTROL(QMGR) +
SERVTYPE(SERVER) +
REPLACE

Is there anything else I need to do ? Please let me know
I'm using AIX and MQ V6.0
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 27, 2007 3:56 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Frnd wrote:
Is there anything else I need to do ? Please let me know
I'm using AIX and MQ V6.0


Write a triggered application? Ensure the application meets the requirements for triggering laid out in the APG? Ensure your queues and other objects are correctly set to allow triggering?

It's too vauge a question. If you've set this up and it's not working, start a new thread explaining all that you've set up, what you think it should be doing & what it's actually doing along with relevant codes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Nov 27, 2007 4:11 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

I offer, in a quite genuine attempt at assistance, this post:

http://www.mqseries.net/phpBB2/viewtopic.php?t=22295

I think the principles therein are an ideal way to not only frame questions such that you get the help you need, but focus your mind on what the actual question is that you're asking.

I can personally vouch for their effectiveness.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
amisinai
PostPosted: Sun Dec 02, 2007 11:23 am    Post subject: Reply with quote

Novice

Joined: 17 Aug 2007
Posts: 10
Location: Israel

Hi

I think that the initq isn't defined properly, because of a little typing mistake...

DEFINE QLOCAL(QUEUE.LOCAL.T02) +
INITQ(QUEUEINIT) ....

DEFINE QLOCAL(QUEUEINIT01) ....



Avichai
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Dec 02, 2007 3:35 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Move to general forum.
_________________
MQ & Broker admin
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 IBM MQ Support » need to start the MQ trigger monitor manually?
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.