Author |
Message
|
ml_black |
Posted: Mon Feb 09, 2004 11:53 am Post subject: learning about trigger monitors |
|
|
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 |
|
 |
vennela |
Posted: Mon Feb 09, 2004 1:47 pm Post subject: |
|
|
 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 |
|
 |
ml_black |
Posted: Tue Feb 10, 2004 6:30 am Post subject: |
|
|
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 |
|
 |
ml_black |
Posted: Tue Feb 10, 2004 6:37 am Post subject: |
|
|
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 |
|
 |
RogerLacroix |
Posted: Tue Feb 10, 2004 7:54 am Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Feb 10, 2004 8:03 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
|