scm load: unbale to load file. An existing connection was fo
Hi,
I get errors when loading files in rtc-scm called by jazz build. The message is: "Unable to load file somefile.zip. Reason: An existing connection was forcibly closed by the remote host." Here is the exception: 2010-07-19 11:30:51,138 WARN com.ibm.team.scm - Unhandled Exception ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:370) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:321) at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:295) at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:98) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:147) at com.ibm.team.repository.common.transport.ServerHttpUtil.serializeError(ServerHttpUtil.java:1186) at com.ibm.team.repository.common.transport.ServerHttpUtil.serializeError(ServerHttpUtil.java:1076) at com.ibm.team.scm.service.internal.content.VersionedContentService.perform_GetOrHead(VersionedContentService.java:727) at com.ibm.team.scm.service.internal.content.VersionedContentService.perform_GET(VersionedContentService.java:755) at com.ibm.team.repository.service.TeamRawService.service(TeamRawService.java:82) at sun.reflect.GeneratedMethodAccessor220.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at $Proxy545.service(Unknown Source) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doRestService(AbstractTeamServerServlet.java:879) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:1768) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:1642) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1555) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121) at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:811) Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:105) at java.net.SocketOutputStream.write(SocketOutputStream.java:149) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:750) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:347) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:773) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:118) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:583) at org.apache.coyote.Response.doWrite(Response.java:560) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:365) ... 45 more Anyone knows the reason. Thanks. Lin |
7 answers
Here is the error message printed by jazz build
Accepting changes into workspace "main_10.28.45-Workspace" ... Fetching files to fetch destination "C:\TAG\NK\DO_NOT_USE\fetched\CMDTY_GSD" ... com.ibm.team.build.internal.scm.SourceControlUtility$2: Status ERROR: com.ibm.team.filesystem.client code=0 There were errors during download. It is recommended that components be reloaded. The reload will be incremental, loading only the missing items. You can further reduce the reload time by reloading just the projects out of sync. null children= at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:365) at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:193) at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:628) at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:466) at java.lang.Thread.run(Unknown Source) Contains: Failed to download /cmdty_gsd/tags/SYM_Upgrade/jms_TC7.11/Servers/HeadlinesServer.woa/Resources/Java/headlinesserver.zip Contains: Failed to download /cmdty_gsd/tags/SYM_Upgrade/jms_TC7.11/Jars/JRE/1.2/lib/rt.jar Contains: Failed to download /cmdty_gsd/tags/SYM_Upgrade/jms_TC7.11/Jars/JRE/1.3.1/lib/rt.jar Contains: Failed to download /cmdty_gsd/trunk/Symphony/bin/current_jms_PROD/jms/Servers/HeadlinesServer.woa/Resources/Java/headlinesserver.zip Contains: Failed to download /cmdty_gsd/trunk/Symphony/bin/current_jms_PROD/jms/Jars/JRE/1.2/lib/rt.jar Contains: Failed to download /cmdty_gsd/trunk/Symphony/bin/current_jms_PROD/jms/Jars/JRE/1.3.1/lib/rt.jar |
I solved this problem by moving the sync host to rtc server box.
I created a small test project on rtc with only one file rt.jar. When I tried to load this file (cli and jazz build) from a different machine other than the server box, I always got that connection error. Here is our environment rtc 2.0.0.2 ifix3 on windows 2008 64-bit MS SQLServer 2008 Express/Enterprise Tomcat and JDK are the ones shipped with rtc |
Sorry, Tomcat is the 64-bit version, not the one shipped with rtc
I solved this problem by moving the sync host to rtc server box. |
Is there anything relevant in the server or DB logs? Errors like this sometimes indicate that the server is under heavy load, and/or experiencing frequent DB issues making requests take longer due to many retries. It could also indicate issues with network connectivity, particularly if it works better when on the same machine. Is there a firewall in the way when using separate machines?
|
Looks like it's failing on .jar and .zip files. Are these all large files? Does it work OK for smaller files?
|
Hi,
Thank you for the reply. Yes all the errors I got are on .jar and .zip files. File rt.jar is 10493K. Flat files and small binaries are fine. I checked with our technical analyst. Firewall should not be a problem. But I cannot verify this myself. Lin Looks like it's failing on .jar and .zip files. Are these all large files? Does it work OK for smaller files? |
Do you still see the problem if you use the out-of-the-box configuration for Tomcat etc.? Anything in the server/DB logs?
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.