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 Discussion » learning about trigger monitors

Post new topic  Reply to topic
 learning about trigger monitors « View previous topic :: View next topic » 
Author Message
ml_black
PostPosted: Mon Feb 09, 2004 11:53 am    Post subject: learning about trigger monitors Reply with quote

Novice

Joined: 09 Feb 2004
Posts: 20

Hi. Total newbie here.

I have set up a local trigger monitor via MQ Explorer snap-in. When I try to start it, I get this error:
Quote:
The service could not be started. The process has terminated with a return code of 20 (AMQ4128).


I know all of you prefer to use the command line over Explorer, but I'm on a tight deadline and thought it would be simpler to do everything through mouse clicks and property windows rather than trying to learn all the commands.

Question: Does anyone know how to debug these types of problems via MQ Explorer? If not, how can it be done via command line?

Thanks!
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Feb 09, 2004 1:47 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

It's easy to debug through command line
You start the service as
runmqtrm -m QMGRNAME -q INITQ
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ml_black
PostPosted: Tue Feb 10, 2004 6:30 am    Post subject: Reply with quote

Novice

Joined: 09 Feb 2004
Posts: 20

OK. I tried this, but nothing much happens, so I think the monitor is running and waiting for a trigger to happen.

Here's the problem now-->If I put a message on my application queue, the initiation queue is opened, but no trigger message appears to be created. Or if it does, it gets processed so quickly that it doesn't appear in the Current Depth. But I do know that the application I am trying to trigger is not running to completion.

I think I have set up my process correctly. But is there a way to trace into the application I am trying to trigger (it's java) once it's running? How can I know if it's even started up?

Thanks to everyone!
Back to top
View user's profile Send private message
ml_black
PostPosted: Tue Feb 10, 2004 6:37 am    Post subject: Reply with quote

Novice

Joined: 09 Feb 2004
Posts: 20

Now I tried using a simple "Hello World" application in the process definition. Nothing happens when I put a message on my application queue. So I guess my trigger message is not getting created? Any ideas on the best way to trouble shoot this?

Thanks!
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Tue Feb 10, 2004 7:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

If 'nothing happens' then most probably you have an incorrect / invalid value for your Application Identifier (verify the path & filename - cut & paste it to a Command Prompt to see if the program will run).

Also, check the Application Type for an invalid value. If your program is a standard WinNT/2000 (32-bit) program then make sure you select "Windows NT" and NOT "Windows" (Windows means to run a 16-bit program!!!!).

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Tue Feb 10, 2004 8:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www.mqseries.net/phpBB2/viewtopic.php?t=12988
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » learning about trigger monitors
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.