Actions
Bug #1635
closedSpurious error "License has expired" when multi-threading
Start date:
2012-10-12
Due date:
% Done:
100%
Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
Description
If two threads using the same Configuration attempt to verify the Saxon license key at the same time, a spurious error can occur: "License (serial number XXXX) has expired". The problem arises because the method to load the license file and read its properties is not synchronized. A patch is being created; in the meantime, a workaround is to ensure that the license file is verified before multiple threads are allowed to access a Configuration; this can be forced by calling the method config.isLicensedFeature(8) on the Configuration object.
Please register to edit this issue
Actions