File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Connection Timeout Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Connection Timeout Issues" Watch "Connection Timeout Issues" New topic
Author

Connection Timeout Issues

Tapan Agarwal
Greenhorn

Joined: Nov 22, 2012
Posts: 13
Hi Guys need your help....
I want to check the existence of a particular file in a server from my application...
The used the following code-


The code was working fine as long as the server was up...
Once the server was down(Thanks to Sandy) and up again,my application started showing errors.
I looked into the log files and found that the application was no longer able to connect with the server and throwing Time Out Exception after 120 seconds.
I tried to open the file from a browser and it working perfectly fine...
Is there a problem with the codes or the server..

Thanks,
Tapan

Tapan Agarwal
Greenhorn

Joined: Nov 22, 2012
Posts: 13
The Issue was resolved when the appplication server was restarted..
can anyone tell me what was causing the problem..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection Timeout Issues