It's all about the answers!

Ask a question

Problem porting custom application to 5.0: ERROR net.jazz.ajax.service/auth.DelegatedAuthProvider - Unable to find a friend entry for the JTS


Markus Nosse (15112828) | asked Aug 01 '14, 12:20 p.m.
All,

I have a custom application which I have to port from 4.0.2 to 5.0. I followed the procedure described in https://jazz.net/wiki/bin/view/Main/JAFTutorialStepDeploy, of course using the 5.0 JTS. When I start this JTS instance, my custom application installed, it comes up alright and tells me that it is not connected to a Jazz Team Server.

I verified that https://.../custom/scr is accessible and returns correct data, same for /rootservices and /application-about.

Next, I used the admin web UI of my jts (being installed via 5.0 CLM installation manager, having ccm and rm applications running on it) to register my custom application. This worked well, but when the JTS suggests that now would be the time to configure the custom application and finalize setup, things break.

The oauth dance between the jts and the custom application does not complete. From the browser perspective, it looks like an endless loop with the login pop-up being opened and closed over and over again. In the log of the custom application this error is being logged:

ERROR net.jazz.ajax.service/auth.DelegatedAuthProvider    - Unable to find a friend entry for the JTS

in the custom's application teamserver.properties, the following entries indicate that the registration process is not yet complete:

com.ibm.team.repository.setup.registration.pendingOauthConsumer=...
com.ibm.team.repository.setup.registration.pendingJtsFriend=...

The values of these config properties make sense, and refer to the JTS with correct URL, consumer keys, ...

My question now is: how to finalize application registration? I suppose what is in those config properties has to go into the friendsconfig somehow, and I would like to know how that works.

Appreciate any help!
Markus

Be the first one to answer this question!


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.