We spent a lot of time to improve our LAPI wrapper class written in Java. Using a retry mechanism we solved problems which come with a LLIOExceptions like
Could not access server
Server did not accept open request
Could not read router packet from socket
In a network with good performance our tools using this wrapper class may run for several days without any problem. But accessing a Livelink system over a bad network sometimes we got a locked situation where the LAPI application seems to hang on a socket. One way to get out of this state is to deactivate/activate the network interface but we want to have an automatic solution. Does anybody know a way to solve this? Is there a way to close the socket programmatically or to set a timeout on the socket?