Author Message
jnahas
Joined: Jun 28, 2016
Messages: 16
Offline
Hello all,

I'm having a problem with the WebLM license and the Application Server (Apache Tomcat 8.5). My IVR app is written in OD 7.2.1 and EPM is 7.2.3. Each time someone reboots the whole server, a new value is put in the invalidlicensetimer tag (at the ddconfig.xml file), resulting on "Invalid Runtime License" exception whenever a call is placed.

e.g.

<licenseserverurl value=""/>
<invalidlicensetimer value="1572555571410"/>
<licensechecktimeout value="0"/>
<proxy>

Each time I get this error, I need to shutdown the Tomcat, replace the value for an empty string (""), start it up again and then it works ok.

I have added the WebLM certificate into the .jks that the runtimeconfig is using, the License is being fetched ok now, but when I go to the validate page, I get:

"The WebLM URL configured in the DD Admin does not match the Cached WebLM URL used by DD applications in the runtime environment. You may need to restart the app server. "

I have restarted the app server several times, but the problem persists. I would really appreciate your help on this
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
First the invalidlicensetimer only get filled with a time is when the licenses are bad. Setting the timer would give you a month of grace period. I am not what error exactly you are talking about. So it seems to me that either the license url/server does not work or the licenses are bad. The license error would be shown in the trace.log, reports and alarms.
jnahas
Joined: Jun 28, 2016
Messages: 16
Offline
Thank you for your answer. What I am trying to understand is why am I getting the message:

"The WebLM URL configured in the DD Admin does not match the Cached WebLM URL used by DD applications in the runtime environment. You may need to restart the app server. "

As you pointed out, a value in the invalidlicensetimer tag would indicate a problem with the licenses or in the communication between the Application Server and the WebLM.

Before I imported the WebLM certificate into the AS' keystore, the log was saying "License is bad, allowing grace period". Once I imported it, I started getting:

[APP]|[04 Dec 2019 17:21:38,929]|[ INFO]|[CLASS: pruebaGoTo.writeln(57)]|[MESSAGE: BE0FE74E9EF7E42481FE4F95C781CFB4:/pruebaGoTo : Using license check timeout :0]
[APP]|[04 Dec 2019 17:21:42,132]|[ INFO]|[CLASS: pruebaGoTo.writeln(57)]|[MESSAGE: BE0FE74E9EF7E42481FE4F95C781CFB4:/pruebaGoTo : Runtime :true]
[APP]|[04 Dec 2019 17:21:42,132]|[ INFO]|[CLASS: pruebaGoTo.writeln(57)]|[MESSAGE: BE0FE74E9EF7E42481FE4F95C781CFB4:/pruebaGoTo : IC :true]
[APP]|[04 Dec 2019 17:21:42,132]|[ INFO]|[CLASS: pruebaGoTo.writeln(57)]|[MESSAGE: BE0FE74E9EF7E42481FE4F95C781CFB4:/pruebaGoTo : CTI :true]
[APP]|[04 Dec 2019 17:21:42,249]|[DEBUG]|[CLASS: pruebaGoTo.writeln(48)]|[MESSAGE: BE0FE74E9EF7E42481FE4F95C781CFB4:/pruebaGoTo : Grace Period timer cleared]
[APP]|[04 Dec 2019 17:21:42,250]|[DEBUG]|[CLASS: pruebaGoTo.writeln(48)]|[MESSAGE: BE0FE74E9EF7E42481FE4F95C781CFB4:/pruebaGoTo : License refresh timer started]
[APP]|[04 Dec 2019 17:21:42,252]|[ INFO]|[CLASS: pruebaGoTo.writeln(57)]|[MESSAGE: BE0FE74E9EF7E42481FE4F95C781CFB4:/pruebaGoTo : MessageType is speech]


So now the licenses seem to be fetched successfully, but I don't understand the reason of the message when I go into the validate jsp ("The WebLM URL configured in the DD Admin does not match the Cached WebLM URL used by DD applications in the runtime environment. You may need to restart the app server. ")
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
The cached license url is the one currently used by the system to check license. If you restarted the app server, make a call for the first time, the license url get cached and used for checking for license. The license url can be from 2 different sources. If the url is configured in Runtimeconfig, the url is used; otherwise, the license url from EPM is used (in case the runtimeconfig setting is blank). So now after the first call, the url license is in cache. If you update the runtimeconfig with a different license url, and then check the validate page of an app, you would see this message saying the cached license url is different.
You should regarding this as an informative message if the url works and you are getting licenses in live calls.
Go to:   
Mobile view