It's all about the answers!

Ask a question

communication error during CC/RTC sync


Gary Dang (59328755) | asked Jul 10 '08, 12:29 a.m.
When trying to import 1GB of data from ClearCase to RTC, sync failed after 167 minutes. It seems to be a connection issue. Any comment on how to avoid such errors? Thanks.

Creating file: TE584-A238 Linking Requirement to Business Process TCER.xls.xls
Synchronization exception: Could not find an item with the clone value: com.ibm.team.links.internal.links.impl.ReferenceImpl@723c723c (internalId: <unset>) (uri: oid%3Aed8aee8a.21154b51.90ea.73%3A39%3A32%3A75%3A8f%3Aea%40vobuuid%3Ade0a79f2.1a8646f6.97bd.d7%3Ab6%3A91%3A05%3Acb%3Ac2, referenceType: URI_REFERENCE, comment: , referenceSide: <unset>, extraInfo: null)

Caused by: CRJAZ1037I Failing query ->

AuditableLinkQueryModel r = AuditableLinkQueryModel.ROOT;
AstQuery q = (AstQuery) IItemQuery.FACTORY.newInstance(r);
q.distinct();
q.filter(r.name()._eq(q.newStringArg())._and(r.targetRef().uri()._in(new IString[] {q.newStringArg()})));

Caused by: CRJAZ0368I Error executing query
stmt = select distinct t1.ITEM_ID, t1.STATE_ID from LINKS.AUDITABLE_LINK t1 where ((t1.NAME_COL = ?) and t1.TARGET_REF_URI in(?))

Caused by: A communication error has been detected. Communication protocol being used: TCP/IP.
Communication API being used: SOCKETS. Location where the error was detected: T4Agent.sendRequest().
Communication function detecting the error: OutputStream.flush(). Protocol specific error codes Connection reset by peer: socket write error, *, 0. Message: Connection reset by peer: socket write error

BUILD FAILED
E:\Program Files\IBM\JazzGDE\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59: javax.wvcm.WvcmException: Synchronization failed.

Total time: 167 minutes 31 seconds
Build failed. Exit value was 1.

6 answers



permanent link
Matt Lavin (2.7k2) | answered Jul 10 '08, 8:20 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
You are right about the connection problem. It looks like you are losing your connection to the DB2 server that you are using to hold your Jazz data.

Have you checked the DB2 logs to see if there is anything wrong with the DB2 server?

permanent link
Geoffrey Clemm (30.1k33035) | answered Jul 10 '08, 9:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi Gary,

When you say 1GB of data, was this one big (1GB) file, or lots of files
that added up to 1GB of content?

Cheers,
Geoff

gdang wrote:
When trying to import 1GB of data from ClearCase to RTC, sync failed
after 167 minutes. It seems to be a connection issue. Any comment
on how to avoid such errors? Thanks.

Creating file: TE584-A238 Linking Requirement to Business
Process TCER.xls.xls
Synchronization exception: Could not find an item with the
clone value:
com.ibm.team.links.internal.links.impl.ReferenceImpl@723c723c
(internalId: <unset>) (uri:
oid%3Aed8aee8a.21154b51.90ea.73%3A39%3A32%3A75%3A8f%3Aea%40vobuuid%3Ade0a79f2.1a8646f6.97bd.d7%3Ab6%3A91%3A05%3Acb%3Ac2,
referenceType: URI_REFERENCE, comment: , referenceSide: <unset>,
extraInfo: null)

Caused by: CRJAZ1037I Failing query -

AuditableLinkQueryModel r = AuditableLinkQueryModel.ROOT;
AstQuery q = (AstQuery)
IItemQuery.FACTORY.newInstance(r);
q.distinct();

q.filter(r.name()._eq(q.newStringArg())._and(r.targetRef().uri()._in(new
IString[] {q.newStringArg()})));

Caused by: CRJAZ0368I Error executing query
stmt = select distinct t1.ITEM_ID, t1.STATE_ID from
LINKS.AUDITABLE_LINK t1 where ((t1.NAME_COL = ?) and
t1.TARGET_REF_URI in(?))

Caused by: A
communication error has been detected. Communication protocol being
used: TCP/IP.
Communication API being used: SOCKETS. Location where the
error was detected: T4Agent.sendRequest().
Communication function detecting the error:
OutputStream.flush(). Protocol specific error codes Connection reset
by peer: socket write error, *, 0. Message: Connection reset by peer:
socket write error

BUILD FAILED
E:\Program
Files\IBM\JazzGDE\ClearCaseConnector\ccctools\ScmConnectors\synchronizeStream.xml:59:
javax.wvcm.WvcmException: Synchronization failed.

Total time: 167 minutes 31 seconds
Build failed. Exit value was 1.

permanent link
Gary Dang (59328755) | answered Jul 10 '08, 2:36 p.m.
There are about 1500 files on over 200 folders/sub-folders. Some of the folders and files had been successfully imported before the failure.

permanent link
Yanzhuang Li (31134126) | answered Jul 25 '08, 12:42 a.m.
Thanks, Matt.

Which log files on DB2 side should we look at? Thanks.

permanent link
Matt Lavin (2.7k2) | answered Jul 28 '08, 10:57 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
Unfortunately, I don't know much about diagnosing DB2 errors. Perhaps
the DB2 documentation could point you at the log files, or somebody else
on the forum could help diagnose the problem.

yanli wrote:
Thanks, Matt.

Which log files on DB2 side should we look at? Thanks.

permanent link
Dmitry Karasik (1.8k11) | answered Jul 28 '08, 12:23 p.m.
JAZZ DEVELOPER
On Fri, 25 Jul 2008 04:47:50 +0000, yanli wrote:

Thanks, Matt.

Which log files on DB2 side should we look at? Thanks.

You can try looking at db2diag output around the time of the disconnect
to see what the DB2 server was doing.

- Dmitry

Your answer


Register or to post your answer.