| Author | 
		  Message
		 | 
		
		  | genestep | 
		  
		    
			  
				 Posted: Tue May 14, 2002 12:45 pm    Post subject: Trigger Monitor | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 16 Apr 2002 Posts: 43 Location: France 
  | 
		  
		    
			  
				Hi
 
 
I used a trigger in an application. When I started it via Dos Command ("runmqtrm -q QINIT -m QMANAGER) everything is OK.
 
So i tried to configure the same trigger via MMC Console (new  trigger monitor) to start it automaticaly, but it did'nt work (my message stays in my request queue and no message sends in Init Queue  !!!
 
 
What i forget  ???
 
 
Thanks
 
 
Philippe | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | kolban | 
		  
		    
			  
				 Posted: Tue May 14, 2002 2:09 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA 
  | 
		  
		    
			  
				| The environment for the services initiated trigger monitor may be different from that in your command line.  See if you can put some commands in a BAT file and have them executed.  If they are, then consider that the environment (PATH, CLASSPATH or other variables and userids) may be different. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Wed May 15, 2002 4:16 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				Well are there any failures listed in the NT event monitor ????
 
 
Also is the runmqtm process runinng or does the process start and die ??? _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | genestep | 
		  
		    
			  
				 Posted: Thu May 16, 2002 7:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 16 Apr 2002 Posts: 43 Location: France 
  | 
		  
		    
			  
				In fact, i have no message in event viewer and the process runmqtr.exe is running.
 
 
What i do :
 
I defined an init queue QINIT used in trigger monitor.
 
I define a process PROC (foo.bat)
 
I defined a queue QIN with trigger (parameters QINIT, PROC)
 
 
When i use runmqtrm -q QINIT QMANAGER, no problem.
 
When i use trigger monitor, no message in QINIT was posted    
 
 
thank for your help | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Thu May 16, 2002 8:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				When running trigger monitor from MQServices check the QINIT queue
 
the IPPROCs value it should be 1 at least. if it is 0 then your trigger monitor is not connecting to the correct queue _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | genestep | 
		  
		    
			  
				 Posted: Thu May 16, 2002 10:41 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 16 Apr 2002 Posts: 43 Location: France 
  | 
		  
		    
			  
				Sorry Jeff
 
 
I have a french version and i'm new in MQ world.  don't find IPPROC's parameter. What is it (or where i can find it)    
 
 
 
Thx
 
 
Philippe | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | mrlinux | 
		  
		    
			  
				 Posted: Fri May 17, 2002 10:58 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA 
  | 
		  
		    
			  
				Well the IPPROCs variable is used to indicate how many process are attached to a queue for reading from the queue.
 
runmqsc
 
 dis ql(Q_NAME) all
 
 
 
or check properities from the windows GUI under statistics _________________ Jeff 
 
 
IBM Certified Developer MQSeries
 
IBM Certified Specialist MQSeries
 
IBM Certified Solutions Expert MQSeries | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | gvpatil | 
		  
		    
			  
				 Posted: Mon May 20, 2002 7:33 am    Post subject: Check executable permissions used in process defination. | 
				     | 
			   
			 
		   | 
		
		
		    Newbie
 
 Joined: 18 Jan 2002 Posts: 9
  
  | 
		  
		    
			  
				The process that you want to get triggered, are you accessing it using PATH ? Is that executable is in PATH for System. Remember Trigger Monitor through MMC get started under LocalSystem and not under Your user id. 
 
 
As well if I remember correct localsystem can not access the shared drive, if you are triggering executable/ bat file from shared drive, by starting trigger monitor under localsystem, it may not work.  
 
 
gvpatil | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | raman | 
		  
		    
			  
				 Posted: Mon May 20, 2002 8:45 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 May 2002 Posts: 13
  
  | 
		  
		    
			  
				Hi,
 
Is this "runmqtrm -q QINIT -m QMANAGER" a trigger monitor that comes with the MQSeries? If I run this trigger monitor will continue running until I stop it?
 
 
Thanks,
 
raman. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Tue May 21, 2002 4:12 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				Raman,
 
Yes and it should. You may want to look at SupportPac MA7K, which runs the trigger monitor as a Service under NT or Win2K. It works well for us. It also can be run as a Client trigger monitor, which is how we are using it. _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | raman | 
		  
		    
			  
				 Posted: Tue May 21, 2002 8:04 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 May 2002 Posts: 13
  
  | 
		  
		    
			  
				Hi,
 
Thanks a lot. I started the trigger monitor and everthing is working fine.
 
 
-Raman. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | raman | 
		  
		    
			  
				 Posted: Tue May 21, 2002 8:05 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 May 2002 Posts: 13
  
  | 
		  
		    
			  
				Hi, One more question on this. Can I make this runmqtrm as a windows service and keep running in the background? Can anyone tell me how to do that.
 
 
Thanks
 
raman. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Tue May 21, 2002 8:06 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | raman | 
		  
		    
			  
				 Posted: Tue May 21, 2002 8:59 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 15 May 2002 Posts: 13
  
  | 
		  
		    
			  
				peter,
 
 
Thanks for the reply. 
 
The documentation for MA7K servicepak says that it is linked with the MQSeries client library (mqic32). But I want to run this on the box where my Queue Manager resides. I don't have MQClient installed on this box. Is it ok to use this service pack? Or is there any other service pack I can use it on the MQServer?
 
 
Thanks
 
raman. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | PeterPotkay | 
		  
		    
			  
				 Posted: Tue May 21, 2002 9:03 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Poobah
 
 Joined: 15 May 2001 Posts: 7723
  
  | 
		  
		    
			  
				The ReadMe.txt file that comes with this SupportPak contains the info that you need. There is an option during setup that allows you to choose client vs. server. You will have to modify the setup.ini file.
 
 
Take a look and if you still have questions, write back. _________________ Peter Potkay
 
Keep Calm and MQ On | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |