Why is CLM 6.0.2 repotools_jts.sh -setup SNAFU-ed by a "General Authentication" error with localhost:9443
In automated download, deployment, installation, and setup of CLM 6.0.2, I frequently (I can't recall if "always") encounter this error when running ./repotools_jts.sh -setup <with admin credentials>:
Repo Tools Provisioning using "./conf/jts/provision_profiles". CRJAZ2906E The following URL could not be reached because of a general authentication error: https://localhost:9443/jts
I cannot track down what is causing repotools_jts to believe that the credentials are not appropriate. The setup is attempted directly after installation of the files after the CLM services are up and running. The website for JTS is accessible both at its public external address and through the https://localhost:9443/jts address. Client browsers can run through the web setup and curl/wget on the server can access the JTS website.
For this particular installation, the databases are all on an external DB2 server that has been prepped with the necessary Databases (but may or may not have existing Tables for Jazz). However, I ran into the same issue when attempting to use the OOTB Derby services.
What should I investigate to determine why the shell script cannot gain access?
One answer
Attempting an interactive setup through the web UI gave me a clue to what may be the problem.
The db2 server is not always recreated from scratch on each deployment trial. It may have Tables for JTS from a prior attempt.
Our teamserver.properties files DO NOT record the RepoLockId -- as this would only be applicable for one particular installation and not for automated installation of serveral deployments.
Therefore, at repotools-jts.sh -setup time, it can happen that the setup script encounters a JTS database which has a RepoLockId while the provided teamserver.properties file does not have RepoLockId parameter value.
If this is indeed the problem -- and a repotools-jts.sh --resetRepoLockId exercise suggests that it is -- then the warning message for CRJAZ2906E should be changed to "JTS setup cannot be attempted without a RepoLockId property in teamserver.properties for a JTS Database which already contains a RepoLockId with value ABCDEF12345."
That would be immediately useful versus the current ambiguous remark about connectivity issues.
That would be immediately useful versus the current ambiguous remark about connectivity issues.
Comments
showing 5 of 7
show 2 more comments