It's all about the answers!

Ask a question

Error "Cannot nest CFAs" when sharing project


David Ellis (3142) | asked Mar 10 '10, 5:11 a.m.
Hi,

RTC 2.0.0.2 Express-C, with Eclipse client in RAD 7.5.3.

We have a set of projects under folder C:\MyProj\Component1 which I have shared successfully.

Now when I try to share a project directly under C:\MyProj\Component2, into a separate repository component, I get the error:

An internal error occurred during "Sharing Projects".

Cannot nest CFAs C:/MyProj and C:/MyProj/Component1.


I don't know what this means, and it doesn't seem like I was trying to do that, since Component2 is at the same level as Component1, it is not at the project root level.

I have tried deleting Component2 from disk, copying a clean copy of the project, re-importing into Eclipse and sharing again but get the same result.

Thanks, David.

4 answers



permanent link
Michael Valenta (3.7k3) | answered Mar 10 '10, 8:53 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
I should also add that, if you are trying to share the folder
C:/MyProj/Component2 directly, then RTC will pick C:/MyProj as the
desired sandbox and the share will fail since sandboxes cannot be
nested. If this is the case, you may need to disconnect the projects in
C:\MyProj\Component1 and then share the C:/MyProj/Component2. After
this, you can reshare the disconnected projects and the sandbox at
C:\MyProj will be detected and used.

Michael

Michael Valenta wrote:
What this means is that there is a .jazz5 folder in both
C:/MyProj/Component1 and C:/MyProj. Are you trying to share
C:\MyProj\Component2 directly or a subdirectory of that? If it is the
later, delete the C:/MyProj/.jazz5 folder and try it again.

Michael

ellisdp wrote:
Hi,

RTC 2.0.0.2 Express-C, with Eclipse client in RAD 7.5.3.

We have a set of projects under folder C:\MyProj\Component1 which I
have shared successfully.

Now when I try to share a project directly under C:\MyProj\Component2,
into a separate repository component, I get the error:

An internal error occurred during "Sharing
Projects".

Cannot nest CFAs C:/MyProj and
C:/MyProj/Component1.

I don't know what this means, and it doesn't seem like I was trying to
do that, since Component2 is at the same level as Component1, it is
not at the project root level.

I have tried deleting Component2 from disk, copying a clean copy of
the project, re-importing into Eclipse and sharing again but get the
same result.

Thanks, David.

permanent link
Michael Valenta (3.7k3) | answered Mar 10 '10, 8:53 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
What this means is that there is a .jazz5 folder in both
C:/MyProj/Component1 and C:/MyProj. Are you trying to share
C:\MyProj\Component2 directly or a subdirectory of that? If it is the
later, delete the C:/MyProj/.jazz5 folder and try it again.

Michael

ellisdp wrote:
Hi,

RTC 2.0.0.2 Express-C, with Eclipse client in RAD 7.5.3.

We have a set of projects under folder C:\MyProj\Component1 which I
have shared successfully.

Now when I try to share a project directly under C:\MyProj\Component2,
into a separate repository component, I get the error:

An internal error occurred during "Sharing
Projects".

Cannot nest CFAs C:/MyProj and
C:/MyProj/Component1.

I don't know what this means, and it doesn't seem like I was trying to
do that, since Component2 is at the same level as Component1, it is
not at the project root level.

I have tried deleting Component2 from disk, copying a clean copy of
the project, re-importing into Eclipse and sharing again but get the
same result.

Thanks, David.

permanent link
David Ellis (3142) | answered Mar 10 '10, 9:49 a.m.
Thanks, well, I have worked around it by creating another level in my local directory structure, so that it is now:

C:\MyProj\Dummy\Component2

and this allows it to be shared successfully.

permanent link
Walter Mansur (63613017) | answered Mar 18 '10, 9:25 a.m.
Hi David,

We encountered the same issue that you did here. I was given the same advice by Michael and when I did as he suggested, the load operation for the component with the issue was able to complete successfully.

I do have one question. Now that you have created this other level in your local directory structure, did you keep the other components in the original location. That is, is everything working with "Component1" still under C:\MyProj and "Component2" now located under C:\MyProj\Dummy? Just curious since I was able to make the component with the issue stay under the original root folder (i.e., C:\RTC).

By the way, during my research of this issue, I found out that CFA stands for "CommonFileArea". The RTC logs that we collected when this issue came up here had that in several places within the strings that began with "com.ibm".

I opened up Work Item 109274 for this issue. Please feel free to subscribe to it.

Thanks,

-Walter

Thanks, well, I have worked around it by creating another level in my local directory structure, so that it is now:

C:\MyProj\Dummy\Component2

and this allows it to be shared successfully.

Your answer


Register or 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.