It's all about the answers!

Ask a question

Error : user import


megha mittal (15112615) | asked Mar 22 '12, 6:08 a.m.
Hi,
We are getting a user error when importing users from another system in RTc using item connector framework.

Error occurred:

com.ibm.team.repository.common.LoginFailureException: CRJAZ0698I Can not impersonate archived user "ankshar4@in.ibm.com".

Exception is JTS server logs are:
2012-01-23 11:29:35,785 [ WebContainer : 6] ERROR ibutor.internal.ContributorRecordUpdateRestService - Error processing contributor record PUT from client isljazzrtc.in.ibm.com
com.ibm.team.repository.common.TeamRepositoryException: Failed to find delta predecessor [UUID _O7gU8H_tEd6ZhcznbrHhjQ]
at com.ibm.team.repository.service.internal.db.filestorage.ContentStorage.claimOrConfirmContent(ContentStorage.java:450)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.claimOrConfirmContent(RdbRepositoryDataMediator.java:1199)
at com.ibm.team.repository.service.internal.ContentService.internalPersistAndMaybeCompressStoredContent(ContentService.java:1331)
at com.ibm.team.repository.service.internal.ContentService.saveContent(ContentService.java:1770)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1754)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1732)
at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy275.saveAllContent(Unknown Source)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.saveItemInTxn(RdbRepositoryDataMediator.java:492)
at com.ibm.team.repository.service.internal.RepositoryItemService.doSaveItemInTxn(RepositoryItemService.java:1076)
at com.ibm.team.repository.service.internal.RepositoryItemService.access$10(RepositoryItemService.java:1070)
at com.ibm.team.repository.service.internal.RepositoryItemService$12.run(RepositoryItemService.java:1041)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:312)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:236)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:119)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)


Can someone help me to find out the reason for this error?

3 answers



permanent link
Kim Soederhamn (1.5k34348) | answered Mar 27 '12, 8:17 a.m.
Hi,
We are getting a user error when importing users from another system in RTc using item connector framework.

Error occurred:

com.ibm.team.repository.common.LoginFailureException: CRJAZ0698I Can not impersonate archived user "ankshar4@in.ibm.com".

Exception is JTS server logs are:
2012-01-23 11:29:35,785 [ WebContainer : 6] ERROR ibutor.internal.ContributorRecordUpdateRestService - Error processing contributor record PUT from client isljazzrtc.in.ibm.com
com.ibm.team.repository.common.TeamRepositoryException: Failed to find delta predecessor [UUID _O7gU8H_tEd6ZhcznbrHhjQ]
at com.ibm.team.repository.service.internal.db.filestorage.ContentStorage.claimOrConfirmContent(ContentStorage.java:450)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.claimOrConfirmContent(RdbRepositoryDataMediator.java:1199)
at com.ibm.team.repository.service.internal.ContentService.internalPersistAndMaybeCompressStoredContent(ContentService.java:1331)
at com.ibm.team.repository.service.internal.ContentService.saveContent(ContentService.java:1770)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1754)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1732)
at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy275.saveAllContent(Unknown Source)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.saveItemInTxn(RdbRepositoryDataMediator.java:492)
at com.ibm.team.repository.service.internal.RepositoryItemService.doSaveItemInTxn(RepositoryItemService.java:1076)
at com.ibm.team.repository.service.internal.RepositoryItemService.access$10(RepositoryItemService.java:1070)
at com.ibm.team.repository.service.internal.RepositoryItemService$12.run(RepositoryItemService.java:1041)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:312)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:236)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:119)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)


Can someone help me to find out the reason for this error?


Looks like you are logging in with an archived user when you do your import. Or possibly you are importing an existing user who is archived. User that are archived have no access despite any licenses and group memberships.

permanent link
megha mittal (15112615) | answered Mar 28 '12, 1:13 a.m.
Thanks for replying.Ya we are trying to import user which is archived , but when importing such users we unarchive them and after import we again
archive them and this works well in most of cases on our test servers .
This is a particular case where this error is coming and this error was reported when importing data on our production server .
The situation is as follows :User is removed from LDAP but exists in both systems as archived user.So when we tried to unarchive it , it throws this
error. Does this implies that it contact LDAP when unarchiving users?
My problem is why this error is not there in all such cases.We have ldap configured on our test servers also and when i tried to reproduce same thing
on our test server , it worked fine.

Hi,
We are getting a user error when importing users from another system in RTc using item connector framework.

Error occurred:

com.ibm.team.repository.common.LoginFailureException: CRJAZ0698I Can not impersonate archived user "ankshar4@in.ibm.com".

Exception is JTS server logs are:
2012-01-23 11:29:35,785 [ WebContainer : 6] ERROR ibutor.internal.ContributorRecordUpdateRestService - Error processing contributor record PUT from client isljazzrtc.in.ibm.com
com.ibm.team.repository.common.TeamRepositoryException: Failed to find delta predecessor [UUID _O7gU8H_tEd6ZhcznbrHhjQ]
at com.ibm.team.repository.service.internal.db.filestorage.ContentStorage.claimOrConfirmContent(ContentStorage.java:450)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.claimOrConfirmContent(RdbRepositoryDataMediator.java:1199)
at com.ibm.team.repository.service.internal.ContentService.internalPersistAndMaybeCompressStoredContent(ContentService.java:1331)
at com.ibm.team.repository.service.internal.ContentService.saveContent(ContentService.java:1770)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1754)
at com.ibm.team.repository.service.internal.ContentService.saveAllContent(ContentService.java:1732)
at sun.reflect.GeneratedMethodAccessor263.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:370)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:356)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy275.saveAllContent(Unknown Source)
at com.ibm.team.repository.service.internal.RdbRepositoryDataMediator.saveItemInTxn(RdbRepositoryDataMediator.java:492)
at com.ibm.team.repository.service.internal.RepositoryItemService.doSaveItemInTxn(RepositoryItemService.java:1076)
at com.ibm.team.repository.service.internal.RepositoryItemService.access$10(RepositoryItemService.java:1070)
at com.ibm.team.repository.service.internal.RepositoryItemService$12.run(RepositoryItemService.java:1041)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runTransaction(RepositoryDatabase.java:312)
at com.ibm.team.repository.service.internal.rdb.RepositoryDatabase.runInTransaction(RepositoryDatabase.java:236)
at com.ibm.team.repository.service.internal.TransactionService.runInTransaction(TransactionService.java:119)
at sun.reflect.GeneratedMethodAccessor110.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)


Can someone help me to find out the reason for this error?


Looks like you are logging in with an archived user when you do your import. Or possibly you are importing an existing user who is archived. User that are archived have no access despite any licenses and group memberships.

permanent link
Kim Soederhamn (1.5k34348) | answered Mar 28 '12, 3:44 a.m.
Hi Megha,

Well which user are you logged in as when you try to unarchive this particualr user - the error you get is a LoginFailureException so could be the user running the job is not authenticated. Unless ofcourse the error is caused by the user being unarchived is somehow validated against LDAP. In any case if its only one user that gives you this problem you could temporarily change your authentication mode from LDAP to unsupported and the allow editing userid to true and then rename the user to something else.

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.