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

2.0 to 3.0RC2 Migration: User Synchronization Errors

I migrated a 2.0 repository to 3.0RC2. It looks like all of my work items, source files, builds, etc. migrated successfully. However, I'm having a problem with users in 3.0RC2. The users that were migrated from the 2.0 repository show up in the "jazz" application user admin web page, but not in the "jts" user admin web page. The admin user that I created during the 3.0RC2 setup wizard shows up in both.
In the "jazz" user admin web page, when I open a user record for one of the migrated users, I get the following error:

An error response was received from the Jazz Team Server. Status=400. Message: The ContributorHandle with the "" item ID doesn't match any existing ContributorRecords.

I go ahead and try to assign a Developer license to the migrated user, but trying to save results in the following error:

Saving user failed. ID CRJAZ1534E
Could not find item in mapping table: com.ibm.team.repository.common.model.impl.ContributorRecordHandleImpl@2db52db5 (stateId: null, itemId: , origin: , immutable: )
com.ibm.team.repository.common.TeamRepositoryException

...followed by the usual ton of unintelligible (at least to me) java errors.

Any idea how to get the "jazz" and "jts" user records synchronized?

Thanks in advance...

0 votes



4 answers

Permanent link
You need to run through few migration commands to create the users in the JTS repository. See https://jazz.net/wiki/bin/view/Main/RTCtoCCM30MigrationSteps on the list of migration steps you need to run to create the JTS repository.

--- Balaji
Jazz Server Team

I migrated a 2.0 repository to 3.0RC2. It looks like all of my work items, source files, builds, etc. migrated successfully. However, I'm having a problem with users in 3.0RC2. The users that were migrated from the 2.0 repository show up in the "jazz" application user admin web page, but not in the "jts" user admin web page. The admin user that I created during the 3.0RC2 setup wizard shows up in both.
In the "jazz" user admin web page, when I open a user record for one of the migrated users, I get the following error:

An error response was received from the Jazz Team Server. Status=400. Message: The ContributorHandle with the "" item ID doesn't match any existing ContributorRecords.

I go ahead and try to assign a Developer license to the migrated user, but trying to save results in the following error:

Saving user failed. ID CRJAZ1534E
Could not find item in mapping table: com.ibm.team.repository.common.model.impl.ContributorRecordHandleImpl@2db52db5 (stateId: null, itemId: , origin: , immutable: )
com.ibm.team.repository.common.TeamRepositoryException

...followed by the usual ton of unintelligible (at least to me) java errors.

Any idea how to get the "jazz" and "jts" user records synchronized?

Thanks in advance...

0 votes


Permanent link
Balaji -
Thanks for the response. I did go through those steps, and I'm confident that I didn't miss anything obvious. The tomcat-users.xml file was moved, and a merge was done on the server.xml file. I tried comparing the server.xml files but really don't know what I'm looking at... There is some guidance there which says "It is critical that you verify the contents of the merged files" but that would presume that you know what the content of these files should be!

Can you give me any more guidance on what might have gone wrong to have the "jazz" and "jts" user databases out of sync?

Thanks,
Jim

You need to run through few migration commands to create the users in the JTS repository. See https://jazz.net/wiki/bin/view/Main/RTCtoCCM30MigrationSteps on the list of migration steps you need to run to create the JTS repository.

--- Balaji
Jazz Server Team

0 votes


Permanent link
I resolved this problem with the help of @wasleski. Since this was a standalone test system, I did not have the public URL set in my 2.0.0.2 environment before beginning the migration process. This caused failures further down the path, although they were apparently not severe enough to cause the migration script to error out. The migration document (https://jazz.net/wiki/bin/view/Main/RTCtoCCM30MigrationSteps) has been updated to more explicitly define this (and a couple other) key requirements in the process.

0 votes


Permanent link
There were also couple of additional similar issues in further versions e.g. https://jazz.net/forum/questions/131495/ccm-users-and-jts-users-out-of-sync. The general recommendation is creating new PMR for the support.

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: Oct 26 '10, 3:31 p.m.

Question was seen: 5,319 times

Last updated: Oct 22 '13, 12:22 p.m.

Confirmation Cancel Confirm