One of the BrowserManagerServer tasks in our continous build was not 
responding to launchRemoteBrowser() requests.  As a result of this problem,
the continuous build is getting stuck building one of the projects.  It 
will not finish until the junit process is killed manually.  The problem 
was that the BrowserManager launchRemoteBrowser() task is blocking indefinitely.

This patch addresses the issue by setting a timeout for the read() operation
on the socket used for RMI.  The patch also adds specific messages for 
exceptions caused by timeouts.

Patch by: zundel
Review by: scottb



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2058 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed