It's all about the answers!

Ask a question

Code import from ClearCase to RTC


Zica Valsan (10124745) | asked Feb 17 '11, 9:08 a.m.
I tried to import code from ClearCase to RTC using the Synchronization Process.
I have an admin account on CC and RTC.
The synchronization host is on the same location with the VOB. The code needs to be imported is on different location.
On the sync machine there are: a CC client, CC connector and an RTC client.
I used my own account with the above mentioned rights.
The size of the data to be imported is about 7GB.
The import ended with some error messages: "Completed" in red and 11 logs. 8 logs were error messages.

I post one of the error in the first log file:
javax.wvcm.WvcmException: Could not read file at location: "M:/DO_NOT_USE_2.1.1_import_2_58ec084d-be01-42d4-8de5-158f802e7234/caslibs/./wsas/deploytool/itp/plugins/org.eclipse.jst.common.project.facet.core.nl1_1.0.1.v200604261440.jar@@/main/dev_int/1" with pathname "M:/DO_NOT_USE_2.1.1_import_2_58ec084d-be01-42d4-8de5-158f802e7234/caslibs/./wsas/deploytool/itp/plugins/org.eclipse.jst.common.project.facet.core.nl1_1.0.1.v200604261440.jar@@/main/dev_int/1"
at com.ibm.rational.wvcm.ct.CTResource.readContentInternalUsingPathname(CTResource.java:218)
at com.ibm.rational.wvcm.ct.CTVersion.doReadContent(CTVersion.java:108)
at com.ibm.rational.wvcm.ri.srvc.SrvcResource.doReadContent(SrvcResource.java:1515)
at com.ibm.rational.wvcm.ri.impl.WvcmServiceConverter.doReadContent(WvcmServiceConverter.java:633)
at com.ibm.rational.wvcm.ri.impl.ResourceImpl.doReadContent(ResourceImpl.java:268)
at com.ibm.rational.wvcm.interop.InteropStream$ContentReader.run(InteropStream.java:1834)
Caused by: java.io.FileNotFoundException: M:\DO_NOT_USE_2.1.1_import_2_58ec084d-be01-42d4-8de5-158f802e7234\caslibs\.\wsas\deploytool\itp\plugins\org.eclipse.jst.common.project.facet.core.nl1_1.0.1.v200604261440.jar@@\main\dev_int\1 (Incorrect function.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at java.io.FileInputStream.<init>(FileInputStream.java:95)
at com.ibm.rational.wvcm.ct.CTResource.readContentInternalUsingPathname(CTResource.java:211)
... 5 more


There are 8 files which coudn't be read according to the logs.
BUT, the files are perfectly ok, I can read/open them.
Moreover, I tried to import them and everything worked fine without any problem. Any idea about the error?


Moreover, I'm wondering if those files mentioned in the log were the only one which couldn't be imported. I didn't get the log file: synchroniedFilesAfterSync.txt
How do I make sure that they are the only missing? Or better said, how do I check data consistency between CC and RTC?

Thank you,
Zica

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 18 '11, 1:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The first thing I would check for are ClearCase errors on your sync host
.... that is usually the problem when you see an error likes this (the
Synchronizer bombards ClearCase with lots of cleartool commands, which
will expose any weaknesses in your ClearCase setup).

But for an error like this, you'll want/need to work directly with
Rational support, because they'll probably need to help you troubleshoot.

To do an independent check of whether anything else failed, beyond the
ones reported, just use one of the file system compare tools, and
compare the tree of files in the RTC sandbox with the tree of files in
the ClearCase view.

Cheers,
Geoff


On 2/17/2011 9:23 AM, zvalsan wrote:
I tried to import code from ClearCase to RTC using the Synchronization
Process.
I have an admin account on CC and RTC.
The synchronization host is on the same location with the VOB. The
code needs to be imported is on different location.
On the sync machine there are: a CC client, CC connector and an RTC
client.
I used my own account with the above mentioned rights.
The size of the data to be imported is about 7GB.
The import ended with some error messages: "Completed" in
red and 11 logs. 8 logs were error messages.

I post one of the error in the first log file:
javax.wvcm.WvcmException: Could not read file at location:
"M:/DO_NOT_USE_2.1.1_import_2_58ec084d-be01-42d4-8de5-158f802e7234/caslibs/./wsas/deploytool/itp/plugins/org.eclipse.jst.common.project.facet.core.nl1_1.0.1.v200604261440.jar@@/main/dev_int/1"
with pathname
"M:/DO_NOT_USE_2.1.1_import_2_58ec084d-be01-42d4-8de5-158f802e7234/caslibs/./wsas/deploytool/itp/plugins/org.eclipse.jst.common.project.facet.core.nl1_1.0.1.v200604261440.jar@@/main/dev_int/1"
at
com.ibm.rational.wvcm.ct.CTResource.readContentInternalUsingPathname(CTResource.java:218)
at
com.ibm.rational.wvcm.ct.CTVersion.doReadContent(CTVersion.java:108)
at
com.ibm.rational.wvcm.ri.srvc.SrvcResource.doReadContent(SrvcResource.java:1515)
at
com.ibm.rational.wvcm.ri.impl.WvcmServiceConverter.doReadContent(WvcmServiceConverter.java:633)
at
com.ibm.rational.wvcm.ri.impl.ResourceImpl.doReadContent(ResourceImpl.java:268)
at
com.ibm.rational.wvcm.interop.InteropStream$ContentReader.run(InteropStream.java:1834)
Caused by: java.io.FileNotFoundException:
M:\DO_NOT_USE_2.1.1_import_2_58ec084d-be01-42d4-8de5-158f802e7234\caslibs\.\wsas\deploytool\itp\plugins\org.eclipse.jst.common.project.facet.core.nl1_1.0.1.v200604261440.jar@@\main\dev_int\1
(Incorrect function.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:135)
at java.io.FileInputStream.<init>(FileInputStream.java:95)
at
com.ibm.rational.wvcm.ct.CTResource.readContentInternalUsingPathname(CTResource.java:211)
... 5 more


There are 8 files which coudn't be read according to the logs.
BUT, the files are perfectly ok, I can read/open them.
Moreover, I tried to import them and everything worked fine without
any problem. Any idea about the error?


Moreover, I'm wondering if those files mentioned in the log were the
only one which couldn't be imported. I didn't get the log file:
synchroniedFilesAfterSync.txt
How do I make sure that they are the only missing? Or better said, how
do I check data consistency between CC and RTC?

Thank you,
Zica

permanent link
Zica Valsan (10124745) | answered Feb 23 '11, 5:33 a.m.
Thank you Geoff for the info. I opened a PMR on this.

Your answer


Register or to post your answer.