[omniORB] How to guard against endless loops in the server?
Daniel Pfeiffer
Daniel.Pfeiffer@start.de
Wed Feb 19 08:49:01 2003
Hi,
We want to guard against endless loops in the server with a server side
timeout. I would expect this to work by interrupting the server method and
sending an exception to the client (which is operating with a longer timeout).
Instead my trace output suggests that the server is indeed being
interrupted(?), but is being reentered straight away. I haven't figured out
how often it is being reentered -- about 3 to 5 times. Looks like this might
be bounded by serverCallTimeOutPeriod * scanGranularity.
The documentation of serverCallTimeOutPeriod in version 4, sounds like the
semantics have completely changed since version 3.0.5. Anyway: What is the
correct way to guard against runaway server methods in both 3.0.5 and 4.0?
thanks a lot in advance!
Daniel