[omniORB] Long running method invocation

Duncan Grisby duncan at grisby.org
Tue Aug 17 17:50:19 BST 2004


On Thursday 29 July, Mike Mascari wrote:

> I have a client which invokes a method of a servant which can take a 
> long time to complete. The servant loops, issuing a sleep() and then 
> checks for the existence of a file. If the file exists, it transfers 
> the data to the client. I wrote it this way for omniORB3 before 
> bi-directional IIOP to allow for use behind firewalls.
> 
> On some machines, this works fine. On others, with the same 
> executable, it doesn't. I've printf'd it to see that the servant 
> completes the method and returns, but the client never returns from 
> the remote method invocation, as if it's stuck or a timeout occured 
> elsewhere that prohibits it from receiving the response.
> 
> Neither client nor server use any -ORB option for timeouts.
> 
> I was wondering, before I turn up trace levels and log all activity, 
> if this was a known issue? I'm running 4.0.3 on both client and 
> server, and running the client under Windows XP, and the server 
> under Linux 2.4.18.

I don't know what that could be. Try running with traceLevel 25.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list