Hi,
We have Avaya OD 06.00.11.03 application deployed in tomcat 6 and AEP 6.
error.badfetch.http.404 thrown intermittently for a servlet/nodes across the flow.
We have added catch block in app root to handle it but it doesn't catch the error. It is caught in MPP level and transferred.
In below log menu is offered and it throws 404 upon input selection but it is not caught in the global handler.
Only removing session in trace log after the prompt and collect.
App Root:
136:<catch event="error.runtime">
137:<goto next="CheckLastIDError?___DDSESSIONID=B79FE8A88E94BAA60906C24C6539FB54%3A%2FNGI_1688_Main"/>
138:</catch>
139:<catch event="error.badfetch.http.404">
140:<goto next="CheckLastIDError?___DDSESSIONID=B79FE8A88E94BAA60906C24C6539FB54%3A%2FNGI_1688_Main"/>
141:</catch>
142:<meta name="marker" content="Avaya Aura Orchestration Designer Root End"/>
143:<form id="Start">
144:<block>
145:<submit next="SetSessionProperty?___DDSESSIONID=B79FE8A88E94BAA60906C24C6539FB54%3A%2FNGI_1688_Main"/>
146:</block>
147:</form>
148:</vxml>
Menu to collect option:
19/07/2018 17:08:05:188 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : Using SCESession B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main servlet : InteractionMenu-GetDialog
19/07/2018 17:08:05:190 DEBUG - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : *** Reply for [/Interaction/InteractionMenu-GetDialog] ***
19/07/2018 17:08:05:190 DEBUG - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : 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="06.00.11.03"/>
4:<meta name="runtimecommon-version" content="06.00.11.03"/>
5:<meta name="copyright" content="Copyright (c) 2002-2011, Avaya"/>
6:<form id="GetDialog">
7:<block>
8:</block>
9:<property name="maxnbest" value="1"/>
10:<var name="nbest" expr="1"/>
11:<var name="GetDialog___value"/>
12:<var name="GetDialog___confidence"/>
13:<var name="GetDialog___utterance"/>
14:<var name="GetDialog___inputmode"/>
15:<var name="GetDialog___interpretation" expr="'undefined'"/>
16:<var name="GetDialog___noinputcount" expr="'0'"/>
17:<var name="GetDialog___nomatchcount" expr="'0'"/>
18:<var name="GetDialog___rule5619078"/>
19:<var name="graminterp___GetDTMFDigit" expr="'undefined'"/>
20:<var name="graminterp___GetDTMF" expr="'undefined'"/>
21:<field name="GetDialog" modal="false">
22:<grammar type="application/srgs+xml" mode="dtmf" root="GetDTMFDigit" weight="1.0" xml:lang="en-us" version="1.0" tag-format="semantics/1.0-literals"><rule id="GetDTMFDigit" scope="public"><ruleref uri="#rule5619078" /></rule><rule id="rule5619078" scope="private"><one-of><item>#<tag>#</tag></item><item>1<tag>1</tag></item><item>2<tag>2</tag></item><item>3<tag>3</tag></item><item>4<tag>4</tag></item><item>5<tag>5</tag></item><item>e<tag>E</tag></item><item>9<tag>9</tag></item></one-of></rule></grammar>
23:<grammar mode="dtmf" xml:lang="en-us" weight="1.0" src="builtin:dtmf/digits?length=1" maxage="0"/>
24:<catch event="noinput">
25:<assign name="_avayaNoinputCounter" expr="_avayaNoinputCounter + 1"/>
26:<assign name="GetDialog___noinputcount" expr="try {_avayaNoinputCounter} catch (errMsg) {'0'}"/>
27:<assign name="GetDialog___nomatchcount" expr="try {_avayaNomatchCounter} catch (errMsg) {'0'}"/>
28:<submit next="InteractionMenu-CheckHold?___DDSESSIONID=B79FE8A88E94BAA60906C24C6539FB54%3A%2FNGI_1688_Main" namelist="GetDialog___noinputcount GetDialog___nomatchcount" method="post" enctype="multipart/form-data"/>
29:</catch>
30:<catch event="nomatch">
31:<assign name="_avayaNomatchCounter" expr="_avayaNomatchCounter + 1"/>
32:<assign name="GetDialog___noinputcount" expr="try {_avayaNoinputCounter} catch (errMsg) {'0'}"/>
33:<assign name="GetDialog___nomatchcount" expr="try {_avayaNomatchCounter} catch (errMsg) {'0'}"/>
34:<submit next="InteractionMenu-SetNomatchPrompt?___DDSESSIONID=B79FE8A88E94BAA60906C24C6539FB54%3A%2FNGI_1688_Main" namelist="GetDialog___noinputcount GetDialog___nomatchcount" method="post" enctype="multipart/form-data"/>
35:</catch>
36:<filled>
37:<assign name="GetDialog___confidence" expr="getnbest('confidence', nbest)"/>
38:<assign name="GetDialog___utterance" expr="getnbest('utterance', nbest)"/>
39:<assign name="GetDialog___inputmode" expr="getnbest('inputmode', nbest)"/>
40:<assign name="GetDialog___rule5619078" expr="getnbest('interpretation.rule5619078', nbest)"/>
41:<if cond="GetDialog___inputmode == 'dtmf'">
42:<assign name="graminterp___GetDTMFDigit" expr="GetDialog___rule5619078"/>
43:<if cond="containsUndefined(graminterp___GetDTMFDigit) == false">
44: <assign name="GetDialog___interpretation" expr="graminterp___GetDTMFDigit"/>
45:</if>
46:<else/>
47: <assign name="GetDialog___interpretation" expr="getnbest('interpretation.cxtag', nbest)"/>
48:</if>
49:<if cond="startswith(GetDialog___interpretation, 'undefined') == true ">
50: <assign name="GetDialog___interpretation" expr="getnbest('interpretation', nbest)"/>
51:</if>
52:<assign name="GetDialog___value" expr="GetDialog___interpretation"/>
53:<assign name="GetDialog___noinputcount" expr="getnbestnmni(_avayaNoinputCounter, nbest)"/>
54:<assign name="GetDialog___nomatchcount" expr="getnbestnmni(_avayaNomatchCounter, nbest)"/>
55:</filled>
56:</field>
57:<catch event="connection.disconnect">
58:<var name="GetDialog___noinputcount" expr="try {_avayaNoinputCounter} catch (errMsg) {'0'}"/>
59:<var name="GetDialog___nomatchcount" expr="try {_avayaNomatchCounter} catch (errMsg) {'0'}"/>
60:<assign name="GetDialog___noinputcount" expr="try {_avayaNoinputCounter} catch (errMsg) {'0'}"/>
61:<assign name="GetDialog___nomatchcount" expr="try {_avayaNomatchCounter} catch (errMsg) {'0'}"/>
62:<submit next="InteractionMenu-SetEndTimeD?___DDSESSIONID=B79FE8A88E94BAA60906C24C6539FB54%3A%2FNGI_1688_Main" namelist="GetDialog___noinputcount GetDialog___nomatchcount" method="post" enctype="multipart/form-data"/>
63:</catch>
64:<block>
65:<submit next="InteractionMenu-CheckInput?___DDSESSIONID=B79FE8A88E94BAA60906C24C6539FB54%3A%2FNGI_1688_Main" namelist="GetDialog___value GetDialog___confidence GetDialog___utterance GetDialog___inputmode GetDialog___interpretation GetDialog___noinputcount GetDialog___nomatchcount GetDialog___rule5619078" method="post"/>
66:</block>
67:</form>
68:</vxml>
69:
19/07/2018 17:08:40:525 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : Removing session from AvayaSessionTermination Servlet
19/07/2018 17:08:40:526 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : 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>
19/07/2018 17:08:40:526 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : HTTP Session lost removing SCESession B79FE8A88E94BAA60906C24C6539FB54
19/07/2018 17:08:40:526 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : SCESession Removed
19/07/2018 17:08:40:526 DEBUG - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : Removing 3 session stack frames.
19/07/2018 17:08:40:526 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : ** Popped Stack Frame [/Interaction]
19/07/2018 17:08:40:526 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : ** Popped Stack Frame [/IWWrapper]
19/07/2018 17:08:40:526 INFO - B79FE8A88E94BAA60906C24C6539FB54:/NGI_1688_Main : ** Popped Stack Frame [/NGI_1688_Main]
error.badfetch.http.404 is caught in other modules which has all possible catch blocks
Approot
<var name="_avayaNomatchCounter" expr="0"/>
131:<catch event="connection.disconnect.hangup">
132:<var name="Billing_Event___event" expr="try {objectToString(_event)} catch (errMsg) {'undefined'}"/>
133:<var name="Billing_Event___message" expr="try {objectToString(_message)} catch (errMsg) {'undefined'}"/>
134:<submit next="SetHangup?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain" namelist="Billing_Event___event Billing_Event___message" method="post" enctype="multipart/form-data"/>
135:</catch>
136:<catch event="error.badfetch">
137:<var name="Billing_Event___event" expr="try {objectToString(_event)} catch (errMsg) {'undefined'}"/>
138:<var name="Billing_Event___message" expr="try {objectToString(_message)} catch (errMsg) {'undefined'}"/>
139:<submit next="ExAnn?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain" namelist="Billing_Event___event Billing_Event___message" method="post" enctype="multipart/form-data"/>
140:</catch>
141:<catch event="error.badfetch.http.404">
142:<var name="Billing_Event___event" expr="try {objectToString(_event)} catch (errMsg) {'undefined'}"/>
143:<var name="Billing_Event___message" expr="try {objectToString(_message)} catch (errMsg) {'undefined'}"/>
144:<submit next="ExAnn?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain" namelist="Billing_Event___event Billing_Event___message" method="post" enctype="multipart/form-data"/>
145:</catch>
146:<catch event="error.badfetch.http.500">
147:<var name="Billing_Event___event" expr="try {objectToString(_event)} catch (errMsg) {'undefined'}"/>
148:<var name="Billing_Event___message" expr="try {objectToString(_message)} catch (errMsg) {'undefined'}"/>
149:<submit next="ExAnn?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain" namelist="Billing_Event___event Billing_Event___message" method="post" enctype="multipart/form-data"/>
150:</catch>
151:<catch event="error.runtime">
152:<var name="Billing_Event___event" expr="try {objectToString(_event)} catch (errMsg) {'undefined'}"/>
153:<var name="Billing_Event___message" expr="try {objectToString(_message)} catch (errMsg) {'undefined'}"/>
154:<submit next="ExAnn?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain" namelist="Billing_Event___event Billing_Event___message" method="post" enctype="multipart/form-data"/>
155:</catch>
156:<catch event="error">
157:<var name="Billing_Event___event" expr="try {objectToString(_event)} catch (errMsg) {'undefined'}"/>
158:<var name="Billing_Event___message" expr="try {objectToString(_message)} catch (errMsg) {'undefined'}"/>
159:<submit next="ExAnn?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain" namelist="Billing_Event___event Billing_Event___message" method="post" enctype="multipart/form-data"/>
160:</catch>
161:<catch event="connection.disconnect">
162:<var name="avayadonotsave___noinputcount" expr="try {_avayaNoinputCounter} catch (errMsg) {'0'}"/>
163:<var name="avayadonotsave___nomatchcount" expr="try {_avayaNomatchCounter} catch (errMsg) {'0'}"/>
164:<submit next="toDisconnect?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain" namelist="avayadonotsave___noinputcount avayadonotsave___nomatchcount" method="get"/>
165:</catch>
166:<meta name="marker" content="Avaya Aura Orchestration Designer Root End"/>
167:<form id="Welcome">
168:<block>
169:<prompt bargein="true" bargeintype="speech" timeout="8000ms">
170:<audio src="/Phrase/appl/english/Bil_0001.wav">Welcome to singtel account enquiry system.</audio>
171:</prompt>
172:</block>
173:<block>
174:<submit next="LangSelection?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FMain"/>
175:</block>
176:</form>
177:</vxml>
Event is caught in application
19/07/2018 15:29:49:039 DEBUG - 64E424CB060D1CB29D7B3D70FD4CFA2E:/NGI_1688_Main : 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="06.00.11.03"/>
4:<meta name="runtimecommon-version" content="06.00.11.03"/>
5:<meta name="copyright" content="Copyright (c) 2002-2011, Avaya"/>
6:<property name="maxnbest" value="1"/>
7:<var name="nbest" expr="1"/>
8:<var name="SendMSMMenu___value"/>
9:<var name="SendMSMMenu___confidence"/>
10:<var name="SendMSMMenu___utterance"/>
11:<var name="SendMSMMenu___inputmode"/>
12:<var name="SendMSMMenu___interpretation" expr="'undefined'"/>
13:<var name="SendMSMMenu___noinputcount" expr="'0'"/>
14:<var name="SendMSMMenu___nomatchcount" expr="'0'"/>
15:<var name="ddmenuchoice"/>
16:<menu id="SendMSMMenu">
17:<prompt bargein="true" bargeintype="speech" timeout="8000ms">
18:<audio src="/NGI_Phrase/appl/english/Com_0009.wav">return to previous menu, Press 8</audio>
19:<audio src="/NGI_Phrase/appl/english/Com_0010.wav">return to Main menu, Press 9</audio>
20:</prompt>
21:<choice dtmf="1" accept="exact" next="#choice0">
22:</choice>
23:<choice dtmf="2" accept="exact" next="#choice1">
24:</choice>
25:<choice dtmf="*" accept="exact" next="#choice2">
26:</choice>
27:<choice dtmf="0" accept="exact" next="#choice3">
28:</choice>
29:<choice dtmf="8" accept="exact" next="#choice4">
30:</choice>
31:<choice dtmf="9" accept="exact" next="#choice5">
32:</choice>
33:<catch event="noinput">
34:<assign name="_avayaNoinputCounter" expr="_avayaNoinputCounter + 1"/>
35:<var name="SendMSMMenu___recording" expr="try {application.lastresult$.recording} catch (errMsg) {'undefined'}"/>
36:<var name="SendMSMMenu___recordingsize" expr="try {objectToString(application.lastresult$.recordingsize)} catch (errMsg) {'undefined'}"/>
37:<var name="SendMSMMenu___recordingduration" expr="try {objectToString(application.lastresult$.recordingduration)} catch (errMsg) {'undefined'}"/>
38:<assign name="SendMSMMenu___noinputcount" expr="try {_avayaNoinputCounter} catch (errMsg) {'0'}"/>
39:<assign name="SendMSMMenu___nomatchcount" expr="try {_avayaNomatchCounter} catch (errMsg) {'0'}"/>
40:<submit next="PaymentMethod-NoInput_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main" namelist="SendMSMMenu___recording SendMSMMenu___recordingsize SendMSMMenu___recordingduration SendMSMMenu___noinputcount SendMSMMenu___nomatchcount" method="post" enctype="multipart/form-data"/>
41:</catch>
42:<catch event="nomatch">
43:<assign name="_avayaNomatchCounter" expr="_avayaNomatchCounter + 1"/>
44:<var name="SendMSMMenu___recording" expr="try {application.lastresult$.recording} catch (errMsg) {'undefined'}"/>
45:<var name="SendMSMMenu___recordingsize" expr="try {objectToString(application.lastresult$.recordingsize)} catch (errMsg) {'undefined'}"/>
46:<var name="SendMSMMenu___recordingduration" expr="try {objectToString(application.lastresult$.recordingduration)} catch (errMsg) {'undefined'}"/>
47:<assign name="SendMSMMenu___noinputcount" expr="try {_avayaNoinputCounter} catch (errMsg) {'0'}"/>
48:<assign name="SendMSMMenu___nomatchcount" expr="try {_avayaNomatchCounter} catch (errMsg) {'0'}"/>
49:<submit next="PaymentMethod-Nomatch_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main" namelist="SendMSMMenu___recording SendMSMMenu___recordingsize SendMSMMenu___recordingduration SendMSMMenu___noinputcount SendMSMMenu___nomatchcount" method="post" enctype="multipart/form-data"/>
50:</catch>
51:</menu>
52:<form id="choice0">
53:<block>
54:<assign name="ddmenuchoice" expr="'PaymentMethod-EndTrack_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main'"/>
55:<goto next="#ddfinish"/>
56:</block>
57:</form>
58:<form id="choice1">
59:<block>
60:<assign name="ddmenuchoice" expr="'PaymentMethod-EndTrack_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main'"/>
61:<goto next="#ddfinish"/>
62:</block>
63:</form>
64:<form id="choice2">
65:<block>
66:<assign name="ddmenuchoice" expr="'PaymentMethod-EndTrack_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main'"/>
67:<goto next="#ddfinish"/>
68:</block>
69:</form>
70:<form id="choice3">
71:<block>
72:<assign name="ddmenuchoice" expr="'PaymentMethod-EndTrack_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main'"/>
73:<goto next="#ddfinish"/>
74:</block>
75:</form>
76:<form id="choice4">
77:<block>
78:<assign name="ddmenuchoice" expr="'PaymentMethod-EndTrack_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main'"/>
79:<goto next="#ddfinish"/>
80:</block>
81:</form>
82:<form id="choice5">
83:<block>
84:<assign name="ddmenuchoice" expr="'PaymentMethod-EndTrack_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main'"/>
85:<goto next="#ddfinish"/>
86:</block>
87:</form>
88:<form id="ddfinish">
89:<block>
90:<assign name="SendMSMMenu___confidence" expr="getnbest('confidence', nbest)"/>
91:<assign name="SendMSMMenu___utterance" expr="getnbest('utterance', nbest)"/>
92:<assign name="SendMSMMenu___inputmode" expr="getnbest('inputmode', nbest)"/>
93:<if cond="SendMSMMenu___inputmode == 'dtmf'">
94: <assign name="SendMSMMenu___interpretation" expr="getnbest('interpretation', nbest)"/>
95:<else/>
96: <assign name="SendMSMMenu___interpretation" expr="getnbest('interpretation.cxtag', nbest)"/>
97:</if>
98:<if cond="startswith(SendMSMMenu___interpretation, 'undefined') == true ">
99: <assign name="SendMSMMenu___interpretation" expr="getnbest('interpretation', nbest)"/>
100:</if>
101:<assign name="SendMSMMenu___value" expr="SendMSMMenu___interpretation"/>
102:<assign name="SendMSMMenu___noinputcount" expr="getnbestnmni(_avayaNoinputCounter, nbest)"/>
103:<assign name="SendMSMMenu___nomatchcount" expr="getnbestnmni(_avayaNomatchCounter, nbest)"/>
104:<submit expr="ddmenuchoice" namelist="SendMSMMenu___value SendMSMMenu___confidence SendMSMMenu___utterance SendMSMMenu___inputmode SendMSMMenu___interpretation SendMSMMenu___noinputcount SendMSMMenu___nomatchcount " method="post"/>
105:</block>
106:</form>
107:</vxml>
108:
19/07/2018 15:30:09:891 INFO - 64E424CB060D1CB29D7B3D70FD4CFA2E:/NGI_1688_Main : Using SCESession 64E424CB060D1CB29D7B3D70FD4CFA2E:/NGI_1688_Main servlet : ExAnn
19/07/2018 15:30:09:897 INFO - 64E424CB060D1CB29D7B3D70FD4CFA2E:/NGI_1688_Main : Storing :NGI_1688_Billing_Event___event to complex: NGI_1688_Billing_Event:event as [error.badfetch.http.404]
19/07/2018 15:30:09:897 INFO - 64E424CB060D1CB29D7B3D70FD4CFA2E:/NGI_1688_Main : Storing :NGI_1688_Billing_Event___message to complex: NGI_1688_Billing_Event:message as [Error fetching document PaymentMethod-NoInput_SMS?___DDSESSIONID=64E424CB060D1CB29D7B3D70FD4CFA2E%3A%2FNGI_1688_Main]
19/07/2018 15:30:09:898 DEBUG - 64E424CB060D1CB29D7B3D70FD4CFA2E:/NGI_1688_Main : *** Reply for [/NGI_1688_Billing/ExAnn] ***
Please advise what could be the reason.
should i add other error catch blocks to check or is there a reason for it?
difference is, catch block is there for all erros in working module.
error happens in menu node in working module and prompt and collect in failing one.
Please assist to advise.
|