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 Java / JMS » Deadlock problem

Post new topic  Reply to topic
 Deadlock problem « View previous topic :: View next topic » 
Author Message
mkurley
PostPosted: Thu Jul 03, 2003 5:05 am    Post subject: Deadlock problem Reply with quote

Novice

Joined: 27 Mar 2002
Posts: 13

I am experiencing a deadlock when running my application. I have just recently upgraded to the latest version of the MA88 package. I have also upgrade to MQ 5.2.0.6. The code in question has been running just fine for two years on the old version of MA88.

Here is the problem. I have triggering enabled for the first message. This starts up a monitor process which creates/manages worker threads. These worker threads are responsible for receiving and processing the messages. The monitor process checks the depth at a configurable interval and spawns new threads. It also prints out the current depth after each time it checks. When I configure it to start 10 threads the monitor process and all of the threads deadlock. Each thread creates it own QueueConnection, QueueSession, QueueReceiver, and Queue objects. No jms objects are shared among the threads. Also note that I have changed this piece of code in over two years.

This leads me to believe that the newer MA88 package is doing some synchonization within the api which is causing the deadlock.
Has anyone else experienced this problem?
Does anyone have any suggestions? This is really causing us a problem because we must upgrade to the new MA88 for performance gains.
Any help or suggestions would be great.
Thanks
-mark
Back to top
View user's profile Send private message
mkurley
PostPosted: Thu Jul 03, 2003 5:13 am    Post subject: Reply with quote

Novice

Joined: 27 Mar 2002
Posts: 13

Also, if I turn on tracing for the MQ java code I don't get the deadlocks.
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 Java / JMS » Deadlock problem
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.