Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Connection Timeout Issues  RSS feed

 
Tapan Agarwal
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Issue was resolved when the appplication server was restarted..
can anyone tell me what was causing the problem..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!