After upgrade JTS log is constantly rotated with license errors
After upgrading from 4.x to 5.x we see the following error in jts.log the log is constantly filled with this error and rotated. We are using floating token licenses
2014-11-28 08:48:48,693 [WebContainer : 10 @@ 08:48 <unauthenticated> /jts/service/com.ibm.team.repository.service.internal.license.ILicenseRestService/licenseTypes] ERROR vice.internal.license.MergedContributorLicenseType - CRJAZ2581E CAL policy files cannot be merged if the two policies have different values for the "countedInServerLimit" attribute. com.ibm.team.repository.service.internal.license.LicenseKeyMergeException: CRJAZ2581E CAL policy files cannot be merged if the two policies have different values for the "countedInServerLimit" attribute. at com.ibm.team.repository.service.internal.license.MergedContributorLicenseType.createConflictingValueException(MergedContributorLicenseType.java:337) at com.ibm.team.repository.service.internal.license.MergedContributorLicenseType.assertEqual(MergedContributorLicenseType.java:166) at com.ibm.team.repository.service.internal.license.MergedContributorLicenseType.assertValidMerge(MergedContributorLicenseType.java:116) at com.ibm.team.repository.service.internal.license.MergedContributorLicenseType.<init>(MergedContributorLicenseType.java:60) at com.ibm.team.repository.service.internal.license.MergedContributorLicenseType.addKeyToType(MergedContributorLicenseType.java:51) at com.ibm.team.repository.service.internal.license.LicenseState.processPolicy(LicenseState.java:500) The reson for this behaviour is that we have both the version 4 and version 5 of the floating token licenses in the system. Thinking version 5 would automatically replace the version 4. To fix the error you on the license key management page you must scroll down to the floating licenses and remove the old version 4 licenses (delete them on the red x). when all old licenses are removed the log will go back to normal. |
One answer
thanks for sharing the info, you will need to manually remove the 4.x license.
Comments
Frank Ning
commented Feb 19 '15, 12:29 p.m.
I don't have any 4.x licenses but purely V5 licenses. However, I got the same error:
2015-02-19 11:52:11,832 [WebContainer : 13 @@ 11:52 frank.ning /jts/service/com.ibm.team.repository.service.internal.ILicenseAdminRestService/licenseInfo] ERROR vice.internal.license.MergedContributorLicens
eType - CRJAZ2581E CAL policy files cannot be merged if the two policies have different values for the "tokenCost" attribute.
com.ibm.team.repository.service.internal.license.LicenseKeyMergeException: CRJAZ2581E CAL policy files cannot be merged if the two policies have different values for the "tokenCost" attribute.
at com.ibm.team.repository.service.internal.license.MergedContributorLicenseType.createConflictingValueException(MergedContributorLicenseType.java:337)
at com.ibm.team.repository.service.internal.license.MergedContributorLicenseType.assertEqual(MergedContributorLicenseType.java:166)
... more
|
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.
Comments
The error seen from JTS side is this: