<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4630.0">
<TITLE>Client call timeout esception</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi all,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">My pb is:</FONT>
<BR><FONT SIZE=2 FACE="Arial">When a client makes a call to a server that is being debugged in a debugger and even more stopped at a breakpoint location, the client is frozen.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">To deal with this issue I use</FONT> <FONT SIZE=2 FACE="Courier">void setClientCallTimeout(CORBA::Object_ptr obj, CORBA::ULong millisecs);</FONT>
<BR><FONT SIZE=2 FACE="Arial">That works perfectly!</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I catch a TRANSIENT exception when the timeout occur.</FONT>
<BR><FONT SIZE=2 FACE="Arial">But in the case of a client trying to getIOR+narrow+calls a method of a real dead server (due to a becoming invalid IOR), I also get a TRANSIENT exception!</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Is there a way to discriminate the 2 cases</FONT>
<BR><FONT SIZE=2 FACE="Arial">1) the timeout</FONT>
<BR><FONT SIZE=2 FACE="Arial">2) the dangling IOR that makes a bad call</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">In my example it's not critical since it appears only when a server is being debugged but we can imagine that a very overloaded machine makes a Corba server process not able to respond to an incomming call.</FONT></P>
<BR>
<P><FONT SIZE=2 FACE="Arial">Thanks for any hints</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">FredP</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Courier New"> (</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> <B></B></FONT><B> <FONT FACE="Courier New">Frédéric Prin</FONT></B><FONT SIZE=2 FACE="Courier New"> )</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> Senior Software Engineer /</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> S I L V A C O (</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> Grenoble REsearch CEnter \</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> Tel 04 56 38 10 33 )</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> __________________________/___</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> /__/__/__/__/__/__/__/__/__/__/</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> /__/__/__/__/__/__/__/__/_____/</FONT>
<BR><FONT SIZE=2 FACE="Courier New"> /__/__/__/__/__/__/__/__/__/__/</FONT>
</P>
</BODY>
</HTML>