It's all about the answers!

Ask a question

java.net.SocketTimeoutException on [teamAccept]


0
1
N. VD (841934) | asked Mar 17 '16, 9:37 a.m.
edited Mar 17 '16, 9:38 a.m.
We're receiving a random timeout when changes are accepted in the repository during a headless build.
In some of the failed builds there aren't even a lot of changes accepted (just 1 changeset with changed file)

I'm using ANT with JBE.

How can this happen and how can it be solved?

The complete error message:
[teamAccept] The buildResultUUID attribute is set, but will not be used if snapshotName is not set.
[teamAccept] Not using a proxy to reach https://our-server.com:9443/ccm
[teamAccept] com.ibm.team.repository.common.transport.TeamServiceException: CRJAZ0099E An HTTP error occurred when this URL was being accessed: /ccm/service/com.ibm.team.scm.common.IScmService. Error details: java.net.SocketTimeoutException.
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamServer.executePrimitiveRequest(RemoteTeamServer.java:1739)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamServer.executeWithAuthHandling(RemoteTeamServer.java:1398)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamServer.executeMethod(RemoteTeamServer.java:1027)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamServer.executeMethod(RemoteTeamServer.java:976)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamService.executeCancelableHttpMethod(RemoteTeamService.java:658)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:605)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:548)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:202)
[teamAccept] at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)
[teamAccept] at com.sun.proxy.$Proxy22.updateComponents2(Unknown Source)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:254)
[teamAccept] at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:110)
[teamAccept] at com.sun.proxy.$Proxy22.updateComponents2(Unknown Source)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy$2.run(ScmServiceInterfaceProxy.java:168)
[teamAccept] at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1327)
[teamAccept] at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
[teamAccept] at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1322)
[teamAccept] at com.ibm.team.scm.client.internal.ScmClientLibraryContext.callCancelableService(ScmClientLibraryContext.java:71)
[teamAccept] at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invokeCancelableService(ScmServiceInterfaceProxy.java:164)
[teamAccept] at com.ibm.team.scm.client.internal.ScmServiceInterfaceProxy.invoke(ScmServiceInterfaceProxy.java:92)
[teamAccept] at com.sun.proxy.$Proxy22.updateComponents2(Unknown Source)
[teamAccept] at com.ibm.team.scm.client.internal.FlowNodeConnection.applyComponentOperations(FlowNodeConnection.java:1927)
[teamAccept] at com.ibm.team.scm.client.internal.FlowNodeConnection.applyComponentOperations(FlowNodeConnection.java:1869)
[teamAccept] at com.ibm.team.scm.client.internal.FlowNodeConnection.applyComponentOperations(FlowNodeConnection.java:1853)
[teamAccept] at com.ibm.team.build.internal.scm.SourceControlUtility.acceptAllFromComponents(SourceControlUtility.java:1364)
[teamAccept] at com.ibm.team.build.internal.scm.SourceControlUtility.acceptAllIncoming(SourceControlUtility.java:1151)
[teamAccept] at com.ibm.team.build.internal.scm.SourceControlUtility.acceptAllIncoming(SourceControlUtility.java:1004)
[teamAccept] at com.ibm.team.build.ant.task.TeamAcceptTask.doExecute(TeamAcceptTask.java:158)
[teamAccept] at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:704)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.Target.execute(Target.java:357)
[teamAccept] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[teamAccept] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[teamAccept] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[teamAccept] at net.sf.antcontrib.logic.AntCallBack.execute(Unknown Source)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.Target.execute(Target.java:357)
[teamAccept] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[teamAccept] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[teamAccept] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[teamAccept] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[teamAccept] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[teamAccept] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[teamAccept] at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.Target.execute(Target.java:357)
[teamAccept] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[teamAccept] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[teamAccept] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[teamAccept] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[teamAccept] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[teamAccept] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[teamAccept] at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.Target.execute(Target.java:357)
[teamAccept] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[teamAccept] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[teamAccept] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[teamAccept] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[teamAccept] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[teamAccept] at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.Target.execute(Target.java:357)
[teamAccept] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[teamAccept] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[teamAccept] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[teamAccept] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[teamAccept] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[teamAccept] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
[teamAccept] at net.sf.antcontrib.logic.IfTask.execute(Unknown Source)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[teamAccept] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154)
[teamAccept] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[teamAccept] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[teamAccept] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[teamAccept] at java.lang.reflect.Method.invoke(Method.java:606)
[teamAccept] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[teamAccept] at org.apache.tools.ant.Task.perform(Task.java:348)
[teamAccept] at org.apache.tools.ant.Target.execute(Target.java:357)
[teamAccept] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[teamAccept] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[teamAccept] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[teamAccept] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[teamAccept] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[teamAccept] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[teamAccept] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[teamAccept] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[teamAccept] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[teamAccept] Caused by: java.net.SocketTimeoutException
[teamAccept] at sun.nio.ch.SocketAdaptor$SocketInputStream.read(SocketAdaptor.java:229)
[teamAccept] at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
[teamAccept] at com.ibm.team.repository.transport.client.InterruptableSocket2$InterruptableSocketInputStream.read(InterruptableSocket2.java:603)
[teamAccept] at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
[teamAccept] at sun.security.ssl.InputRecord.read(InputRecord.java:480)
[teamAccept] at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946)
[teamAccept] at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:903)
[teamAccept] at sun.security.ssl.AppInputStream.read(AppInputStream.java:102)
[teamAccept] at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:136)
[teamAccept] at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:152)
[teamAccept] at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:270)
[teamAccept] at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
[teamAccept] at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
[teamAccept] at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
[teamAccept] at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:161)
[teamAccept] at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:153)
[teamAccept] at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
[teamAccept] at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
[teamAccept] at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:254)
[teamAccept] at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
[teamAccept] at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)
[teamAccept] at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
[teamAccept] at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
[teamAccept] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
[teamAccept] at com.ibm.team.repository.transport.client.RemoteTeamServer.executePrimitiveRequest(RemoteTeamServer.java:1693)
[teamAccept] ... 170 more

Be the first one to answer this question!


Register or to post your answer.