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. |
Comments
The error seen from JTS side is this: