Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC->CC sync blocked by error

I'm trying to set up the RTC -> CC (strictly going from RTC to Clearcase) sync, but this error is stopping me cold

javax.wvcm.WvcmException: Failure while trying to execute cleartool command:
 
cleartool ln -nc V:\DO_NOT_USE_a311955_wrg_13.03_rtc_sync/ws_ips\ips\ipsWebApp\resources\source\main\com@@\ V:/DO_NOT_USE_a311955_wrg_13.03_rtc_sync/ws_ips/ips/ipsWebApp/resources/source/com

cleartool: Error: Cannot link directory "V:\DO_NOT_USE_a311955_wrg_13.03_rtc_sync/ws_ips\ips\ipsWebApp\resources\source\main\com@@\".

current working directory: V:\DO_NOT_USE_a311955_wrg_13.03_rtc_sync
command result status: 1
command duration: 239 ms
process environment:

    at com.ibm.rational.wvcm.ct.CommandResult.assertSuccess(CommandResult.java:90)
    at com.ibm.rational.wvcm.ct.CommandProvider.execute(CommandProvider.java:215)
    at com.ibm.rational.wvcm.ct.CommandProvider.execute(CommandProvider.java:185)
    at com.ibm.rational.wvcm.ct.CCaseLib.link(CCaseLib.java:3126)
    at com.ibm.rational.wvcm.ct.CCaseLib.fixInvisibleElementPaths(CCaseLib.java:5110)
    at com.ibm.rational.wvcm.ct.CTControllableResource.doCreateVersionControlledResource(CTControllableResource.java:570)
    at com.ibm.rational.wvcm.ct.CTProvider.doCreateVersionControlledResource(CTProvider.java:1080)
    at com.ibm.rational.wvcm.ri.impl.WvcmServiceConverter.doCreateVersionControlledResource(WvcmServiceConverter.java:286)
    at com.ibm.rational.wvcm.ri.impl.ControllableResourceImpl.doCreateVersionControlledResource(ControllableResourceImpl.java:91)
    at com.ibm.rational.wvcm.interop.InteropStream.bindVersionHistory(InteropStream.java:1816)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverFolder(InteropStream.java:1570)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverFolder(InteropStream.java:1587)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverFolder(InteropStream.java:1587)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverFolder(InteropStream.java:1587)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverFolder(InteropStream.java:1587)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverFolders(InteropStream.java:1446)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverChanges(InteropStream.java:1391)
    at com.ibm.rational.wvcm.interop.InteropStream.sendoverTree(InteropStream.java:2630)
    at com.ibm.rational.wvcm.interop.InteropStream.createClone(InteropStream.java:3083)
    at com.ibm.rational.wvcm.interop.InteropStream.addCloneRoot(InteropStream.java:3399)
    at com.ibm.rational.wvcm.interop.InteropStream.tryAddCloneRoots(InteropStream.java:3525)
    at com.ibm.rational.wvcm.interop.InteropStream.addCloneRoots(InteropStream.java:3553)
    at com.ibm.rational.wvcm.interop.InteropStream.doOperation(InteropStream.java:4597)
    at com.ibm.team.connector.scm.operations.ConnectorOps.synchronizeStream(ConnectorOps.java:205)

As you can see, it's attempting to create hard links of directories, which is disallowed by Clearcase.

How do I get around this problem?

Thank you.

P.S.

Clearcase version:
ClearCase version 7.0.1 (Thu May 17 09:19:01 2007)
ClearCase version 7.0.1_iFix01 (Wed Sep 19 11:15:35 2007)
ClearCase version 7.0.1.1 (Wed Nov 28 17:43:24 2007)
ClearCase version 7.0.1.1_iFix01 (Tue Feb 12 10:48:57 2008)
ClearCase version 7.0.1.1_iFix02 (Wed May 14 23:53:33 2008)
ClearCase version 7.0.1.2 (Fri Jul 18 12:43:48 2008)
ClearCase version 7.0.1.3 (Wed Nov 19 12:29:56 EST 2008)
ClearCase version 7.0.1.4 (Mon Mar 02 14:30:47 EST 2009)
ClearCase version 7.0.1.5 (Wed May 13 08:00:52 EDT 2009) (7.0.1.05.00_2009B.D090512)
@(#) MVFS version 7.0.1.5 (Thu Feb 19 02:28:34 2009)
cleartool                         7.0.1.5 (Wed May 13 10:30:58 2009)
db_server                         7.0.1.5 (Sat Apr 25 03:43:40 2009)
VOB database schema version: 54

RTC is 3.0.1

0 votes

Comments

We're going to need the dev team to look at this.
I've submitted work item sync from RTC to CC blocked with: cleartool: Error: Cannot link directory  (246277) .



Accepted answer

Permanent link
I think it's worth to try it again with the latest fix pack ( 3.0.1.5 ) or the latest version ( 4.0.1 ) of the ClearCase Synchronizer. A related defect has been fixed in these versions ( The root at "Pathname|..../ClearCase Connector" could not be transferred when exporting (205738) ).

In the mean time, I found another related bug, so we'll track the issue by 246277.
Geoffrey Clemm selected this answer as the correct answer

0 votes

Comments

Note that Masa has confirmed that this problem appears to have been fixed in 3.0.1.5.

I tried 3.0.1.5 just now, and got a client/server version mismatch error.  I'll have to get back to you.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 04 '13, 3:37 p.m.

Question was seen: 4,083 times

Last updated: Jan 10 '13, 5:13 a.m.

Confirmation Cancel Confirm