Author |
Message
|
deepakraj29 |
Posted: Wed Oct 11, 2006 1:20 am Post subject: Starting Channels using trigger monitor |
|
|
Newbie
Joined: 24 Aug 2006 Posts: 5 Location: Chennai, India
|
Hi All,
I am trying to start a channel using triggering in Windows. I have enabled triggering on my XmitQ and have set the trigger type to first. But i have defined my own INITQ and have associated it with my XmitQ triggering. I have also defined a suitable process to start the runmqchl process. But when i start the trigger it is pickin up the messages from the INITQ but it is failing to trigger the process.
Please find the Queue and Process configs below,
DISPLAY Q(TESTQMGR1.TESTQMGR2.X1)
3 : DISPLAY Q(TESTQMGR1.TESTQMGR2.X1)
AMQ8409: Display Queue details.
QUEUE(TESTQMGR1.TESTQMGR2.X1) TYPE(QLOCAL)
ACCTQ(QMGR) ALTDATE(2006-10-11)
ALTTIME(13.39.50) BOQNAME( )
BOTHRESH(0) CLUSNL( )
CLUSTER( ) CLWLPRTY(0)
CLWLRANK(0) CLWLUSEQ(QMGR)
CRDATE(2006-10-09) CRTIME(13.20.3
CURDEPTH(1) DEFBIND(OPEN)
DEFPRTY(0) DEFPSIST(NO)
DEFSOPT(SHARED) DEFTYPE(PREDEFINED)
DESCR( ) DISTL(YES)
GET(ENABLED) HARDENBO
INITQ(TRIGGERQ) IPPROCS(0)
MAXDEPTH(5000) MAXMSGL(4194304)
MONQ(QMGR) MSGDLVSQ(PRIORITY)
TRIGGER NPMCLASS(NORMAL)
OPPROCS(0) PROCESS(PROCESSDEF)
PUT(ENABLED) QDEPTHHI(80)
QDEPTHLO(20) QDPHIEV(DISABLED)
QDPLOEV(DISABLED) QDPMAXEV(ENABLED)
QSVCIEV(NONE) QSVCINT(999999999)
RETINTVL(999999999) SCOPE(QMGR)
SHARE STATQ(QMGR)
TRIGDATA( ) TRIGDPTH(1)
TRIGMPRI(0) TRIGTYPE(FIRST)
USAGE(XMITQ)
DISPLAY PROCESS(PROCESSDEF)
4 : DISPLAY PROCESS(PROCESSDEF)
AMQ8407: Display Process details.
PROCESS(PROCESSDEF) APPLTYPE(WINDOWSNT)
APPLICID(C:\Program Files\IBM\WebSphere MQ\bin\runmqchl.exe -m TESTQMGR1 -c QM1.QM2.C1) ENVRDATA( )
USERDATA( ) DESCR( ) ALTDATE(2006-10-11)
ALTTIME(14.21.46)
The error that i got is as below,
C:\PROGRA~1\IBM\WebSphere MQ>runmqtrm -m TESTQMGR1 -q TRIGGERQ
5724-H72 (C) Copyright IBM Corp. 1994, 2004. ALL RIGHTS RESERVED.
WebSphere MQ trigger monitor started.
__________________________________________________
Waiting for a trigger message
"TMC 2TESTQMGR1.TESTQMGR2.X1 PROCESSDEF
C:
\PROGRA~1\IBM\Web*\bin\runmqchl.exe -m TESTQMGR1 -c QM1.QM2.C1
TESTQMGR1
"
'TMC' is not recognized as an internal or external command,
operable program or batch file.
Error starting triggered application.
Please give your inputs on this issue. _________________ Cheers,
Deepak.
--------------------------------------------------------
IBM Certified System Administrator - MQ V6.0 |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Oct 11, 2006 1:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
This is an astounding idea.
I'd never even consider trying it myself.
Other than that, I'd say your process definition is probably wrong. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Wed Oct 11, 2006 2:07 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
deepakraj29 |
Posted: Wed Oct 11, 2006 6:37 am Post subject: |
|
|
Newbie
Joined: 24 Aug 2006 Posts: 5 Location: Chennai, India
|
I have only set runmqchl to be a triggered application. An if you see the error code properly, it is actually the trigger monitor that is causing the problem. It is not recognizing the trigger msg properly and throwing out an error that it is not able to find the TMC application, when i hav never specified any such app in my applicid. This TMC get added to the triger msg header automatically.
I have previously triggered channels using the SYSTEM.CHANNEL.INITQ and using the channel initiator but have never tried using a trigger monitor. I am trying out this setup as a part of my preperation for the MQv6 exam. _________________ Cheers,
Deepak.
--------------------------------------------------------
IBM Certified System Administrator - MQ V6.0 |
|
Back to top |
|
 |
Vitor |
Posted: Wed Oct 11, 2006 6:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
deepakraj29 wrote: |
I am trying out this setup as a part of my preperation for the MQv6 exam. |
Try triggering something else. An application which expects to be triggered (and as wschutz points out runmqchl does not) would be my suggestion....
And good luck with the exam  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Oct 11, 2006 7:04 am Post subject: |
|
|
Guest
|
Refer to the System Admin Guide for runmqchi (not runmqchl), the channel initiator application. It does exactly what you are trying to do. |
|
Back to top |
|
 |
|