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 » MQ Trigger Monitor is not working

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 MQ Trigger Monitor is not working « View previous topic :: View next topic » 
Author Message
kvranjan10
PostPosted: Tue Aug 18, 2009 11:26 pm    Post subject: MQ Trigger Monitor is not working Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

Hi All,

Actually i created a service in queue manager to run the trigger monitor continously.

I created a service in queue manager by giving the following properties

Service name: Trigger
Service control : Queue manager
Start Command : D:\Program files\IBM\Websphere MQ\bin\runmqtrm
start args: -m TESTQM -q initq
Service type : Server Type

but when i am restating the queue manager the service status is showing as running but it is unable to run the application when trigger event occurs.

i created the initiation queue and the process definition also.

My plan is when any channel event occurs iam running an application to notify that. i have set the trigger properties on SYSTEM.ADMIN.CHANNEL.EVENT

Could anyone please help me on this.

Thanks in Advance,
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Aug 18, 2009 11:45 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Please post WMQ Version (including ServicePack) and platform; also the Process definition.

Are you absolutely sure all trigger conditions are being met? Are there any trigger-related messages on the dead-letter queue, e.g. MQFB_APPL_CANNOT_BE_STARTED messages? Is the application coded to accept a trigger structure etc.?
_________________
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
kvranjan10
PostPosted: Tue Aug 18, 2009 11:57 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

MQ Version : 6.0.2.4
OS: Windows 2003 service Pack 2

i created a process definition with following properties

process name: p1
Application type: Windows NT
application id : D:\test\test.bat

For testing purpose i just wanted to open a notepad with that bat file.

Yes the trigger condition are met bcoz i can see the trigger messages in initiation queue.
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 19, 2009 12:07 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

And I take it that queue is called initq?
_________________
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
kvranjan10
PostPosted: Wed Aug 19, 2009 1:08 am    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

yes. i have given the same name initq as initiation queue name
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 19, 2009 1:19 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

kvranjan10 wrote:
yes. i have given the same name initq as initiation queue name


And that queue has IPPROCS > 0 ?
_________________
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
aditya.aggarwal
PostPosted: Wed Aug 19, 2009 1:25 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

please share the o/p of


dis ql(SYSTEM.ADMIN.CHANNEL.EVENT)

dis qs(SYSTEM.ADMIN.CHANNEL.EVENT) type(handle) all


Cheers,
aditya
Back to top
View user's profile Send private message
kvranjan10
PostPosted: Wed Aug 19, 2009 1:34 am    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

dis ql(SYSTEM.ADMIN.CHANNEL.EVENT)
1 : dis ql(SYSTEM.ADMIN.CHANNEL.EVENT)
AMQ8409: Display Queue details.
QUEUE(SYSTEM.ADMIN.CHANNEL.EVENT) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2009-08-19)
ALTTIME(01.41.50) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2009-08-19) CRTIME(01.37.00)
CURDEPTH(4) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DEFSOPT(EXCL) DEFTYPE(PREDEFINED)
DESCR(WebSphere MQ Channel Related Event Queue)
DISTL(NO) GET(ENABLED)
HARDENBO INITQ(initq)
IPPROCS(0) MAXDEPTH(3000)
MAXMSGL(9000) MONQ(QMGR)
MSGDLVSQ(PRIORITY) TRIGGER
NPMCLASS(NORMAL) OPPROCS(0)
PROCESS(p1) PUT(ENABLED)
QDEPTHHI(80) QDEPTHLO(20)
QDPHIEV(DISABLED) QDPLOEV(DISABLED)
QDPMAXEV(ENABLED) QSVCIEV(NONE)
QSVCINT(999999999) RETINTVL(999999999)
SCOPE(QMGR) NOSHARE
STATQ(QMGR) TRIGDATA( )
TRIGDPTH(1) TRIGMPRI(0)
TRIGTYPE(EVERY) USAGE(NORMAL)
------------------------------------------------------------------------------
dis qs(SYSTEM.ADMIN.CHANNEL.EVENT) type(handle) all
2 : dis qs(SYSTEM.ADMIN.CHANNEL.EVENT) type(handle) all
AMQ8565: Queue Status not found.
-----------------------------------------------------------------------

and for the initq queue the IPPROCS is 1
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Aug 19, 2009 1:51 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

i assume the trigger monitor is running and also has the "initq" - queue open for input, otherwise no trigger message would have been created.
if curdepth of the initq is > 0 (as you said), then the trigger monitor has problems getting or processing the message. if the trigger monitor is able to get the message, but unable to start the application i would expect the trigger message ito be put into the dlq.

is there a dlq assigned in the queuemanager?

do you encounter any security problems with the trigger monitor (which userid is used for the service)?

if you run the trigger monitor manually, does everything work?
_________________
Regards, Butcher
Back to top
View user's profile Send private message
kvranjan10
PostPosted: Wed Aug 19, 2009 2:07 am    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

If i am running manually through command prompt its working fine...
by giving the command

runmqtrm -m TESTQM -q initq

and its waiting for trigger message and when the message arrives in initq its automatically opening the notepad as i given it in that bat file.

yes. dlq is assigned to queue manager but no msgs in dlq.

when i checked the runmqtrm process in task manager its running in MUSR_MQADMIN. bit i logged in through different username ' wbiadmin'
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 19, 2009 2:14 am    Post subject: Re: MQ Trigger Monitor is not working Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

kvranjan10 wrote:
Start Command : D:\Program files\IBM\Websphere MQ\bin\runmqtrm


Did you quote the above in your service definition, i.e. "D:\Program files\IBM\Websphere MQ\bin\runmqtrm" ?
_________________
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
kvranjan10
PostPosted: Wed Aug 19, 2009 2:29 am    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

i didnot gave the quotations like "D:\Program files\IBM\Websphere MQ\bin\runmqtrm"

i simply gave the D:\Program files\IBM\Websphere MQ\bin\runmqtrm
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 19, 2009 2:30 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Try quoting it, as there is a space in that path, and see what happens...
_________________
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
aditya.aggarwal
PostPosted: Wed Aug 19, 2009 2:31 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

You need to define the service with below properties :

Service name: Trigger
Service control : Queue manager
Start Command : runmqtrm -m IQP4 -q INITQ
start args:
Service type : Server Type

and ensure that no old TM process running before starting this service.

Cheers,
Aditya
Back to top
View user's profile Send private message
aditya.aggarwal
PostPosted: Wed Aug 19, 2009 2:33 am    Post subject: Reply with quote

Master

Joined: 13 Jan 2009
Posts: 252

small correction in service:


Start Command : runmqtrm -m TESTQM -q initq

cheers,
Aditya
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

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