Re: FW: Problem with blocking in sendReceiveTimeout
Dion Picco <[email protected]>
| Newsgroups | gmane.comp.corba.orbacus |
|---|---|
| Organization | IONA | Making Software Work Together TM |
| Message-ID | <[email protected]> |
Hi Henrik, On Thu, Jan 06, 2005 at 11:59:51AM +0100, Henrik Nørgaard wrote: > Hi Dion. > > I don't know the version of Orbacus, that we are using. > > I am not sure what you mean by 'dispatch strategy', but let me describe how > we use the Corba-servers from the client side: > There is 1 server object pr. JVM (an instance of org.omg.CORBA.Object) and > all requests go through this object. Before invoking a business method on > the server object, we call the method '_non_existent()' on the object. This > call may take some time and from the dumps, I can see that there are often > many threads waiting to perform this call. The call is made in a seperate > thread from the class ServerHelper. > > I include a full dump from our application server (Resin). > > Med venlig hilsen / Kind Regards, > > Henrik Hald Nørgaard > Udvikler > > Livjægergade 17A > DK-2100 Copenhagen Ø > > E-mail: [email protected] > Mobile: +45 2949 2838 > Phone: +45 3370 1421 > Fax: +45 7027 2760 > www.realtime.dk I can see from your thread backtraces what you mean. The problem is not due to a deadlock on your client side. You have at least one thread that has succeeded in making the _non_existent call and is awaiting the reply. While it is doing that, it has that mutex locked so other threads cannot usurp the transport. However for some reason your server is not returning the result of the non_existent call so it waiting forever causing the other threads to block in the process. I'd need to see a corresponding thread dump of the server process at the time the client hangs in order to properly determine why it isn't sending back the result. You can determine your Orbacus version by using the idl or jidl executables and specifying the -v option for version. -- Dion Picco, Software Engineer IONA Technologies Inc. Team Orbacus - Your CORBA Source mailto:[email protected] http://www.orbacus.com _______________________________________________ OB-Users Mailing List - [email protected] http://mail.ooc.nf.ca/mailman/listinfo/ob-users Visit our support FAQ before you send a message. http://www.orbacus.com/faq/support.html