It's all about the answers!

Ask a question

IBM i source dependency reset getting an error


Jim Diephuis (22710) | asked Jan 25 '12, 11:48 a.m.
retagged Jun 23 '12, 5:27 p.m. by Arne Bister (2.6k12832)
When I try to collect dependency data by using the 'Reset source code data' option in the Jazz administrator I get an error and the following messages in the jazz.log file:
2012-01-25 10:34:25,169 WARN adata.collection.service.MetadataCollectionService - CRJZZ0403E Failed to obtain OAuth Token
2012-01-25 10:34:25,187 WARN adata.collection.service.MetadataCollectionService - The user "ADMIN" does not exist in the database
2012-01-25 10:34:29,310 WARN adata.collection.service.MetadataCollectionService - CRJZZ0403E Failed to obtain OAuth Token
2012-01-25 10:34:29,337 WARN adata.collection.service.MetadataCollectionService - The user "ADMIN" does not exist in the database
2012-01-25 10:34:29,676 WARN adata.collection.service.MetadataCollectionService - CRJZZ0403E Failed to obtain OAuth Token
2012-01-25 10:34:29,702 WARN adata.collection.service.MetadataCollectionService - The user "ADMIN" does not exist in the database
2012-01-25 10:34:29,712 WARN adata.collection.service.MetadataCollectionService - CRJZZ0403E Failed to obtain OAuth Token
2012-01-25 10:34:29,719 WARN adata.collection.service.MetadataCollectionService - The user "ADMIN" does not exist in the database
2012-01-25 10:34:36,557 ERROR eam.enterprise.internal.metadata.scan.ScanMetadata - Exception occured while processing file /lab/QRPGLESRCQ/PAYROLLB.RPGLE
2012-01-25 10:34:36,565 ERROR eam.enterprise.internal.metadata.scan.ScanMetadata - Exception = com.ibm.team.repository.common.TeamRepositoryException: Failed to create resource: https://ctctest.rchland.ibm.com:9444/jazz/storage/team_enterprise_user_metadata. Response Status Line: HTTP/1.1 302 Found
2012-01-25 10:34:36,572 ERROR eam.enterprise.internal.metadata.scan.ScanMetadata - Exception message = Failed to create resource: https://ctctest.rchland.ibm.com:9444/jazz/storage/team_enterprise_user_metadata. Response Status Line: HTTP/1.1 302 Found

What do I need to do so it finds an OAuth token? Why is it using ADMIN for the user profile and how do I get it into the database?

One answer



permanent link
Arne Bister (2.6k12832) | answered Jun 23 '12, 5:27 p.m.
JAZZ DEVELOPER
Hi,

The build & dependency for IBM i was enhanced in RTC 4.0 (reusing the architecture in place for z) so you might not encounter your situation in the future. But from your error message it seems to have to do with user setup.
What is your installation setup? Are you running RTC 3.0.x on the IBM i, or just the build agent? I assume ADMIN is not your admin user - did you replace it when running setup for RTC?

- Arne

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.