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 » Application fails to run via AEP, however, it runs fine in AOD simulation mode   XML
 
Author Message
JaydeepH



Joined: 24/02/2017 04:50:54
Messages: 28
Offline

Dear DevConnect Team,

Here's the environment details:

AOD 7.2.1.0502
AEP 7.1.0.1.0004
MPP 7.1.0.1.0006
Windows based Tomcat Application Server (Tomcat 8.5.43)
Windows Server 2008 R2
Java version: JRE 1.8.0_181

Issue:
Application works fine in Simulation environment in AOD. However, when we attach the application on AEP applications page and try to call the DDI, it hits the application and fails at the beginning.

Is this any known issue or any workaround to get this work?

Another question - is there any limit to the number of items in Data node?

Description:
In simulation mode, the call covers all the logics within "AssignValues" data node and later move to welcome announcement. However, in actual call via AEP, the call is executed only till a certain point before disconnecting (as shown in attached screenshot of data node, the trace below red line is not executed at all, instead, we see application errors and call exits).

Additionally, we are getting these continuous HTTP 404 error in localhost access log file:

- - [12/Apr/2021:12:41:55 +0100] "POST /MnSGiftCard1/Greeting?___DDSESSIONID=641E7169038C8E7BD549A03F644D80E8%3A%2FMnSGiftCard1 HTTP/1.1" 404 1116
- - [12/Apr/2021:12:41:55 +0100] "GET /MnSGiftCard1/Error?___DDSESSIONID=641E7169038C8E7BD549A03F644D80E8%3A%2FMnSGiftCard1 HTTP/1.1" 404 1102
- - [12/Apr/2021:12:41:55 +0100] "GET /MnSGiftCard1/Error?___DDSESSIONID=641E7169038C8E7BD549A03F644D80E8%3A%2FMnSGiftCard1 HTTP/1.1" 404 1102
- - [12/Apr/2021:12:41:55 +0100] "GET /MnSGiftCard1/Error?___DDSESSIONID=641E7169038C8E7BD549A03F644D80E8%3A%2FMnSGiftCard1 HTTP/1.1" 404 1102

I will be happy to share / collect any additional log files/application details if required as this looks like a weird issue.

There are few other options more which I haven't tried yet - not sure whether this will help:
1. Restart MPP servers
2. Restart application server
3. Deploy the application in different environment (different application server and different MPP).

Appreciate any inputs on this,

Thanks for your support.

Warm regards,
Jaydeep Hatekar
[Thumb - Data-Node.jpg]
 Filename Data-Node.jpg [Disk] Download
 Description AssignValues Data Node screenshot (at the beginning of application)
 Filesize 123 Kbytes
 Downloaded:  31 time(s)

WilsonYu



Joined: 06/11/2013 14:29:24
Messages: 3720
Offline

You would need to provide some logs on the OD side. If you enable the the parameters on EPM (as shown in the attachment), you can get some useful logs in the app's trace.log file.
[Thumb - epmreportparams.png]
 Filename epmreportparams.png [Disk] Download
 Description No description given
 Filesize 16 Kbytes
 Downloaded:  45 time(s)

JaydeepH



Joined: 24/02/2017 04:50:54
Messages: 28
Offline

Thanks for your response Wilson. I had already enabled the application trace along with MPP logs to finest level to get more clues about the application error. However, we are getting blank as per below:

12/04/2021 12:41:55:934 ERROR - 641E7169038C8E7BD549A03F644D80E8:/MnSGiftCard1 : session id:MVSCCMMPPWM02-2021102114550-18 | MnSGiftCard1:Error | System Error has occurred for Call ID | CallID : 10001513021618227950
12/04/2021 12:41:55:934 INFO - 641E7169038C8E7BD549A03F644D80E8:/MnSGiftCard1 : session id:MVSCCMMPPWM02-2021102114550-18 | MnSGiftCard1:Error | Error Thrown: | ddLastException:errorcode :
12/04/2021 12:41:55:934 INFO - 641E7169038C8E7BD549A03F644D80E8:/MnSGiftCard1 : session id:MVSCCMMPPWM02-2021102114550-18 | MnSGiftCard1:Error | Error Message: | ddLastException:message :
12/04/2021 12:41:55:934 INFO - 641E7169038C8E7BD549A03F644D80E8:/MnSGiftCard1 : session id:MVSCCMMPPWM02-2021102114550-18 | MnSGiftCard1:Error | Error Type: | ddLastException:type :
12/04/2021 12:41:55:934 INFO - 641E7169038C8E7BD549A03F644D80E8:/MnSGiftCard1 : session id:MVSCCMMPPWM02-2021102114550-18 | MnSGiftCard1:Error | | session:lasterror :
12/04/2021 12:41:55:934 INFO - 641E7169038C8E7BD549A03F644D80E8:/MnSGiftCard1 : Using SCESession 641E7169038C8E7BD549A03F644D80E8:/MnSGiftCard1 servlet : End

There is no clue from any of the application trace or MPP logs.

Additionally, I am facing a weird issue that each time I do some changes to trace in AOD data node and regenerate the war file and deploy it freshly, each time the old version of the application is fetched instead of new application.

Is this faced / experienced before? Any workaround so that new war file is fetched instead of old application?

Appreciate any inputs on this regard,

Thanks for your support.

Warm regards,
Jaydeep Hatekar
WilsonYu



Joined: 06/11/2013 14:29:24
Messages: 3720
Offline

It seems that the error (coming from mpp) get caught by the error handler in the app and the End node has been executed. The MPP log would give you more clue on what the error is.
The cleanest way to redeploy the app is removing the app folder and war file from the Tomcat/webapps directory and drop in the new war file. Never trust the Tomcat deployer.
JaydeepH



Joined: 24/02/2017 04:50:54
Messages: 28
Offline

Hi Wilson,

I did enable MPP logs to FINEST level; however, it only shows PAVB errors without any more details:

@2021-04-14 07:38:21,108||FINE|SessMgr|9578||CCall::Disconnected Call [228099] has disconnected (1, NearEndDisconnect : Application exited. [ERRORS]), endpoint 681841 destroyed|MVSCCMMPPLD02####
@2021-04-14 07:38:21,108||FINEST|SessMgr|9578||******** Leaving Call.cpp:1159:Disconnected|MVSCCMMPPLD02####
@2021-04-14 07:38:21,109|PSESM00070|ERROR|SessMgr|9578|FileName=SessionMgr.cpp,LineNumber=2082|Application errors occurred for application ProductionTestApp, Session ID MVSCCMMPPLD02-2021104063759-15, [vxml: PAVB_00191, vxml: PAVB_03064]|MVSCCMMPPLD02####
@2021-04-14 07:38:21,108||FINER|SessMgr|9578||Call object destroyed, CallID 228099 - MVSCCMMPPLD02-Session Managers-1-2021104063759|MVSCCMMPPLD02####
@2021-04-14 07:38:21,108||FINE|SessMgr|9578||Session::Run: No calls for session, setting termination timeout to 300000, Shutdown requested 1|MVSCCMMPPLD02####
@2021-04-14 07:38:21,108||FINER|SessMgr|9578||Check for exit conditions for session: [Call 0, CCXML 0, VXML 0, Preparing 0, Msg 1], wait time = 320 ms|MVSCCMMPPLD02####

And with reference to deploying new war file in tomcat instance, I always stop tomcat service and then delete both the war file and its folder from webapps folder and place the new war file and start tomcat service so that a new folder is created for the war.

I am still searching for more clues/ideas on how to get this going as this is simply weird that application runs in AOD simulator; however, the same nodes are not working similarly while making test calls.

Warm regards,
Jaydeep Hatekar
WilsonYu



Joined: 06/11/2013 14:29:24
Messages: 3720
Offline

It doesn't even seem that the call lands on the app server. You definitely need to check the URL and see where the request is going to.
 
 
Go to: