Title: Message
A trace might provide clues.  http://publibfp.boulder.ibm.com/epubs/html/amqzag04/amqzag043c.htm#HDRTRCAIX
 
Dan
 
 -----Original Message-----
From: Mabrito, Greg [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 2:50 PM
To: [EMAIL PROTECTED]
Subject: Re: MQ event monitor problem on AIX

No FDCs anymore.  Just a 2059.
-----Original Message-----
From: Egner, Dan [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 2:01 PM
To: [EMAIL PROTECTED]
Subject: Re: MQ event monitor problem on AIX

Did it throw an FDC?  What did it look like?
 
Dan
-----Original Message-----
From: Mabrito, Greg [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 1:03 PM
To: [EMAIL PROTECTED]
Subject: Re: MQ event monitor problem on AIX

That helped.  I now get a 2059 on the third iteration during the MQCONN.
 
Thread monitoring Q: SYSTEM.ADMIN.QMGR.EVENT ..
ERROR: MQCONN ended with reason code 2059
The queue manager is available.  What gives?
-----Original Message-----
From: Egner, Dan [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 12:37 PM
To: [EMAIL PROTECTED]
Subject: Re: MQ event monitor problem on AIX

 
"When you run threaded server or threaded client applications under AIX 5.1 or
AIX 4.3, set the environment variable AIXTHREAD_SCOPE=S"
==
Dan Egner
BMC Software, Inc
 
 -----Original Message-----
From: Mabrito, Greg [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 11:55 AM
To: [EMAIL PROTECTED]
Subject: 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