CLM 5.0.2 Upgrade: RM upgrade fails
I am working on upgrading Rational CLM from v4.0.1 to v5.0.2 on a Linux server running RHEL6.3. JTS, CCM, QM upgrade scripts have finished successfully.
RM upgrade will not complete. The url for our rm instance is: http://rrctest.xxxxxxxxxx.com:####/rm/web. When initially prompted on the first run of all upgrade scripts (I believe it was jts upgrade that asked for the input) I mistakenly entered: http://rrctest.xxxxxxxxxx.com:####/rm. After working through some DB errors, the update of the new RM DB appeared to complete. However, the "Finalize RM application" step will not complete. In the first step, Step 0: Update config files, in the log there is the message: CRJAZ1781W The Public URI Root has not been set. Use the server setup wizard to enter the public URI. This property is required to enforce consistent URL management in the application. The public URI represents the URL that all clients must use to access the application.However, in this step the value is created in the .../conf/rm/teamserver.properties file: com.ibm.team.repository.server.webapp.url=https\://rrctest.xxxxxxxxxx.com\:####/rmStep 0 finishes successfully In the next step, Step 1: Add tables, the public URI is confirmed: CRJAZ1970I The application is configured with:Public URI: "https://rrctest.xxxxxxxxxx.com:9999/rm"Step 1 appears to have finished successfully In the step that fails, Step 2: Finalize RM application, the failure message is: CRJAZ2422E An error occurred finalizing the application migration.com.ibm.team.repository.common.TeamRepositoryException: CRJAZ2642E The migration cannot continue because the application being migrated is not registered with the Jazz Team Server that is being converted for use as the application database.The value being referred to is: com.ibm.team.repository.server.webapp.url=https\://rrctest.xxxxxxxxxx.com\:####/rm However, I believe the application is registered as: https\://rrctest.xxxxxxxxxx.com\:####/rm/web I ran the script again. This time in Step 0, when editing the .../conf/rm/teamserver.properties file, I changed the server.webapp.url to: com.ibm.team.repository.server.webapp.url=https\://rrctest.xxxxxxxxxx.com\:####/rm/webThis time, In Step 1: Add tables, the output is filled with "CRJAZ1445E There was an error processing the migration handler named" errors that appear to be a result of this error: CRJAZ1093E The "com.ibm.team.repository.service.internal.BaseServerDescriptionService" feature could not start.com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1126I The service "com.ibm.team.repository.service.internal.BaseServerDescriptionService" has some invalid configuration properties. CRJAZ1125I The configuration property value "https://rrctest.xxxxxxxxxx.com:9999/rm/web" is not valid for the property "server.webapp.url".Despite the errors, the step completes with success. However, the upgrade ultimately fails in the final step with the same error: CRJAZ1093E The "com.ibm.team.repository.service.internal.BaseServerDescriptionService" feature could not start.com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1126I The service "com.ibm.team.repository.service.internal.BaseServerDescriptionService" has some invalid configuration properties. CRJAZ1125I The configuration property value "https://rrctest.xxxxxxxxxx.com:9999/rm/web" is not valid for the property "server.webapp.url". CRJAZ2118E The URI property specified as "https://rrctest.xxxxxxxxxx.com:9999/rm/web" must contain exactly one non-empty path segment.How can I get past this problem and complete the RM upgrade scripts? |
One answer
I'm not sure exactly how to recover from your present situation, but I will say this based on my installation of 5.0.2:
The public uri should be of the form https://clmwb.ibm.com:9443/rm (ie, it should not include /web at the end). Likewise for the teamserver.properties setting:
com.ibm.team.repository.server.webapp.url=https\://clmwb.ibm.com\:9443/rm
As the error message notes, the public uri should have one path segment. In the case of RM prior to 5.0, this would have likely been "jts" (the default). With the 5.0 release, RDNG now has it's own storage area rather than using/sharing the jts database thus the default would now be "rm".
Unless I'm totally mistaken, com.ibm.team.repository.server.webapp.url is the property file entry for the public uri. They are one and the same.
|
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.