Author Message
MatthewKopcienski
Joined: Nov 14, 2013
Messages: 95
Offline
AEP 8.0.0.0.1455 with onboard WebLM V7.1

scertcommon-08.00.22.01.jar

I've tried to import the AEP's WebLM cert and setting the license server to https://165.115.125.226:8443/WebLM/LicenseServer but it comes back with


License Url is invalid, or server is not up, or license version is too low.

<Name>Dialog_Designer</Name>

<DisplayName>Application Design Environment</DisplayName>
<Version>8</Version>
</Product>
<Feature type="counted">
<Name>VALUE_DD_CTI_LIBRARY</Name>
<DisplayName>CTI Library enablement</DisplayName>
<Value>1</Value>
</Feature>
<Feature type="counted">
<Name>VALUE_DD_IC_LIBRARY</Name>
<DisplayName>IC Library Enablement</DisplayName>
<Value>1</Value>


When I take the license server out from runtime it still says the license is bad.

2/09/2021 11:47:48:521 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] DEBUG - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : License: Use the license server url in VPMS instead - https://165.115.125.226:8443/WebLM/LicenseServer

22/09/2021 11:47:48:521 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] DEBUG - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : Using license server - https://165.115.125.226:8443/WebLM/LicenseServer
22/09/2021 11:47:48:521 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] INFO - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : Using license check timeout :0
22/09/2021 11:47:48:693 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] INFO - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : Runtime :false
22/09/2021 11:47:48:693 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] INFO - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : IC :false
22/09/2021 11:47:48:693 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] INFO - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : CTI :false
22/09/2021 11:47:48:693 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] DEBUG - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : Remaining grace period 1828366755
22/09/2021 11:47:48:693 [com.avaya.runtimecommon.platforms.vp.tracking.TraceWriter.writeln] DEBUG - BCB604C9209A9C16CAB6C98C7DD4C2C9:/CNRail_Driver : License is bad, allowing grace period


I've also tried copying the trusted_weblm_certs.jks and trustedcert.properties into webapps\WebLM\admin because I read that elsewhere but that doesn't work.
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
OD 8.0 requires license version 8.0. Do you have this version of the license on WebLM?
MatthewKopcienski
Joined: Nov 14, 2013
Messages: 95
Offline
Yes

<DisplayName>Application Design Environment</DisplayName>
03 <Version>8</Version>
WilsonYu
Joined: Nov 6, 2013
Messages: 3950
Offline
Check out this link too.

https://www.devconnectprogram.com/forums/posts/list/24659.page#p163181
MatthewKopcienski
Joined: Nov 14, 2013
Messages: 95
Offline
I cannot use a system variable as I have multiple TOMCAT instances on this box that hold OD apps.
I created D:\SVRApps\apache-tomcat-9.0.44-HTTPS\bin\setenv.bat with
CATALINA_HOME=D:\SVRApps\apache-tomcat-9.0.44-HTTPS\

I've also placed trustedcert.propeties in D:\SVRApps\apache-tomcat-9.0.44-HTTPS\webapps\WebLM\admin but I still get
java.io.FileNotFoundException: trustedcert.properties (The system cannot find the file specified)
MatthewKopcienski
Joined: Nov 14, 2013
Messages: 95
Offline
Also, why is this not a defect? Either against the runtime or documentation?
The only mention of CATALINA_HOME in the OD Dev guide is
The keystore file is saved in the default directory with all other configuration files,
$CATALINA_HOME/lib for Tomcat. The Keystore file field is automatically updated
with the keystore file name.
MatthewKopcienski
Joined: Nov 14, 2013
Messages: 95
Offline
Thanks to Sanjay, the answer has nothing to do with CATALINA_HOME or trustedcerts.properties.

I change the license URL from port 8443 to 8080 and the license came up which is strange because the WebLM is on 8443 and the AEP successfully points to it on 8443.
KrishnanShankar
Joined: Feb 16, 2017
Messages: 5
Offline
catalina.out shows directory [ …/apache-tomcat-9.0.<version>/webapps/WebLM/admin] or sometimes see [ …/apache-tomcat-9.0.<version>/webapps/WebLM/ has finished in [506] ms

create those missing directory and then copy the trustedcert.properties and trusted_cert_weblm.jks from /home/admin/apache-tomcat-9.0.<version>/lib directory into WebLM or WebLM/

Restarting tomcat worked, but this method would require an update every time we update tomcat.

I am trying to raise awareness to the WebLM dev team, will post here if i get any update
MatthewKopcienski
Joined: Nov 14, 2013
Messages: 95
Offline
I have an issue where the customer's environment has different CATALINA_HOME and CATALINA_BASE.
CATALINA_BASE:                     /XXX/tomcat/servers/csi_ivr_vxml_otcs-A

CATALINA_HOME: /XXX/tomcat/spring/tcserver/vfabric-tc-server-standard-4.1.5.RELEASE/tomcat-9.0.40.A.RELEASE
JAVA_HOME: /XXX/tomcat/spring/java/jdk1.8.0_261-64


The issue is that we cannot deploy to CATALINA_HOME, only CATALINA_BASE so we cannot add $CATALINA_HOME/webapps/WebLM/admin/trustedcert.properties.

I will need a fix in OD 8.11.08.01 WebLM library so that it looks in $CATALINA_BASE or in the webapps/runtimeconfig directory would be good as well.
Go to:   
Mobile view