Project

Profile

Help

Bug #1635

closed

Spurious error "License has expired" when multi-threading

Added by Michael Kay over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internals
Sprint/Milestone:
-
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

Also available in: Atom PDF