createPasswordFile creates an XML file
Hi all,
*** RTC server version is 6.0 iFix003 ***
*** jbe.exe doesn't have a version number, but it's dated 5/19/2015 ***
We periodically change our password for the build user, and use the -createPasswordFile option to encrypt it.
Up until the last time we created it (about 3-4 months ago) the password file contained only the password itself, encrypted, 24 characters long.
But now, the command produced an XML file that looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"><properties><comment>4.0</comment><entry key="password">*****************************</entry></properties>
Personally I don't have any problem with it, but when trying to re-run old build, we're getting this error:
com.ibm.team.repository.common.TeamRepositoryException: Unable to get password from passwordFile "C:\PATH\FILENAME.txt"
Stripping the XML to contain only the password, doesn't work, we get "wrong credentials" error.
Does anyone have any clue about this, and how can it be fixed?
Thanks, Yaniv
One answer
After a lot of digging through old downloads I have determined that the cut over to XML format for the password file is RTC 4.0.x.
I located a 3.0.1.6 copy of the Jazz Build Engine and running the following:
creates a file containing a single line of what appears to be Base64 encoded text.
Running the same command with a version 4.0.0.1 JBE generates an XML file as you described in the original post.
From this experiment my determination is that the JBE that is being launched by your "JBE-Listener" is from a version prior to RTC version 4.0.
It's not a good idea to be using clients that are more than 1 version older than a server so if you are connecting to RTC 6.0 servers you need to upgrade your jazz build engines to RTC 5.0 at a minimum.
(Note: RTC version 2.x and RTC version 3.x have reached end of life and are no longer supported by IBM)
I conclude that the "JBE_Listener" tool is launching an old version of JBE (3.0 or older) and as "JBE_Listener" is not part of the CLM Build System Toolkit you will need to locate the author of that tool and have them rework it so it launches a compatible version of JBE.
I located a 3.0.1.6 copy of the Jazz Build Engine and running the following:
jbe -createPasswordFile pw.txt
creates a file containing a single line of what appears to be Base64 encoded text.
Running the same command with a version 4.0.0.1 JBE generates an XML file as you described in the original post.
From this experiment my determination is that the JBE that is being launched by your "JBE-Listener" is from a version prior to RTC version 4.0.
It's not a good idea to be using clients that are more than 1 version older than a server so if you are connecting to RTC 6.0 servers you need to upgrade your jazz build engines to RTC 5.0 at a minimum.
(Note: RTC version 2.x and RTC version 3.x have reached end of life and are no longer supported by IBM)
I conclude that the "JBE_Listener" tool is launching an old version of JBE (3.0 or older) and as "JBE_Listener" is not part of the CLM Build System Toolkit you will need to locate the author of that tool and have them rework it so it launches a compatible version of JBE.
Comments
Lakshmi Narasimhan T V
JAZZ DEVELOPER Oct 18 '16, 5:02 a.m.Yaniv Nili
Oct 18 '16, 5:02 a.m.Yaniv Nili
Oct 18 '16, 5:13 a.m.