Hello all im using jacOrb as my client orb to some times when the server or network are idle I have no way to know because the connection is stock . and I have no timeout error where can I define in jacOrb the connection timeouts? Thanks
You can set that in jacorb.properties file.
Ensure that the property jacorb.connection.client.idle_timeout is uncommented, and set this property to a value between 5000 and 30000 milliseconds
Joined: Jun 19, 2009
See below for properties that needs to be set in jacorb.properties file for connection timeout
# Wait the specified number of msecs for a reply to a request. If
# exceeded, a org.omg.CORBA.IMP_LIMIT exception will be thrown
# client-side connection idle timeout, set no non-zero to stop
# blocking after so many msecs.
# WARNING: This is independent of pending replies, i.e. the connection
# can also close, if the timeout is exceeded, but there are unanswered
# max time a server keeps a connection open if nothing happens
# WARNING: This is independent of the requests currently being
# processed, i.e. the connection can also close, if the timeout is
# exceeded, but there are unanswered requests.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com