[omniORB] -ORBclientTimeOutPeriod Bug When The Server Uses A Location Forward Request?

Wilson Jimmy - jiwils Jimmy.Wilson@acxiom.com
Wed, 15 May 2002 10:03:57 -0500


I modified the POA servant locator examples to test this functionality.  It
appears that when speaking omniORB to omniORB the timeout stuff works just
fine, regardless of whether or not a location forward request is made.  This
probably means this is an Orbix thing.  I've attached the modified examples
for the mailing list archives.

I did notice something interesting, and I wondered if someone could comment.
It appears that omniORB attempts to retry the function invocation when it
times out.  With the omniORB server, I see the servant locator preinvoke
method being called twice (for just one request).  With the Orbix server, I
see an IIOP disconnect/reconnect message.  Am I interpreting what I am
seeing correctly?  Is so, could the whole connection by thread issue be
coming into play in this scenario when using Orbix?  Would turning on
omniORB's trace level tell me anything regarding this?

Any comments would be helpful.

Jimmy
-- 
James "Jimmy" Wilson
Software Developer, Acxiom Corporation

-----Original Message-----
From: Wilson Jimmy - jiwils [mailto:Jimmy.Wilson@acxiom.com]
Sent: Tuesday, May 14, 2002 1:38 PM
To: omniORB Mailing List (E-mail)
Subject: [omniORB] -ORBclientTimeOutPeriod Bug When The Server Uses A
Location Forwa rd Request?


I've written a sample client to an Orbix 3.0.1 service.  It works fine when
the server behaves normally.

I added some code to the client that sets the client time out period, but it
does not appear to work with Orbix.  This same setting seems to work with
ORBs.  I do not think that this is an Orbix problem per se because Orbix
uses location forward requests, and they (I think) may be the source of the
problem.

The attached client works fine when the server is set to behave
appropriately.  When the Orbix server is set to sleep for 25 seconds or so
in the middle of an invocation, the client never times out.

Does anyone know if this is a problem or not?  I can (and will probably)
write an omniORB server that uses location forward requests to see if I can
replicate this behavior, but I don't have one currently.  I was hoping that
someone had already run into this problem (or at least knew it existed)
before I take the time to try and prove it.

Any thoughts?

Jimmy
-- 
James "Jimmy" Wilson
Software Developer, Acxiom Corporation

 <<ErrorService.py>>


*********************************************************************

The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.