Dependendy Build: Property "hostname" has not been set
We're running RTC 4.0.0.1 on a WIN 2008, which integrates (or rather, should integrate) with IBM i.
Password file has been created on IBM i, with ID and PW that can access RTC. So far so good.
When running the Dependency Build, I get this:
.....
.....
Setting project property: team.enterprise.build.start.time -> 1362069639148
* Property "hostname" has not been set
* Property "userid" has not been set
* Property "userpw" has not been set
* Adding reference: SystemInstance
* Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
* Adding reference: ant.executor
* Build sequence for target(s) `all' is [fetch, build, all]
* Complete build sequence is [fetch, build, all, ]
*
* fetch:
* INFO [main] (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled
* INFO [main] (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled
* INFO [main] (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled
*
* BUILD FAILED
* com.ibm.team.repository.common.TeamRepositoryException: Error logging in to repository https://abc.com:9443/jazz/. Verify that the repository address and credentials to log in are correct.
----
Where do I set the three properties:
Property "hostname", Property "userid", Property "userpw" ?
It can't be referring to the passwordfile aka 'jbe.sh -createPasswordFile pass.txt' ?
Password file has been created on IBM i, with ID and PW that can access RTC. So far so good.
When running the Dependency Build, I get this:
.....
.....
Setting project property: team.enterprise.build.start.time -> 1362069639148
* Property "hostname" has not been set
* Property "userid" has not been set
* Property "userpw" has not been set
* Adding reference: SystemInstance
* Attempting to create object of type org.apache.tools.ant.helper.DefaultExecutor
* Adding reference: ant.executor
* Build sequence for target(s) `all' is [fetch, build, all]
* Complete build sequence is [fetch, build, all, ]
*
* fetch:
* INFO [main] (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled
* INFO [main] (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled
* INFO [main] (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled
*
* BUILD FAILED
* com.ibm.team.repository.common.TeamRepositoryException: Error logging in to repository https://abc.com:9443/jazz/. Verify that the repository address and credentials to log in are correct.
----
Where do I set the three properties:
Property "hostname", Property "userid", Property "userpw" ?
It can't be referring to the passwordfile aka 'jbe.sh -createPasswordFile pass.txt' ?
Accepted answer
You can ignore those messages:
* Property "hostname" has not been set
* Property "userid" has not been set
* Property "userpw" has not been set
Even in my builds that I have working I am seeing those messages as well. The properties it is using to try to connect to the repository are the ones JAZZ_USER and JAZZ_PASSWORD_FILE that you specify in the startbfa.sh script to start the build agent. JAZZ_PASSWORD_FILE does refer to a password file created using jbe.
* Property "hostname" has not been set
* Property "userid" has not been set
* Property "userpw" has not been set
Even in my builds that I have working I am seeing those messages as well. The properties it is using to try to connect to the repository are the ones JAZZ_USER and JAZZ_PASSWORD_FILE that you specify in the startbfa.sh script to start the build agent. JAZZ_PASSWORD_FILE does refer to a password file created using jbe.
5 other answers
That's good to know. Thanks.
My JAZZ_USER and JAZZ_PASSWORD_FILE have been specified like you describe. I've just checked the credentials, and I am able to log in using them.
It still complains, for some reason:
BUILD FAILED
* com.ibm.team.repository.common.TeamRepositoryException: Error logging in to repository https://abc.com:9443/jazz/. Verify that the repository address and credentials to log in are correct.
Do I need to define them somewhere else, besides in startbfa.sh ? (credentials are picked up OK, when I look in the build logfile).
My JAZZ_USER and JAZZ_PASSWORD_FILE have been specified like you describe. I've just checked the credentials, and I am able to log in using them.
It still complains, for some reason:
BUILD FAILED
* com.ibm.team.repository.common.TeamRepositoryException: Error logging in to repository https://abc.com:9443/jazz/. Verify that the repository address and credentials to log in are correct.
Do I need to define them somewhere else, besides in startbfa.sh ? (credentials are picked up OK, when I look in the build logfile).
Comments
Well, well. Interesting...
I've just added a Jazz Repository Connection - in the Eclipse client -for the build user defined as JAZZ_USER.
I cannot log on: "...CRJAZ6023E...invalid userid..."
Client info:
Server info:
Why am I able to log on through the web interface, using the same credentials ?
I've just added a Jazz Repository Connection - in the Eclipse client -for the build user defined as JAZZ_USER.
I cannot log on: "...CRJAZ6023E...invalid userid..."
Client info:
Server info:
Why am I able to log on through the web interface, using the same credentials ?