Author Message
GregRamsay
Joined: Nov 26, 2013
Messages: 10
Offline
Hello,
I've been tearing my hair out trying to figure out this runtime licensing problem.
I have a valid OD runtime license installed in my lab system. This is the license file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE LAR SYSTEM "lar.dtd">
<LAR platformType="ORCHESTRATION_DESIGNER_IDE" sid="15040904" version="1.0">
<License version="1.0">
<HostID>000C29094820</HostID>
<Notes>License generated by the user dgillum using WebLG (version 5.0) on: Wed Mar 25 02:23:13 UTC 2015 ESID: 12345678 SID: 15040904 MID: 1</Notes>
<Product countedLicenseTimeout="600">
<Name>Orchestration_Designer_IDE</Name>
<DisplayName>Orchestration Designer IDE</DisplayName>
<Version>6</Version>
</Product>
<Feature>
<Name>FEAT_OD_SIMULATOR_MRCP_CONNECTOR</Name>
<DisplayName>Simulator MRCP Connector</DisplayName>
<Value>on</Value>
<ExpirationDate>2016/03/24</ExpirationDate>
</Feature>
</License>
<Signature>95cbc96cca0a86a7f5ba34f76552578a4eae4de12d29af46d5208411763bc24e6caaa67713e29d98082ad6da07fa76918e5c68022a31d4ea65c0ace7fd8f1802a76023413ecedf80183e4ca5447e88e81d7068950280f95f3086242fa4ec24f3d453bf3f67e9f36fa527606d4c57ad57fe67b5d538dd3ce92572755fa42a009d</Signature>
</LAR>
**************************************************************************

Even though I can go to the license manager from the EPM license link, log in and see that the license is there, I still get the error below.
What am I missing?

1/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : SCESession bound to HttpSession 9362FC4643C33C00E2D3A576C8760809
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Browser Version 2.1.4, terminationURL enabled : true
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : PlatformParams:getPlatformParams: __VPVarGlobalDate is 1427490452735
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : PlatformParams:getPlatformParams:Timestamp is 03/27/15 14:07:32
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Using SCESession 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI servlet : Start
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : ** Pushed Stack Frame [/XferToCDNwUUI]
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Storing :session___sessionid to complex: session:sessionid as [aaep7-2015141220132-12]
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : runtime_platform : Experience Portal
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : runtime_asr : SRGS-Literals
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Acquiring initial License
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Acquiring Avaya Platform runtime license
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : PlatformParams:getPlatformParams: __VPVarGlobalDate is 1427490452735
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : PlatformParams:getPlatformParams:Timestamp is 03/27/15 14:07:32
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : License: Use the license server url in VPMS instead - https://10.10.10.52:8443/WebLM/LicenseServer
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Using license check timeout :100
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Runtime :false
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : IC :false
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : CTI :false
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : License is bad, grace period expired
21/05/2015 15:02:22 DEBUG - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : License refresh timer started
21/05/2015 15:02:22 INFO - 9362FC4643C33C00E2D3A576C8760809:/XferToCDNwUUI : Capturing exception [com.avaya.sce.runtimecommon.SCERuntimeException]. Message [Invalid runtime license]



Thanks in advance,
Greg Ramsay
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
Hace you configured the URL to the licenserver in the OD runtimeconfig web application?
GregRamsay
Joined: Nov 26, 2013
Messages: 10
Offline
Hi Ross,
Yes, I did try using the URL in the runtimeconfig file and I get the same results.
I'm currently upgrading my lab system to AAEP 7.01, so hopefully, when I get the new licenses, this won't be an issue.

For now, I think we can close the ticket.

Thanks,
Greg Ramsay
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
In the runtimeconfig did you click "Verify" button in the runtimeconfig?
  • [Thumb - Capture.PNG]
[Disk] Download
GregRamsay
Joined: Nov 26, 2013
Messages: 10
Offline
Hi Ross,
Okay, I reinstalled the AAEP 7.01 software and I haven't yet received the new licenses, it is in the grace period. I can run the Avaya test application and everything works as expected. But I get an "Invalid Runtime License" message when I try to run an OD application.
In Runtimeconfig, I've set the License URL to blank, and that doesn't work. When I put the license URL in and click update, I get a message saying "License URL is invalid, or server is not up". When I click verify, I get a page for the WebLM server, which I can log in to and it looks okay - except I don't currently have any licenses installed.
I generated and installed new Runtime config files and that didn't change anything.
What information do you need to assist with this?

Thanks again.

Greg ramsay
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
Okay since the verify took you to the weblm page then the config is okay. Since you do not have a valid license your OD apps will still run for 30 days.
GregRamsay
Joined: Nov 26, 2013
Messages: 10
Offline
Hi Ross,
The problem is that the OD apps don't run. I thought that after a complete reinstall I would be able to run OD apps for the 30 day grace period, but I get the invalid runtime license message. How can I correct this?
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
can you enable all tracing in the ddrt.properties file run the app and then post the trace.log?
GregRamsay
Joined: Nov 26, 2013
Messages: 10
Offline
Here is the trace file:

27/05/2015 07:39:40 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : SCESession bound to HttpSession 100EDAC0542B8E1227483AA54BE48350
27/05/2015 07:39:40 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Browser Version 2.1.4, terminationURL enabled : true
27/05/2015 07:39:40 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams:getPlatformParams: __VPVarGlobalDate is 1432670966084
27/05/2015 07:39:40 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams:getPlatformParams:Timestamp is 05/26/15 13:09:26
27/05/2015 07:39:40 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get global parameters from VPMS...
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: AppRuntimeVarsResponse.getGlobalAppRuntimeVars returns status - success
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPLicenseServerURL|https://10.10.10.52:8443/WebLM/LicenseServer
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPConversationServer|127.0.0.1
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPConversationType|Internal
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPappintf|/axis2/services/VPAppIntfService
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPapplog|/axis2/services/VPAppLogService
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPappvars|/axis2/services/VPAppVarsService
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPepmguid|
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPzoneepm__0|10.10.10.52
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPzoneids|0
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : PlatformParams: get parameter|value - __VPzonename__0|Default
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Using SCESession 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI servlet : Start
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : ** Pushed Stack Frame [/XferToCDNwUUI]
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Storing :session___sessionid to complex: session:sessionid as [aaep7-2015147143943-15]
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : runtime_platform : Experience Portal
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : runtime_asr : SRGS-Literals
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Acquiring initial License
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Acquiring Avaya Platform runtime license
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Using license check timeout :100
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Runtime :false
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : IC :false
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : CTI :false
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : License is bad, grace period expired
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : License refresh timer started
27/05/2015 07:39:41 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Capturing exception [com.avaya.sce.runtimecommon.SCERuntimeException]. Message [Invalid runtime license]
27/05/2015 07:39:41 ERROR - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : session id:aaep7-2015147143943-15 | Error processing request
EXCEPTION>
com.avaya.sce.runtimecommon.SCERuntimeException: Invalid runtime license
at com.avaya.sce.runtimecommon.SCESession.throwRTException(SCESession.java:2305)
at com.avaya.sce.runtime.Entry.handleRequest(Entry.java:194)
at com.avaya.sce.runtime.AppDocument.processRequest(AppDocument.java:244)
at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:285)
at com.avaya.sce.runtime.SCEServlet.doGet(SCEServlet.java:182)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2462)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2451)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : *** Reply for [/XferToCDNwUUI/Start] ***
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
2:<meta name="author" content="Avaya Aura Orchestration Designer"/>
3:<meta name="runtime-version" content="07.00.18.01"/>
4:<meta name="runtimecommon-version" content="07.00.18.01"/>
5:<meta name="copyright" content="Copyright (c) 2002-2011, Avaya"/>
6:<script>
7:function getnbest( item, nbest ) {
8: var len = application.lastresult$.length;
9: var result = "";
10:
11: if ( len > nbest) {
12: len = nbest;
13: }
14: for (var i = 0; i < len; i++) {
15: if (i > 0) {
16: result += " |";
17: }
18: var temp = "application.lastresult$[" + i + "]." + item;
19: result += extractprops( "", eval(temp));
20: }
21: return result;
22:}
23:
24:function getnbestnmni( item, nbest ) {
25: var len = application.lastresult$.length;
26: var result = "";
27:
28: if ( len > nbest) {
29: len = nbest;
30: }
31: for (var i = 0; i < len; i++) {
32: if (i > 0) {
33: result += " |";
34: }
35: result += item;
36: }
37: return result;
38:}
39:
40:function extractprops ( parent, obj ) {
41: var prop, name, result = "";
42: var count = 1;
43: if ( typeof ( obj ) == "object" ) {
44: for ( prop in obj ) {
45: name = parent + prop;
46: if ( typeof ( obj [ prop ] ) == "object" ) {
47: result += extractprops( name+".", obj [ prop ] );
48: } else {
49: if (count == 1) {
50: result = obj [ prop ];
51: } else {
52: result += " " + obj [ prop ];
53: }
54: }
55: count = count + 1;
56: }
57: } else {
58: if (obj == undefined ) {
59: result += "undefined";
60: } else {
61: result += obj;
62: }
63: }
64: return result;
65:}
66:
67:function startswith ( value, startwith ) {
68: var index;
69: index = value.indexOf(startwith, 0);
70: if ( index == 0 ) {
71: return true;
72: } else {
73: return false;
74: }
75:}
76:
77:function containsUndefined ( value ) {
78: var index;
79: index = value.indexOf('undefined', 0);
80: if ( index == -1 ) {
81: return false;
82: } else {
83: return true;
84: }
85:}
86:
87:</script>
88:<script>
89:function objectToString( obj ) {
90: try {
91: var result = "";
92: result += getobjectprops( "", obj);
93: if (result.charAt(0) == '|' ) {
94: result = result.substring(1);
95: }
96: } catch (errMsg) {
97: return("undefined");
98: }
99: return result;
100:}
101:
102:function getobjectprops ( parent, obj ) {
103: var prop, name, result = "";
104: if ( typeof ( obj ) == "object" ) {
105: for ( prop in obj ) {
106: name = parent + prop;
107: if ( typeof ( obj [ prop ] ) == "object" ) {
108: result += extractprops( name+".", obj [ prop ] );
109: } else {
110: result += "|" + obj [ prop ];
111: }
112: }
113: } else {
114: if (obj == undefined ) {
115: result += "undefined";
116: } else {
117: result += obj;
118: }
119: }
120: return result;
121:}
122:</script>
123:<var name="_avayaExitReason" expr="''"/>
124:<var name="_avayaExitInfo1" expr="''"/>
125:<var name="_avayaExitInfo2" expr="''"/>
126:<var name="_avayaExitCustomerId" expr="''"/>
127:<var name="_avayaExitPreferredPath" expr="'1'"/>
128:<var name="_avayaExitTopic" expr="''"/>
129:<var name="_avayaNoinputCounter" expr="0"/>
130:<var name="_avayaNomatchCounter" expr="0"/>
131:<meta name="marker" content="Avaya Aura Orchestration Designer Root End"/>
132:<form>
133:<block>
134:<throw
135: event="error.runtime.com.avaya.sce.runtimecommon.SCERuntimeException" message="Error processing request, com.avaya.sce.runtimecommon.SCERuntimeException: Invalid runtime license"/>
136:</block>
137:</form>
138:</vxml>
139:

27/05/2015 07:39:45 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Removing session from AvayaSessionTermination Servlet
27/05/2015 07:39:45 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Termination URL reply : <?xml version="1.0" encoding="UTF-8"?>
<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us">
</vxml>

27/05/2015 07:39:45 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : HTTP Session lost removing SCESession 100EDAC0542B8E1227483AA54BE48350
27/05/2015 07:39:45 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : SCESession Removed
27/05/2015 07:39:45 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : Removing 1 session stack frames.
27/05/2015 07:39:45 INFO - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : ** Popped Stack Frame [/XferToCDNwUUI]
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
27/05/2015 07:39:41 DEBUG - 100EDAC0542B8E1227483AA54BE48350:/XferToCDNwUUI : License is bad, grace period expired
GregRamsay
Joined: Nov 26, 2013
Messages: 10
Offline
Yes, I realize it's stating the grace period has expired, but when I log into EPMS, it says the grace period will expire on June 21, 2015
Is the OD grace period is different from the grace period for the Experience Portal? I thought they were on the same time period.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
See private message. And yes the grace period on EP is different than the OD one.
RossYakulis
Joined: Nov 6, 2013
Messages: 2652
Offline
This discussion was moved to email. The result is :

"Hi Ross,
Soooo – the code snippet you sent was a helpful clue. If the invalidLicenseTimer is set to “”, it should set the value and save the file. That wasn’t happening. I have Tomcat loaded under C:\Program Files\apache-tomcat-7.0.56, but I didn’t have the Tomcat service setting to “Log on as Administrator”. That was preventing the process from updating the file. I changed the setting in the windows services to start Tomcat as administrator and now it’s working.

I think we can chalk this one up for the tips and tricks troubleshooting guide.
Thanks for all your help with this."

Go to:   
Mobile view