| Author | 
		  Message
		 | 
		
		  | anhnt | 
		  
		    
			  
				 Posted: Tue Aug 26, 2003 7:27 pm    Post subject: problem in trigger | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 03 Aug 2003 Posts: 54
  
  | 
		  
		    
			  
				Hi all,
 
 My application use the trigger.
 
 I Created application queue with attributes:
 
    Trigger Control:On
 
    Trigger type :Every
 
    Init Queue Name:Created and set
 
    Process:Created and set
 
 Process's attributes:App Id = path of .exe file
 
 I created Trigger monitor form Services Explorer with Queue Name Atributes = Init Queue wich I Create.My problem is:
 
 
 When I put message on application Queue,I checked my Init Queue,It had trigger message,but my .exe application didn't start.
 
 
some body help me to resolve my problem.
 
 
 thanks
 
anhnt | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ArvindC | 
		  
		    
			  
				 Posted: Tue Aug 26, 2003 10:25 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 25 Dec 2002 Posts: 14 Location: India 
  | 
		  
		    
			  
				| Try starting the trigger monitor from the command prompt. That way you will able to see the error messsages returned by the trigger monitor. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | anhnt | 
		  
		    
			  
				 Posted: Tue Aug 26, 2003 11:07 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 03 Aug 2003 Posts: 54
  
  | 
		  
		    
			  
				Thanks ArvindC,
 
I tried to type command line: runmqtmc at prompt.
 
my problem was resolved,but when I close command window.old problem still appear.Can you help me to resolve the problem?
 
 
anhnt[/b] | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | bob_buxton | 
		  
		    
			  
				 Posted: Wed Aug 27, 2003 1:45 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Master
 
 Joined: 23 Aug 2001 Posts: 266 Location: England 
  | 
		  
		    
			  
				How do you normally start your trigger monitor?
 
Are you sure that it is running? _________________ Bob Buxton
 
Ex-Websphere MQ Development | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | anhnt | 
		  
		    
			  
				 Posted: Wed Aug 27, 2003 8:03 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 03 Aug 2003 Posts: 54
  
  | 
		  
		    
			  
				I started trigger by following:
 
  at prompt I typed: runmqtmc -m qmngr_server -q init_queue
 
  monitor  display message line:"Waiting for a trigger Message ".When I put a message in application queue.trigger  application  started.
 
 
anhnt | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | anhnt | 
		  
		    
			  
				 Posted: Wed Aug 27, 2003 11:15 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 03 Aug 2003 Posts: 54
  
  | 
		  
		    
			  
				Hi bob_buxton,
 
 
I started trigger by following: 
 
at prompt I typed: runmqtmc -m qmngr_server -q init_queue 
 
monitor display message line:"Waiting for a trigger Message ".When I put a message in application queue.trigger application started. But when I Closed the command windows(or press Clt + C),Trigger stoped.
 
I Want my Trigger run in background.
 
What need I do to resolve it.
 
thanks
 
anhnt | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | ArvindC | 
		  
		    
			  
				 Posted: Thu Aug 28, 2003 4:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Novice
 
 Joined: 25 Dec 2002 Posts: 14 Location: India 
  | 
		  
		    
			  
				If you are working on Windows platform, you can start the trigger monitor as a service from the MQServices console. Select the mqm then click on Actions -> new -> Trigger Monitor.
 
 
If you are working on the Unix platform then you can start the trigger monitor from the command prompt followed by '&' to run the command in the background.
 
 
-Arvind | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Ratan | 
		  
		    
			  
				 Posted: Thu Aug 28, 2003 7:32 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 18 Jul 2002 Posts: 1245
  
  | 
		  
		    
			  
				anhnt,
 
 
when you run trigger monitor in background (in MQ services) on NT make sure MQ user ID (MUSR_MQADMIN) has previleges to access and start your application. _________________ -Ratan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | anhnt | 
		  
		    
			  
				 Posted: Fri Aug 29, 2003 7:30 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 03 Aug 2003 Posts: 54
  
  | 
		  
		    
			  
				But I created trigger monitor from Explorer Services and I also grant to MQ user ID (MUSR_MQADMIN)  privilles of administrators,mqm.But it have not worked yet.
 
 May be my MQ services has problem.
 
 Can You tell me about it?
 
 
thanks in advance
 
 
anhnt | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | Ratan | 
		  
		    
			  
				 Posted: Tue Sep 02, 2003 9:49 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Grand Master
 
 Joined: 18 Jul 2002 Posts: 1245
  
  | 
		  
		    
			  
				I believe I faced a similar problem. Give MUSR_MQADMIN execute permissions to the directory (do this even though he is in administrators group) where the program needs to run from. _________________ -Ratan | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |