Thank Rob, yes I should TellTheDetails.
Inside my servlet I use
webnfs and
j-ftp for creating a nfs client and access to a remote directory. I need a time out when the nfs server is down but I think this api don't give me any mechanism for me pourpose. Therefore I think any mechanism, maybe a
thread.
This is my code:
file.exist() method it's waiting for the connexion and if the nfs is down this method never terminate.
Anybody can help me with this problem?. I think nsf is over tcp protocolo and maybe can use some tcp connector method try to connect with nfs server and if the server is down this method throw a timeout.
TIA