Title: MQ event monitor problem on AIX

I am having some problems with a multithreaded MQ program on AIX.  I modified support pac (ms0k) to launch a separate thread at startup for each event queue by modifying the evmon.c module instead of its original single queue monitoring algorithm.  I did this because we are using Patrol to execute it every couple of minutes and send any events to TEC (I know this really isn't event oriented but supposedly Patrol has a problem with long running programs so this is the best we can do for now)   The program works great on Solaris using the pthread functions, but when run I the same program on AIX 4.33 and AIX 5.1 I get a 2195, 2219, and a  FDC file when the program runs.  The MQ versions I tried this on are MQ 5.3 CSD1,and CSD4 with the same results.  Is there something special that needs to be done for multithreaded MQ application on AIX?  Any help would be greatly appreciated.

http://www-3.ibm.com/software/integration/support/supportpacs/individual/ms0k.html

main() reporting Starting threads
Launching thread 0
Launching thread 1
Launching thread 2
Qmgr = QM1
Q = SYSTEM.ADMIN.CHANNEL.EVENT
waitInt = 2000
verbose = true
Thread monitoring Q: SYSTEM.ADMIN.CHANNEL.EVENT ..
Qmgr = QM1
Q = SYSTEM.ADMIN.PERFM.EVENT
waitInt = 2000
verbose = true
Thread monitoring Q: SYSTEM.ADMIN.PERFM.EVENT ..
ERROR: MQCONN ended with reason code 2195
ERROR: invoking evPerfm
Qmgr = QM1
Q = SYSTEM.ADMIN.QMGR.EVENT
waitInt = 2000
verbose = true
Thread monitoring Q: SYSTEM.ADMIN.QMGR.EVENT ..
ERROR: MQOPEN ended with reason code 2219
ERROR: invoking evPerfm
joining thread 0
joining thread 1
joining thread 2
main() reporting that all 3 threads have terminated


Greg Mabrito
I/T Asct Sys Prgrmr
IMS and MQ Software Support
(210)913-3985 D-03-E
IBM Certified Specialist - Websphere MQ

The opinions herein are solely Greg's and are not necessarily the opinion of USAA.



Reply via email to