Socket Timeout Exception
I am trying to copy components from one RTC server to another.
I have created a repository workspace that flows from the stream on the old server and during the creation pick the option to “Use another repository” = ‘myuser@new_server’.
Then I can flow the content from the old server into the new.
This works fine for small amounts of data but when I attempt to copy larger components I get a Socket Timeout Exception:
The message displayed in the Eclipse client look like this :
Message from new_server : Requesting ….for round 3 from http ://old_server
Message from new_server : Requesting ….for round 4 from http ://old_server
Message from new_server : Requesting ….for round 5 from http ://old_server
Then after five minutes or so it fails.
Problems occurred running creating ‘name of workspace’.
Reason: CRJAZ0099E an HTTP error occurred when this URL was being accessed: /ccm/service/com.ibm.team.scm.common.IscmService. Error details: java.net.SocketTimeoutException.
Does anyone have any idea how I can overcome this problem ?
Thanks
Peter
Accepted answer
Comments
Thanks for that. Looks like it could well be the problem. I will give it a go.
I am using Eclipse client v6.0.2 which has two repository connections : first one is to the old RTC server and second connection is to the new RTC server.
In both cases I am using the default of 300 seconds.
I'll let you know how I get on.
One other answer
You can effectively handle it by define a connection timeout and later handle it by using a try-catch block. From the client side you can use the following method and set the timeout parameter: