dcsimg
client hangs in Jacorb when the server is not available
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Noam_h
Posted On:   Monday, September 9, 2002 02:23 AM

When I try to access an object on a server that is not responding (or a fake IP) using a corbaloc URL, the client hangs when trying to narrow().

Re: client hangs in Jacorb when the server is not available

Posted By:   mep_wang  
Posted On:   Wednesday, September 25, 2002 07:38 AM

While narrow operation is called,a connection to server object is initiate,and a request "is_a" is sent to verify whether the server object is correct type.In jacORB,you'd better set a socket timeout to avoid infinite waiting.You can specify a environment
variable "jacorb.connection.client_idle_timeout",in milliseconds,then jacORB read the value and make it a timeout parameter of socket.
About | Sitemap | Contact