ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » MQ event monitor problem on AIX

Post new topic  Reply to topic
 MQ event monitor problem on AIX « View previous topic :: View next topic » 
Author Message
gmabrito
PostPosted: Thu Aug 14, 2003 9:15 am    Post subject: MQ event monitor problem on AIX Reply with quote

Apprentice

Joined: 19 Mar 2002
Posts: 35

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.

debug output below

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQ event monitor problem on AIX
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.