Please login or register to access secure site features.

Note: By continuing to use DevConnect Program Services you agree to our latest Registered Member Terms.

Sign in using DevConnect ID

Forgot password?

Trouble logging in?

Submit a ticket for Registration Support.

I have an SSO ID

?
sign in

Don't have a DevConnect or SSO ID ?

Create a DevConnect account or join the program.

register now
^
Forum Index » Avaya Orchestration Designer » Avaya DD code working on one VPMS and not working on other VPMS   XML
 
Author Message
MunmunJain



Joined: 20/12/2013 07:47:22
Messages: 16
Offline

To give a background.

We have 2 AVPs and each AVP has one Avaya code deployed.
Lets call the first version of code as codeA.ear.
CodeA is deployed on both AVP1 and AVP2 and working absolutely fine with no errors.

There is a module named StartCall in the codeA.ear
I created another module StartGreeting, which just has a servlet node to set some java variables in the session. Exported it as reusable module and invoked in StartCall. I call this version of code as codeB.ear

Deployed this on AVP2. Tested and working fine as expected without any errors

The same code which is working fine in AVP2 i.e. codeB is deployed on AVP1 now. This does not work and throws a error.badfetch.bad.document at a point where the reusable module StartGreeting is called and exits the application.

Not able to figure this out why the same code which is working on one AVP not working on other AVP. I thought there should be some issue so re-deployed codeA on AVP1 and tested and it is working fine. But not working with codeB

Is there anything that i am missing out?? i suppose if it is working on one AVP it shud work on other AVP also as the code and the build files are same
MichaelGruzman



Joined: 11/11/2013 16:47:49
Messages: 14
Offline

Munmun, I expect, you restrting AVP1 after deployment codeB. Could be many couses of badfetch error, like java issue, no required libraries and so on. You may check servers log for any issue, at least post that error here.
MunmunJain



Joined: 20/12/2013 07:47:22
Messages: 16
Offline

Below are different errors fro that particular Session ID BUKD3454APP0053-2013357070143-19.
Not sure which is the actual error.
Want to highlight one thing for details of error below at Init_NARLog, that file is executed as seen in the application logs but still not sure why it is giving error at that particular location.

23/12/13 07:11:21 MPP1
VP Telephony Warning PTELE00034 Percentage of Channels Out of Service 10 Has Exceeded Warning Level of 10

FileName=VPChannelTable.cpp LineNumber=138

23/12/13 07:11:21 MPP1
VP Session Manager Error PSESM00070 Application errors occurred for application SCCS IVR, Session ID BUKD3454APP0053-2013357070143-19, [vxml: PAVB_03001, vxml: PAVB_03063]

FileName=SessionMgr.cpp LineNumber=1729

23/12/13 07:11:21 MPP1
VP Telephony Error PTELE00029 Station Command CCMSStation::DropCall: On Channel 1711003 Attempted in Invalid State INVALID CALL ID

FileName=h323/CCMSStation.cpp LineNumber=2775

23/12/13 07:05:58 VPMS
VP SNMP Trap Info PSNMP02602 SNMP: NMS Notification has been sent to UDP:130.177.130.9, Severity: MIN, Event Message: QSESM00070: Application errors occurred for an application

23/12/13 07:01:51 MPP1
VP Telephony Error PTELE00029 Station Command CCMSStation::DropCall: On Channel 1711003 Attempted in Invalid State INVALID CALL ID

FileName=h323/CCMSStation.cpp LineNumber=2775

23/12/13 07:01:50 MPP1
VP Telephony Error PTELE00029 Station Command CCMSStation::DropCall: On Channel 1711003 Attempted in Invalid State INVALID CALL ID

FileName=h323/CCMSStation.cpp LineNumber=2775

23/12/13 07:01:44 MPP1
VP Voice Browser Error PAVB_03001 Unable to load VoiceXML DTD. XML parsing error from DOM. System Id: Init_NARLog?___DDSESSIONID=azVn5hD5C3yI5LuQEngfgQX%3A%2FDispatch, in Line 183, at Column 57, Exception Message: Unterminated entity reference, File Content: <?xml version="1.0" encoding="UTF-8"?> <vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-gb"> <meta name="author" content="Avaya Dialog Designer"/> <meta name="runtime-version" content="05.01.11"/> <meta name="runtimecommon-version" content="05.01.17.02"/> <meta name="copyright" content="Copyright (c) 2002-2010, Avaya"/> <script> function getnbest( item, nbest ) { var len = application.lastresult$.length; var result = ""; if ( len > nbest) { len = nbest; } for (var i = 0; i < len; i++) { if (i > 0) { result += " |"; } var temp = "application.lastresult$[" + i + "]." + item; result += extractprops( "", eval(temp)); } return result; } function getnbestnmni( item, nbest ) { var len = application.lastresult$.length; var result = ""; if ( len > nbest) { len = nbest; } for (var i = 0; i < len; i++) { if (i > 0) { result += " |"; } result += item; } return result; } function extractprops ( parent, obj ) { var prop, name, result = ""; var count = 1; if ( typeof ( obj ) == "object" ) { for ( prop in obj ) { name = parent + prop; if ( typeof ( obj [ prop ] ) == "object" ) { result += extractprops( name+".", obj [ prop ] ); } else { if (count == 1) { result = obj [ prop ]; } else { result += " " + obj [ prop ]; } } count = count + 1; } } else { if (obj == undefined ) { result += "undefined"; } else { result += obj;

Session=BUKD3454APP0053-2013357070143-19

23/12/13 07:01:44 MPP1
VP Voice Browser Error PAVB_03063 error.badfetch - unable to parse contents of URI: Init_NARLog?___DDSESSIONID=azVn5hD5C3yI5LuQEngfgQX%3A%2FDispatch

Session=BUKD3454APP0053-2013357070143-19

MunmunJain



Joined: 20/12/2013 07:47:22
Messages: 16
Offline

The above given is the log from teh AVP log viewer.. Below is the application log error

As i said, Init_NARLog is executed and call has moved forward to SCCS_LogMI reusable module call at which the [error.badfetch.bad.document] is thrown belo. It is working fine in other AVP.


23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Using SCESession azVn5hD5C3yI5LuQEngfgQX:/Dispatch servlet : Init_NARLog
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Storing :appsessionID to simple: appsessionID as [09a30e1b-f87b-4247-945e-55bcf31f16dd]
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: nar_application_id: 0
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: nar_application_server_id: 1
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: use_ndm: y
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: NAR SessionID: BUKD3454APP0053-2013357070143-19
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: appsessionID: [09a30e1b-f87b-4247-945e-55bcf31f16dd] appstepid: []
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: NAR SessionID after useNDM: 09a30e1b-f87b-4247-945e-55bcf31f16dd
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: NAR foldername: NAR/
23/12/2013 07:08:33 WARN - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: NAR filename: APP-0-1-09a30e1b-f87b-4247-945e-55bcf31f16dd-LOG
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.Init_NARLog.servletImplementation: Hostname of local machine: vane060d.unix.barclays.co.uk
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Using SCESession azVn5hD5C3yI5LuQEngfgQX:/Dispatch servlet : checkTestMode
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : [condition1] Condition [testMode] String Equal Ignorecase [Y] next [null]
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Using SCESession azVn5hD5C3yI5LuQEngfgQX:/Dispatch servlet : bc0102_CheckDNIS_DS
23/12/2013 07:08:33 DEBUG - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.bc0102_CheckDNIS_DS.servletImplementation: dnisValue [null]
23/12/2013 07:08:33 DEBUG - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.bc0102_CheckDNIS_DS.servletImplementation: DNIS found for PT_SS
23/12/2013 07:08:33 DEBUG - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.bc0102_CheckDNIS_DS.servletImplementation: language [pt-BR]
23/12/2013 07:08:33 DEBUG - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.bc0102_CheckDNIS_DS.servletImplementation: languageInitialDigit [1]
23/12/2013 07:08:33 DEBUG - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : /Dispatch.bc0102_CheckDNIS_DS.servletImplementation: eventCode [10000000]
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Using SCESession azVn5hD5C3yI5LuQEngfgQX:/Dispatch servlet : setLanguage
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Using SCESession azVn5hD5C3yI5LuQEngfgQX:/Dispatch servlet : SCCS_LogMI_bc0102
23/12/2013 07:08:33 DEBUG - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : *** Reply for [/Dispatch/SCCS_LogMI_bc0102] ***
23/12/2013 07:08:33 DEBUG - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : 0:<?xml version="1.0" encoding="UTF-8"?>
1:<vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-gb">
2:<meta name="author" content="Avaya Dialog Designer"/>
3:<meta name="runtime-version" content="05.01.11"/>
4:<meta name="runtimecommon-version" content="05.01.17.02"/>
5:<meta name="copyright" content="Copyright (c) 2002-2010, Avaya"/>
6:<form id="SCCS_LogMI_bc0102">
7:<subdialog name="SCCS_LogMI_bc0102" src="/SCCS_LogMI/Start?___DDSESSIONID=azVn5hD5C3yI5LuQEngfgQX%3A%2FDispatch&sagecall=portuguese" method="get">
8:<param name="eventDetail" value="ID&V1_bc0102_02_Country=Portugal"/>
9:<param name="locationCode" value="0102"/>
10:<param name="reasonCode" value=""/>
11:<param name="intermittentCode" value="504"/>
12:<filled>
13:</filled>
14:</subdialog>
15:<block>
16:<submit next="CheckFromAgent?___DDSESSIONID=azVn5hD5C3yI5LuQEngfgQX%3A%2FDispatch"/>
17:</block>
18:</form>
19:<form id="Exit1387782513094">
20:<block>
21: <goto next="AvayaDefaultExitHandler?___DDSESSIONID=azVn5hD5C3yI5LuQEngfgQX%3A%2FDispatch"/>
22:</block>
23:<catch event=".">
24: <exit namelist="_avayaExitReason _avayaExitInfo1 _avayaExitInfo2 _avayaExitCustomerId _avayaExitPreferredPath _avayaExitTopic"/>
25:</catch>
26:</form>
27:<form id="Exit1387782513094">
28:<block>
29: <goto next="AvayaDefaultExitHandler?___DDSESSIONID=azVn5hD5C3yI5LuQEngfgQX%3A%2FDispatch"/>
30:</block>
31:<catch event=".">
32: <exit namelist="_avayaExitReason _avayaExitInfo1 _avayaExitInfo2 _avayaExitCustomerId _avayaExitPreferredPath _avayaExitTopic"/>
33:</catch>
34:</form>
35:<form id="Exit1387782513094">
36:<block>
37: <goto next="AvayaDefaultExitHandler?___DDSESSIONID=azVn5hD5C3yI5LuQEngfgQX%3A%2FDispatch"/>
38:</block>
39:<catch event=".">
40: <exit namelist="_avayaExitReason _avayaExitInfo1 _avayaExitInfo2 _avayaExitCustomerId _avayaExitPreferredPath _avayaExitTopic"/>
41:</catch>
42:</form>
43:</vxml>
44:

23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Using SCESession azVn5hD5C3yI5LuQEngfgQX:/Dispatch servlet : setError
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Storing :lastError to simple: lastError as [error.badfetch.bad.document]
23/12/2013 07:08:33 INFO - azVn5hD5C3yI5LuQEngfgQX:/Dispatch : Using SCESession azVn5hD5C3yI5LuQEngfgQX:/Dispatch servlet : Transfer
MunmunJain



Joined: 20/12/2013 07:47:22
Messages: 16
Offline

Below error if this can help you for more information... Date is different but same errors

[19/12/13 16:48:22:710 GMT] 0000001d SystemOut O 19/12/2013 16:48:22 ERROR - VPAppRuntimeVars:getAppVarsAxis2() Caught Exception FAILED to send request to https://xxx.yyy.105.131/axis2/services/VPAppVarsService Application Name: From AE Server: vane060d.unix.barclays.co.uk with error: org.apache.commons.httpclient.protocol.Protocol incompatible with org.apache.commons.httpclient.protocol.Protocol NOTE: It could be caused by this VPMS is not online or some other network issues.
java.lang.ClassCastException: org.apache.commons.httpclient.protocol.Protocol incompatible with org.apache.commons.httpclient.protocol.Protocol
at org.apache.axis2.transport.http.AbstractHTTPSender.getHostConfiguration(AbstractHTTPSender.java:267)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:210)

[19/12/13 16:48:23:768 GMT] 0000001d SystemOut O 19/12/2013 16:48:23 ERROR - VPAppRuntimeVars:getAppVarsAxis2() Caught Exception FAILED to send request to https://23.188.69.52/axis2/services/VPAppVarsService Application Name: From AE Server: vane060d.unix.barclays.co.uk with error: org.apache.commons.httpclient.protocol.Protocol incompatible with org.apache.commons.httpclient.protocol.Protocol NOTE: It could be caused by this VPMS is not online or some other network issues.
java.lang.ClassCastException: org.apache.commons.httpclient.protocol.Protocol incompatible with org.apache.commons.httpclient.protocol.Protocol
at org.apache.axis2.transport.http.AbstractHTTPSender.getHostConfiguration(AbstractHTTPSender.java:267)
at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:520)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:210)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:544)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
MichaelGruzman



Joined: 11/11/2013 16:47:49
Messages: 14
Offline

Manmun, check your app server with problem for installed required runtime support files. I fill, it has no or wrong HttpClient-3.1.jar. Full list of those files see in DD/OD DevGuide.pdf (Installing the runtime support files)
Anonymous


IP: 157.83.125.12

Still facing issues with the reusable module. Where all are the entries mandatory when invoking a reusable module in another DD module.

The Module is not able to locate the reusable module on the appserver. The same thing is working fine in other environments. Is there anything that is missed?
MunmunJain



Joined: 20/12/2013 07:47:22
Messages: 16
Offline

Hi,

Still facing issues with the reusable module. Where all are the entries mandatory when invoking a reusable module in another DD module.

The Module is not able to locate the reusable module on the appserver. The same thing is working fine in other environments. Is there anything that is missed?

Also, getting an error "Unable to load VoiceXML DTD" how can we check where is this voicexml dtd. The path is no where mentioned in the code so assume that it takes the standard w3c dtd
Anonymous


IP: 65.217.255.2

Hi

I am facing same issue. Please someone help...

Unable to load VoiceXML DTD. XML parsing error from DOM. System Id: AF_DeclineWeek-DeclineWeek?___DDSESSIONID=12BAB7C690E085A1CE3C6BC6483F7430%3A%2FInitQ, in Line 144, at Column 66, Exception Message: Expected whitespace, File Content: <?xml version="1.0" encoding="UTF-8"?> <vxml version="2.1" xmlns="http://www.w3.org/2001/vxml" xml:lang="en-us"> <meta name="author" content="Avaya Dialog Designer"/> <meta name="runtime-version" content="05.01.11"/> <meta name="runtimecommon-version" content="05.01.14"/> <meta name="copyright" content="Copyright (c) 2002-2010, Avaya"/> <script> function getnbest( item, nbest ) { var len = application.lastresult$.length; var result = ""; if ( len > nbest) { len = nbest; } for (var i = 0; i < len; i++) { if (i > 0) { result += " |"; } var temp = "application.lastresult$[" + i + "]." + item; result += extractprops( "", eval(temp)); } return result; } function getnbestnmni( item, nbest ) { var len = application.lastresult$.length; var result = ""; if ( len > nbest) { len = nbest; } for (var i = 0; i < len; i++) { if (i > 0) { result += " |"; } result += item; } return result; } function extractprops ( parent, obj ) { var prop, name, result = ""; var count = 1; if ( typeof ( obj ) == "object" ) { for ( prop in obj ) { name = parent + prop; if ( typeof ( obj [ prop ] ) == "object" ) { result += extractprops( name+".", obj [ prop ] ); } else { if (count == 1) { result = obj [ prop ]; } else { result += " " + obj [ prop ]; } } count = count + 1; } } else { if (obj == undefined ) { result +
Anonymous


IP: 223.186.62.81

Hi... The issue which I faced is resolved. Found that there was a special character which was not supported by the OS. So check if there is any special character in the name or anywhere in or around that particular code, except "_".
Anonymous


IP: 65.217.255.2

Hi

My issue is resolved. There was a pair of extra inverted commas "" in the dynamic url for webservice call and so it gave parsing error.

Thanks for your help anyways.

Have a nice weekend!
 
 
Go to: