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

Invalid username or password with plain java client API

 Hi,

I developed an application in which I need to connect to the RTC. I tested the connection with a server install in localhost, no problem, I can connect me and see my project Areas. 

Now I try to connect to the real server (not local) and I get the following error (AuthenticationException) CRJAZ20124I Ivalid username or password. 

The error comes from (TeamRepository.class) : 

internalLogin (new SubProgressMonitor (monitor, IprogressMonitor.UNKNOWN)); 
monitor.worked (1); 

In my code I get well IteamRepository element from the repository URI (so there is an interaction with the server). 

The code to authenticate me was recovered on the page https://jazz.net/library/article/1229 

If you can help me 

Regards

Jérémy

0 votes



One answer

Permanent link
what userid and password do you use to connect to the production server?

the only time any of my plain java api code gets that error, I made a mistake with the userid or password

the accepted answer here has a utility of mine that dumps the contents of workitems returned for a saved query
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes

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
× 10,927
× 30
× 18
× 3

Question asked: Nov 04 '14, 9:20 a.m.

Question was seen: 4,614 times

Last updated: Nov 04 '14, 1:12 p.m.

Confirmation Cancel Confirm