HI,
yesterday you released a new version of LexActivator for Java which supports now Linux ARMv7 Raspberry PI. Native library now indeed present and API calls can be performed.
The only thing is that same license is not activating when code runs on ARMv7.
We run our software inside docker container and If I run it inside docker container on x86 or arm64 platform activation works perfectly, but on arm raspberry pi I got activation status 20 (translated to LexActivator.LA_EXPIRED) as response to call to LexActivator.ActivateLicense()
In dashboard I see that activations present for all 3 platforms for same license.
And I don’t see any difference in fields for those activations.
Can you help to find the problem ? is it problem with library ? or some other issue on arm platform ?
Here is the part of code which checks license and does activation:
LexActivator.SetProductData(productDat)
LexActivator.SetProductId(productId, LexActivator.LA_USER)
log.info(s"using license ${licenseString}")
LexActivator.SetLicenseKey(licenseString)
val tmpStatus = LexActivator.IsLicenseGenuine()
log.info(s"License IsLicenseGenuine return status ${tmpStatus}")
if (tmpStatus == LexActivator.LA_OK) {
tmpStatus
} else {
log.info("License is not genuine, activating")
val stat=LexActivator.ActivateLicense()
log.info(s"Activation status: ${stat}")
stat
}
And logging output from different platforms:
running in docker on x86 linux:
{"timestamp":"2021-10-06 10:02:56.257","level":"INFO","message":"using license D2155E-5F70E8-4549BB-4EA757-9F40BF-16143C","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 10:02:56.257","level":"INFO","message":"License IsLicenseGenuine return status 1","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 10:02:56.258","level":"INFO","message":"License is not genuine, activating","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 10:02:57.529","level":"INFO","message":"Activation status: 0","context":"default","severity":"INFO"}
arm64 (running on docker on Amazon EC2 instance):
{"timestamp":"2021-10-06 11:52:04.143","level":"INFO","message":"using license D2155E-5F70E8-4549BB-4EA757-9F40BF-16143C","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 11:52:04.201","level":"INFO","message":"License IsLicenseGenuine return status 1","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 11:52:04.201","level":"INFO","message":"License is not genuine, activating","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 11:52:04.642","level":"INFO","message":"Activation status: 0","context":"default","severity":"INFO"}
running on docker on armv7 raspberry pi:
{"timestamp":"2021-10-06 10:09:04.440","level":"INFO","message":"using license D2155E-5F70E8-4549BB-4EA757-9F40BF-16143C","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 10:09:05.132","level":"INFO","message":"License IsLicenseGenuine return status 1","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 10:09:05.133","level":"INFO","message":"License is not genuine, activating","context":"default","severity":"INFO"}
{"timestamp":"2021-10-06 10:09:07.920","level":"INFO","message":"Activation status: 20","context":"default","severity":"INFO"}