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 Previous  1, 2, 3
 MQ Trigger Monitor is not working « View previous topic :: View next topic » 
Author Message
Mr Butcher
PostPosted: Wed Aug 19, 2009 5:32 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

maybe you would also like to compare your mq definitions with these ones, they are working fine (MQ 6.0.2.3 and Windows 2000)

Code:
dis process('p1') all
     4 : dis process('p1') all
AMQ8407: Display Process details.
   PROCESS(p1)                             APPLTYPE(WINDOWSNT)
   APPLICID(c:\test.bat)                   ENVRDATA( )
   USERDATA( )                             DESCR(test)
   ALTDATE(2009-08-19)                     ALTTIME(15.23.39)

dis queue('initq') all
     5 : dis queue('initq') all
AMQ8409: Display Queue details.
   QUEUE(initq)                            TYPE(QLOCAL)
   ACCTQ(QMGR)                             ALTDATE(2009-08-19)
   ALTTIME(15.20.47)                       BOQNAME( )
   BOTHRESH(0)                             CLUSNL( )
   CLUSTER( )                              CLWLPRTY(0)
   CLWLRANK(0)                             CLWLUSEQ(QMGR)
   CRDATE(2009-08-19)                      CRTIME(15.20.47)
   CURDEPTH(0)                             DEFBIND(OPEN)
   DEFPRTY(0)                              DEFPSIST(NO)
   DEFSOPT(SHARED)                         DEFTYPE(PREDEFINED)
   DESCR( )                                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)

dis queue('appq') all
     6 : dis queue('appq') all
AMQ8409: Display Queue details.
   QUEUE(appq)                             TYPE(QLOCAL)
   ACCTQ(QMGR)                             ALTDATE(2009-08-19)
   ALTTIME(15.24.15)                       BOQNAME( )
   BOTHRESH(0)                             CLUSNL( )
   CLUSTER( )                              CLWLPRTY(0)
   CLWLRANK(0)                             CLWLUSEQ(QMGR)
   CRDATE(2009-08-19)                      CRTIME(15.24.15)
   CURDEPTH(1)                             DEFBIND(OPEN)
   DEFPRTY(0)                              DEFPSIST(NO)
   DEFSOPT(SHARED)                         DEFTYPE(PREDEFINED)
   DESCR( )                                DISTL(NO)
   GET(ENABLED)                            HARDENBO
   INITQ(initq)                            IPPROCS(0)
   MAXDEPTH(5000)                          MAXMSGL(4194304)
   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)
   SHARE                                   STATQ(QMGR)
   TRIGDATA( )                             TRIGDPTH(1)
   TRIGMPRI(0)                             TRIGTYPE(EVERY)
   USAGE(NORMAL)

dis service('Trigger') all
     7 : dis service('Trigger') all
AMQ8629: Display service information details.
   SERVICE(Trigger)                        CONTROL(QMGR)
   SERVTYPE(SERVER)
   STARTCMD(C:\Program Files\IBM\WebSphere MQ\bin\runmqtrm)
   STARTARG(-m MQPC14267 -q initq)         STOPCMD( )
   STOPARG( )                              STDOUT( )
   STDERR( )                               DESCR( )
   ALTDATE(2009-08-19)                     ALTTIME(15.22.35)

C:\Documents and Settings\mqadmin>type c:\test.bat
notepad.exe

_________________
Regards, Butcher
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 19, 2009 5:33 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

gunter wrote:
kvranjan10 wrote:
If i am running manually through command prompt its working fine...


If the trigger monitor is running with a user not logged in, the process and processes started by it are not connected with the interactive session and hence they cannot open a window.
Redirect the output in test.bat (p.e. echo ... > path\datei.log) to a file. Make sure the user is able to write.


Doh! Of course, it's bloody obvious now someone has pointed it out .The thing to do was check Task Manager, and of course you'll see Notepad being run by MUSR_MQADMIN...double doh!

EDIT: By the way, it's good practice to upper-case object names.
_________________
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 10:16 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

Everything compared and its same...
only difference is in the version and the OS

MQ version is 6.0.2.4 and the Os is windows 2003 service pack 2

I dont know why its not working...
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Aug 19, 2009 11:14 pm    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

OK, I tried it, and it is working. Shut down your queue manager, and check in Task Manager that no Notepad instances are running. Start your queue manager, start a channel, then check for a Notepad instance running (invisibly) against MUSR_MQADMIN.
_________________
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: Thu Aug 20, 2009 12:38 am    Post subject: Reply with quote

Apprentice

Joined: 05 Aug 2008
Posts: 29

Hi Exert/Butcher,

Thanks for your support. I can see the notepad.exe running against MUSR_MQADMIN.
From yesterday i was thinking why it is not opening a notepad,But i didnot checked this in Taskmanager.

Now i can see the process running in Task Manager running aganist MUSR_MQADMIN.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Thu Aug 20, 2009 7:41 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Think about that....the triggered process runs under the authority of the user id that the trigger monitor was running as. Plan accordingly!
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3 Page 3 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.