|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| MQ Trigger monitor issue on Windows | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | Mahes | 
			  
				|  Posted: Tue Apr 05, 2011 8:35 am    Post subject: MQ Trigger monitor issue on Windows |   |  |  
		  | Novice
 
 
 Joined: 09 Sep 2010Posts: 21
 
 
 | 
			  
				| Hi, 
 I have local queue which has got trigger enabled for every msg and the respective initq is being monitored by trigger monitor (trigger service object)
 
 Usually it triggers when the msg arrives and the program mentioned in the process definition will pick it up from the queue, but now trigger service could not pick the trigger msg and call the process definition.
 
 I tried to re-trigger the queue but nothing happened though my initq is being connected by runmqtrm process.
 
 But when I run the trigger monitor through command line it successfully receives trigger msg (when I re-trigger) and msg read from queue.
 
 (runmqtrm –Q my_initq –m my_qmgr) worked well.
 
 I don’t know why it did not work when it is running as service.
 
 MQ ver: 6.0 and windows 2003.
 
 Please provide your inputs to resolve this issue, waiting for response??
 
 
 Regards,
 Mahi
 |  |  
		  | Back to top |  |  
		  |  |  
		  | bruce2359 | 
			  
				|  Posted: Tue Apr 05, 2011 10:29 am    Post subject: |   |  |  
		  |  Poobah
 
 
 Joined: 05 Jan 2008Posts: 9486
 Location: US: west coast, almost. Otherwise, enroute.
 
 | 
			  
				| Use runmqsc to display the local application queue, paste the results here. 
 Use runmqsc to display the process definition, paste the results here.
 
 Use runmqsc to display the initiation queue, paste the results here.
 _________________
 I like deadlines. I like to wave as they pass by.
 ב''ה
 Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Mr Butcher | 
			  
				|  Posted: Tue Apr 05, 2011 10:27 pm    Post subject: |   |  |  
		  |  Padawan
 
 
 Joined: 23 May 2005Posts: 1716
 
 
 | 
			  
				| 
   
	| Quote: |  
	| I don’t know why it did not work when it is running as service |  
 different userid? different security? different environment settings? imho this has been discussed here quite some times. search for it.
 _________________
 Regards, Butcher
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Mahes | 
			  
				|  Posted: Wed Apr 06, 2011 1:03 am    Post subject: |   |  |  
		  | Novice
 
 
 Joined: 09 Sep 2010Posts: 21
 
 
 | 
			  
				| Hi Bruce, plz find the below details 
 
 Local queue name: QL_SP_BNK_DT
 Initq queue name:QI_SP_BNK
 Process name:PR_OW_SP_BNK
 
 [Use runmqsc to display the local application queue, paste the results here]
 
 display queue(QL_OW_SP_BNK_DT)
 1 : display queue(QL_OW_SP_BNK_DT)
 AMQ8409: Ver detalles de la cola.
 QUEUE(QL_OW_SP_BNK_DT)                                        TYPE(QLOCAL)
 ACCTQ(QMGR)                             ALTDATE(2011-04-05)
 ALTTIME(17.37.31)                       BOQNAME( )
 BOTHRESH(0)                              CLUSNL( )
 CLUSTER( )                                  LWLPRTY(0)
 CLWLRANK(0)                              CLWLUSEQ(QMGR)
 CRDATE(2011-04-05)                   CRTIME(11.48.34)
 CURDEPTH(0)                              DEFBIND(OPEN)
 DEFPRTY(0)                                 DEFPSIST(NO)
 DEFSOPT(SHARED)                       DEFTYPE(PREDEFINED)
 DESCR(OneWorld => Factoring :Bank check1)
 DISTL(NO)                                  GET(ENABLED)
 HARDENBO                                 INITQ(QI_OW_SP_BNK)
 IPPROCS(0)                                MAXDEPTH(5000)
 MAXMSGL(4194304)                     MONQ(QMGR)
 MSGDLVSQ(PRIORITY)                  TRIGGER
 NPMCLASS(NORMAL)                     OPPROCS(0)
 PROCESS(PR_OW_SP_BNK)           PUT(ENABLED)
 QDEPTHHI(80)                              QDEPTHLO(20)
 QDPHIEV(DISABLED)                    QDPLOEV(DISABLED)
 QDPMAXEV(ENABLED)                   QSVCIEV(NONE)
 QSVCINT(999999999)                    RETINTVL(999999999)
 SCOPE(QMGR)                              SHARE
 STATQ(QMGR)                              TRIGDATA(OWSPBNK)
 TRIGDPTH(1)                                TRIGMPRI(0)
 TRIGTYPE(EVERY)                         USAGE(NORMAL)
 
 [Use runmqsc to display the process definition, paste the results here]
 
 display process(PR_OW_SP_BNK)
 4 : display process(PR_OW_SP_BNK)
 AMQ8407: Detalles de Display Process.
 PROCESS(PR_OW_SP_BNK)                   APPLTYPE(WINDOWSNT)
 APPLICID(E:\MQLynx\MQAccept\MQPrograms\OW_SP_BNK.BAT)
 ENVRDATA( )                             USERDATA( )
 DESCR(OneWorld => Annonany : Trigger Process)
 ALTDATE(2011-04-05)                     ALTTIME(11.48.34)
 
 [Use runmqsc to display the initiation queue, paste the results here.]
 
 DISPLAY QSTATUS(QI_OW_SP_BNK)
 3 : DISPLAY QSTATUS(QI_OW_SP_BNK)
 AMQ8450: Ver detalles del estado de la cola.
 QUEUE(QI_OW_SP_BNK)                     TYPE(QUEUE)
 CURDEPTH(0)                             IPPROCS(1)
 LGETDATE( )                             LGETTIME( )
 LPUTDATE( )                             LPUTTIME( )
 MONQ(OFF)                               MSGAGE( )
 OPPROCS(0)                              QTIME( ,  )
 UNCOM(NO)
 
 display queue(QI_OW_SP_BNK)
 6 : display queue(QI_OW_SP_BNK)
 AMQ8409: Ver detalles de la cola.
 QUEUE(QI_OW_SP_BNK)                     TYPE(QLOCAL)
 ACCTQ(QMGR)                             ALTDATE(2011-04-05)
 ALTTIME(11.48.33)                       BOQNAME( )
 BOTHRESH(0)                             CLUSNL( )
 CLUSTER( )                              CLWLPRTY(0)
 CLWLRANK(0)                             CLWLUSEQ(QMGR)
 CRDATE(2011-04-05)                      CRTIME(11.48.33)
 CURDEPTH(0)                             DEFBIND(OPEN)
 DEFPRTY(0)                              DEFPSIST(NO)
 DEFSOPT(SHARED)                         DEFTYPE(PREDEFINED)
 DESCR(OneWorld => Annonay : Process initiation queue)
 DISTL(NO)                               GET(ENABLED)
 HARDENBO                                INITQ( )
 IPPROCS(1)                              MAXDEPTH(5000)
 MAXMSGL(4194304)                        MONQ(QMGR)
 MSGDLVSQ(PRIORITY)                      NOTRIGGER
 NPMCLASS(NORMAL)                        OPPROCS(0)
 PROCESS( )                              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(NORMAL)
 
 display  service(OWSPBNK_TRIGGER_MONITOR)
 5 : display  service(OWSPBNK_TRIGGER_MONITOR)
 AMQ8629: Ver detalles de información de servicio.
 SERVICE(OWSPBNK_TRIGGER_MONITOR)        CONTROL(MANUAL)
 SERVTYPE(SERVER)                        STARTCMD(runmqtrm)
 STARTARG(-m MQMSPWA1 -q QI_OW_SP_BNK)   STOPCMD( )
 STOPARG( )                              STDOUT( )
 STDERR( )                               DESCR( )
 ALTDATE(2011-04-05)                     ALTTIME(17.50.51)
 
 
 
 [/code]
 |  |  
		  | Back to top |  |  
		  |  |  
		  | Mahes | 
			  
				|  Posted: Wed Apr 06, 2011 1:06 am    Post subject: |   |  |  
		  | Novice
 
 
 Joined: 09 Sep 2010Posts: 21
 
 
 | 
			  
				| Hi Butcher, 
 User id, security and environment are the same, strangely other trigger services are working fine except this.
 |  |  
		  | Back to top |  |  
		  |  |  
		  |  |  |  
  
	|    |  | Page 1 of 1 |  
 
 
  
  	| 
		
		  | 
 
 | 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
 
 |  |  |  |