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

CRJAZ1244I Not logged in to the repository at URL

Hello everybody, I'm trying to recover changeSets of my project. 

My Code:
ITeamRepository teamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository(rtcURL);
String ctpw = new String(ObfuscationHelper.encryptString(pass));
teamRepository.registerLoginHandler(getLoginHandler(user, ctpw));
IClientLibraryContext ctx = (IClientLibraryContext) teamRepository;
IScmRestService2 svc = (IScmRestService2) ctx.getServiceInterface(IScmRestService2.class);
ParmsGetHistoryPlus parmsGetHistory = new ParmsGetHistoryPlus();
parmsGetHistory.first = "0";
parmsGetHistory.n = "1000";
parmsGetHistory.path = "workspaceId%2F_yJmT0TXOEeOjhIrPD1idRA%2FcomponentId%2F_VafBsNgQEeKs446MAiQB2g";
HistoryPlusDTO historyPlus = svc.getHistoryPlus(parmsGetHistory);


And I am getting the following error :
com.ibm.team.repository.common.NotLoggedInException: CRJAZ1244I Not logged in to the repository at URL Any help is valid.

Sândalo Bessa

0 votes


Accepted answer

Permanent link
 It might be a great idea to actually perform a login after registering the handler. You also want to startup the team platform, if you did not already.

Look at the snippets that come with the plain Java client library. They are in the snippets folder.
Sândalo Bessa selected this answer as the correct answer

0 votes

Comments

Thanks Ralph.

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
× 10,952

Question asked: Aug 05 '15, 11:12 a.m.

Question was seen: 2,363 times

Last updated: Aug 05 '15, 12:52 p.m.

Confirmation Cancel Confirm