It's all about the answers!

Ask a question

Authentication error while starting the Build Engine


Johnson David (2621416) | asked Jul 07 '09, 2:43 p.m.
Hi Guys,

I am having a problem while starting the Build Engine through command line interface. I have installed the build toolkit in my machine.

C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildengine\eclipse>jbe -repos
itory https://jazzsand11.lexma.ibm.com:9911/jazz/ -userId <IBMIntranetid>
-pass <Intranetpassowrd> -engineId <BuildEngine>
2009-07-07 23:57:43 Running build loop...
2009-07-07 23:57:43 Waiting for request...
2009-07-07 23:57:51 CRRTC3523W: Authentication failed: CRJAZ
0100I A password must be supplied.

Eventhough i supplied correct password, its giving the above error. I have used my IBM Intranet id and password. Can you guys please help ?

Thanks in advance!!!

7 answers



permanent link
Nick Edgar (6.5k711) | answered Jul 07 '09, 4:39 p.m.
JAZZ DEVELOPER
I had a chat with Johnson, and we were able to narrow down the problem. He had a Sun 1.5.0 SR11 JDK installed. When we specified the RTC 1.0 client JDK directly, it worked OK, for example:
jre -repository {repo url} -userId {user id} -pass {password} -engineId {engine id} -vm {path_to_rtc_client\eclipse\jdk\java}

This is the recommended way of running jbe (see https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK), but I'm still surprised by this behaviour and will investigate further.

permanent link
Johnson David (2621416) | answered Jul 09 '09, 7:56 a.m.
Thank you so much Nick!!

permanent link
Frederic Mora (13811518) | answered Jul 14 '09, 3:18 p.m.
I had the same problem on a Linux RHEL5 machine. I started the jbe as per the tutorial and got:

INFO: Retrying request

2009-07-14 14:52:58 [Jazz build engine] CRRTC3528E: Error logging in to repository https://localhost:9443/jazz/ with user id: build
2009-07-14 14:52:58 [Jazz build engine] CRRTC3524W: Repository connection failed: CRJAZ0099I HTTP error "java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty" accessing URL "https://localhost:9443/jazz/service/com.ibm.team.repository.common.internal.IRepositoryRemoteService".


After a long search, I found this:

https://jazz.net/wiki/bin/view/Main/BuildFAQ#WhichJDK

Turns out that it's the same solution under Linux: use the JVM that came with the RTC Eclipse client by adding the "-vm /path/to/RTC/client/java/prog" option to the jbe command line.

The full jbe command line is:

./jbe -vm /opt/IBM/TeamConcert/jdk/bin/java -repository https://localhost:9443/jazz -userId build -pass build -engineId junit -sleeptime 5

(in the case of a local install in the /opt/IBM dir).

I hope the next unlucky guy will be able to get straight to this post by googling for the error message IDs, which the above-referenced FAQ does not include.

Hey, IBM, what's the point of these error IDs if you cannot find them online?

permanent link
Nick Edgar (6.5k711) | answered Jul 14 '09, 3:35 p.m.
JAZZ DEVELOPER
Frederic, what is your default JDK? i.e. what do you get for 'java -version' when run from the same directory as jbe? Also, is it a full JDK or just a JRE?

permanent link
Nick Edgar (6.5k711) | answered Jul 14 '09, 3:37 p.m.
JAZZ DEVELOPER
Also, I've asked one of our support folks to look into the issue you raise about improving the findability of error codes (and recommended solutions).

permanent link
Christophe Elek (2.9k13021) | answered Jul 15 '09, 3:19 a.m.
JAZZ DEVELOPER

I hope the next unlucky guy will be able to get straight to this post by googling for the error message IDs, which the above-referenced FAQ does not include.

Hey, IBM, what's the point of these error IDs if you cannot find them online?


Hey Frederic,
1) I checked, google now finds this post for CRRTC3528E and CRRTC3524W
2) The goal is exactly what you expect (being able to google it), unfortunately we do not have answer for each error message ... yet...and we are building our knowledge base day after day.
3) CRJAZ0099I is problematic as it is a client catch all ID. (work item 85331) I will work on that

permanent link
Nick Edgar (6.5k711) | answered Jul 15 '09, 10:50 a.m.
JAZZ DEVELOPER
I've also updated the FAQ entry with the possible error messages:
https://jazz.net/wiki/bin/view/Main/BuildFAQ#AuthError

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.