It's all about the answers!

Ask a question

Unreachable Repository Workspace


Ankur Sharma (151194) | asked Feb 10 '09, 5:15 a.m.
Hi

I created a repository workspace on Jazz Server A and my eclipse workspace project was in sync with the repository workspace and everything was working fine.
The time when I created this repository workspace on jazz server A, I was also logged into some other test jazz servers B, C and D. Just to make 'Team Artifacts' view a bit cleaner, I deleted some of the unwanted repository workspaces on servers B, C and D. Also I deleted some unwanted repository connection for B, C and D (without logging out of those repository).

The next day when I started RTC, in 'Pending change' view, it showed my all my repository workspaces on jazz server A as 'Unreachable'. (Basically it showed only one component comp under one workspace, to which I check-in the code, and showed it unreachable. It didn't show any other component under this repository workspace which are there in the linked stream.)
I tried logging out/in and restarted RTC as well. Then I tried to load the component comp directly from the 'Team Artifacts' view from My repository workspace. But it showed me the error - " Not connected to Jazz Server B", so I logged into that test jazz server B. Once I did that and tried to load the component again, it showed me error - " Not connected to Jazz Server C ", so I logged into the test jazz server C also. (Although the jazz servers B, C have nothing to do with my repository worksapce on jazz server A. )Then I again tried to load the component again, now its showing me this error -

CRJAZ0215I Item not found: com.ibm.team.scm.common.internal.impl.WorkspaceHandleImpl@44304430 (stateId: <unset>, itemId: [UUID _3MTQkPZ3Ed2VCsYzYSkn2Q], origin: com.ibm.team.repository.client.internal.TeamRepository@b640b64, immutable: <unset>)



For workaround I unloaded my repository workspace and then loaded the repository workspace again (Not the component comp directly, but loaded the whole repository workspace and then chose only one component to load.) Trying to load a single component directly is giving me the error I reported above.

Can anyone help me out in this issue? I have faced this problem one time before as well.

- Ankur

7 answers



permanent link
Ankur Sharma (151194) | answered Feb 10 '09, 5:44 a.m.
Probably I have figured out the reason for this abstract behavior. After applying the workaround stated above, everything was fine. Then I restarted RTC and I found that everything was working well.
But just to check the cause of above problem, I closed two of the projects in my eclipse workspace. Each of these two projects are connected to two different repository workspaces and third project (which is my current project) is connected to third repository workspace. All the repository workspaces are on the same jazz server. After closing the two projects in eclipse workspace when I restarted the RTC again, the same 'unreachable' repository workspace problem was there.
This same condition was also there when I encountered the problem earlier in the day which I forgot to mention in the above post. I had closed two of my projects in my eclipse workspace.
I want someone from jazz team to please comment on this issue or is this some jazz configuration issue.

- Ankur

permanent link
Ankur Sharma (151194) | answered Feb 10 '09, 6:00 a.m.
I guess the 2nd post which I did is not the reason of the problem. Because I faced the problem even when I didnt closed the projects in eclipse workspace.
But this time I restarted RTC and in 'Pending changes' view, it asked me to connect to some repository workspace and choose it to be my desired workspace and everything is again fine. (This is same as option of 'load repository workspace...' from 'Pending changes' view.) So this is better workaround than 'unload-load' workaround.
Also one of my repository connection is to localhost jazz server which is set to automatic login. But usually when I start RTC, local server is not running, so it shows not connected to localhost. Can this be somehow cause of the problem ?
This problem is somewhat of random nature.

- Ankur

permanent link
Ankur Sharma (151194) | answered Feb 10 '09, 11:43 p.m.
I am expecting some replies from jazz SCM team, atleast what does that error message means?

permanent link
Ankur Sharma (151194) | answered Feb 12 '09, 12:00 a.m.
Requesting someone to please reply on this problem

permanent link
Heather Fraser-Dube (4512) | answered Feb 13 '09, 5:28 p.m.
JAZZ DEVELOPER
What has happened is that you loaded some workspaces from the Jazz
servers B, C, D. Then you deleted these workspaces on the server and
they were not unloaded. You also I believe said removed some of the
connections to these servers.

When you started up, the Pending changes view attempted to provide you
with information about incoming and outgoing changes for all the
workspaces you have loaded. However because it could not log into the
jazz servers or because the workspace was deleted, it was not able to
get the information it needs for these workspaces. It tells you about
them because you may have contents from them loaded but makes it clear
that they are unreachable and so you can not undo changes, checkin
changes etc.

You should in the pending changes view unload the workspaces you deleted
from the jazz servers. For remaining workspaces you are interested in
to be reachable, you must be logged into the jazz server that they are
defined on.

If you believe there was a problem with wrong workspace being
unreachable, please raise us a defect on jazz.net with detailed steps on
how to reproduce.

Thanks, Heather

askankur wrote:
Requesting someone to please reply on this problem

permanent link
Ankur Sharma (151194) | answered Feb 16 '09, 12:07 a.m.
Hi Heather

Thanks for looking into this problem.

Just to make some points clear, I neither deleted repository connection of Jazz Server A nor did I deleted my repository worksapces on Jazz Server A. Every time when I start RTC, I am also able to log into the jazz server A and can do all the operations. But it shows my Repository workspaces on A as unreachable in pending change view. So I do some 'workaround' every time so that atleast it starts showing me that this repository workspace is linked to my local eclipse project and shows me pending changes and allows me to check in & deliver my changes.

But in order to know the cause of problem I just tried some of the options and found that it shows me error when I try to load the component from my local repository workspace. (Although the same component is already loaded in my eclipse workspace, but trying to load it again should not result in any errors.) This is error shown to me
CRJAZ0215I Item not found: com.ibm.team.scm.common.internal.impl.WorkspaceHandleImpl@67d467d4 (stateId: <unset>, itemId: [UUID _3MTQkPZ3Ed2VCsYzYSkn2Q], origin: com.ibm.team.repository.client.internal.TeamRepository@2eec2eec, immutable: <unset>)


Please note that this error is shown even after I apply the workaround and be able to checkin the code in the component. I believe it won't be easy for me to reproduce these step, but doesn't this error give any clue about the problem.


When you started up, the Pending changes view attempted to provide you with information about incoming and outgoing changes for all the workspaces you have loaded. However because it could not log into the jazz servers or because the workspace was deleted, it was not able to get the information it needs for these workspaces.It tells you about them because you may have contents from them loaded but makes it clear that they are unreachable and so you can not undo changes, checkin changes etc.
You should in the pending changes view unload the workspaces you deleted from the jazz servers.


I didn't have any contents loaded from any other repository workspaces which I deleted.

For remaining workspaces you are interested in to be reachable, you must be logged into the jazz server that they are defined on.


As I told earlier I am logged into the server already and infact after applying the workaround I am able to reach to the repository workspace also.

For workaronud I follow these steps:
From 'Pending changes' View menu select 'Load Repository workspace...' option. It opens a window showing me the my repository workspaces on jazz server A, I choose on of them, click OK. Next it asks me - 'options for Loading all the projects within the components. Select how project folders are defined', But instead of clicking Next I just click Cancel. This shows my repository workspace as reachable and I am able to checkin the changes now.
But still the error is shown if I try to load the component from my repository workspace. Also note that there is no error if I try to load the whole repository workspace.

- Ankur

permanent link
Ankur Sharma (151194) | answered Feb 20 '09, 12:49 a.m.

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.