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

Code import from ClearCase to RTC

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

0 votes



2 answers

Permanent link
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

0 votes


Permanent link
Thank you Geoff for the info. I opened a PMR on this.

0 votes

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: Feb 17 '11, 9:08 a.m.

Question was seen: 7,232 times

Last updated: Feb 17 '11, 9:08 a.m.

Confirmation Cancel Confirm