|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Setting up Trigger Monitor |
« View previous topic :: View next topic » |
Author |
Message
|
prasannal |
Posted: Thu Apr 15, 2004 1:34 am Post subject: Setting up Trigger Monitor |
|
|
Apprentice
Joined: 04 Aug 2003 Posts: 44
|
Hi,
I have MQ5.3 and I want to setup a Trigger Monitor service using MQServices.
I have tested my trigger by starting it from command prompt as-
runmqtrm -m abc -q defq
This is working correctly.
I want to start a Java service on trigger event.
For this I have also set CLASSPATH system environment pointing to my java class directory.
But, it seems trigger is not working.
Does any one has tried this, please let me know ASAP.
Thanks,
Plad |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 15, 2004 3:19 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
prasannal |
Posted: Thu Apr 15, 2004 8:17 am Post subject: MQ Trigger monitor setup |
|
|
Apprentice
Joined: 04 Aug 2003 Posts: 44
|
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Apr 15, 2004 1:32 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
I would strongly suggest that you trigger a batch file (Windows) or shell script (Unix) rather than directly triggering the java program.
In the batch file or shell script, set the appropriate environment variables (i.e. CLASSPATH) and then execute your java program.
Regards,
Roger Lacroix _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 15, 2004 4:42 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
RogerLacroix wrote: |
I would strongly suggest that you trigger a batch file (Windows) or shell script (Unix) rather than directly triggering the java program.
In the batch file or shell script, set the appropriate environment variables (i.e. CLASSPATH) and then execute your java program. |
Roger, I agree with this so much that it is actually in the FAQ entry I referenced (and wrote...)  _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|