Distributed SCM connection problems/timeouts. help! [solved]
just looking for anyones experience before involving support..
doing duplicate stream, 3.0.1.3 to 3.0.1.3 systems.
getting timeout and lock rollback errors.. not sure why the problems.. didn't happen last week.
have increased the timeout config on both servers.. no change.
all databases on Derby
2 answers
so, the answer is, increase the client timeout.. for PlainJava apps this is
ITeamRepository Server = TeamPlatform.getTeamRepositoryService().getTeamRepository(serverURI);
Server.registerLoginHandler(new LoginHandler(userId, password));
Server.setConnectionTimeout(master_connection_timeout);
Server.login(null);
this the ELAPSED time the client will stay connected. NOT per API call.
I also added error recovery, if the copy times out, I logoff, increase the prior timeout by 1 hour, and login again, then retry the failed operation. (after a little cleanup)
can someone mark this as the answer please
Hi Sam,
if the time out happens on the "client" side, how about configuring the timeout setting on the eclipse as the following jazz.net article described?
(b. increase connection timeout section in the 5. Checklist)
Flow changes cross repositories with Rational Team Concert
https://jazz.net/library/article/535/
if the time out happens on the "client" side, how about configuring the timeout setting on the eclipse as the following jazz.net article described?
(b. increase connection timeout section in the 5. Checklist)
Flow changes cross repositories with Rational Team Concert
https://jazz.net/library/article/535/
Comments
Arne Bister
JAZZ DEVELOPER Jan 31 '14, 4:13 p.m.sam detweiler
Jan 31 '14, 5:17 p.m.1 vote
Arne Bister
JAZZ DEVELOPER Feb 01 '14, 3:02 a.m.sam detweiler
Feb 01 '14, 6:30 a.m.