|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
MQ services object issue. |
« View previous topic :: View next topic » |
Author |
Message
|
gbaddeley |
Posted: Thu Apr 20, 2017 4:26 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
mqjeff wrote: |
Also, you shouldn't as a recommended practice, keep any user code in "C:\Program Files\IBM\WebSphere MQ\bin", or any MQ product directory. |
Agree. Never put anything or make changes in the MQ installation directories, unless it is an IBM documented setting or customization.
Quote: |
You can also look at altering the STDOUT attribute to write to a file instead of nowhere. |
Agree. STDOUT and STDERR should always be set to valid file names.
STOPCMD and STOPARG should also be set, eg. I use something like the following to set up a trigger monitor on Windows:
Code: |
define service('MY.TRIGMON') replace +
control(qmgr) servtype(server) descr('Meaningful description') +
startcmd('+MQ_INSTALL_PATH+bin\runmqtrm.exe') +
startarg('-m +QMNAME+ -q MY.INITQ') +
stopcmd('+MQ_INSTALL_PATH+bin\amqsstop.exe') +
stoparg('-m +QMNAME+ -p +MQ_SERVER_PID+') +
stdout('D:\MyTrigMonLogs\stdout.log') +
stderr('D:\MyTrigMonLogs\stderr.log') |
_________________ Glenn |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Apr 21, 2017 4:23 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
gbaddeley wrote: |
I use something like the following to set up a trigger monitor on Windows: |
I'm disappointed
 _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Apr 23, 2017 4:52 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
mqjeff wrote: |
gbaddeley wrote: |
I use something like the following to set up a trigger monitor on Windows: |
I'm disappointed
 |
Hi Jeff. Sorry to rain on your parade. More power to MA7K!
We've been using a trigger monitor MQ service for eons, set up similarly on our our platforms, Windows, AIX, HP-UX, Linux. _________________ Glenn |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|