Author |
Message |
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Hello,
I have created one simple Engagement designer application 'Test' that make the call. After that I have created OD application that calls my Engagement designer application. I have enable the pdc in orchestration designer, also imported CE Trusted Certificate from the System Manager into OD runtimeconfig web application.
But I am getting error when I call my application. Below is the error:
ERROR : Could not start workflow Test.avaya.sce.runtimecommon.SCERuntimeException: Global CAV __VPEDPlatform is not set, null
**** Root Cause
com.avaya.sce.runtimecommon.SCERuntimeException: Global CAV __VPEDPlatform is not set, null
Please suggest me the right path. I am stuck in this.
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
The error seems to not come from ED but some other component, probably OD. Can you please post this to OD forum
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Thanks Anurag for replying,
I will post my question on OD forum, but if you find something then please let me know
Thanks
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Hi Anurag,
The issue above I mention it's now resolve. But, now I am getting the below error when calling Engagement designer from OD application.
I think this issue is related to Engagement designer:
"com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow 302"
Thanks in advance
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
can you please provide the ED log
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
From where I find my ED logs can you provide the path.
Below is the some logs from trace file of OD:
com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow 302
at com.avaya.ceevent.CollaborationEnvironment.startNamedWorkFlow(CollaborationEnvironment.java:271)
at com.avaya.sce.pdc.workflow.StartWorkflow.execute(StartWorkflow.java:124)
at com.avaya.sce.runtime.Data.evaluateActions(Data.java:237)
at flow.CallEDApplication.executeDataActions(CallEDApplication.java:81)
at com.avaya.sce.runtime.Data.handleRequest(Data.java:121)
at com.avaya.sce.runtime.AppServlet.processRequest(AppServlet.java:96)
at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:243)
at com.avaya.sce.runtime.SCEServlet.doPost(SCEServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.avaya.sce.runtime.SCEServlet.forward(SCEServlet.java:1453)
at com.avaya.sce.runtime.BasicServlet.handleRequest(BasicServlet.java:133)
at com.avaya.sce.runtime.AppServlet.processRequest(AppServlet.java:96)
at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:243)
at com.avaya.sce.runtime.SCEServlet.doPost(SCEServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.avaya.sce.runtime.SCEServlet.forward(SCEServlet.java:1453)
at com.avaya.sce.runtime.Data.handleRequest(Data.java:184)
at com.avaya.sce.runtime.AppServlet.processRequest(AppServlet.java:96)
at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:243)
at com.avaya.sce.runtime.SCEServlet.doPost(SCEServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
ED logs are on the breeze node running ED
/var/log/Avaya/services/EngagementDesigner/EngagementDesigner.log
but if you are still seeing issues in OD traces, probably you shoudl also check with OD team
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Ok i will post my question on od forum
Thanks Anurag for your help
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Hi Wilson,
The above issue was resolved thanks for your help.
Now i am getting one more error, when I call my Engagement designer application from od. Below are the logs from trace. Log file:
com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow 302
at com.avaya.ceevent.CollaborationEnvironment.startNamedWorkFlow(CollaborationEnvironment.java:271)
at com.avaya.sce.pdc.workflow.StartWorkflow.execute(StartWorkflow.java:124)
at com.avaya.sce.runtime.Data.evaluateActions(Data.java:237)
at flow.CallEDApplication.executeDataActions(CallEDApplication.java:81)
at com.avaya.sce.runtime.Data.handleRequest(Data.java:121)
at com.avaya.sce.runtime.AppServlet.processRequest(AppServlet.java:96)
at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:243)
at com.avaya.sce.runtime.SCEServlet.doPost(SCEServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.avaya.sce.runtime.SCEServlet.forward(SCEServlet.java:1453)
at com.avaya.sce.runtime.BasicServlet.handleRequest(BasicServlet.java:133)
at com.avaya.sce.runtime.AppServlet.processRequest(AppServlet.java:96)
at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:243)
at com.avaya.sce.runtime.SCEServlet.doPost(SCEServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.avaya.sce.runtime.SCEServlet.forward(SCEServlet.java:1453)
at com.avaya.sce.runtime.Data.handleRequest(Data.java:184)
at com.avaya.sce.runtime.AppServlet.processRequest(AppServlet.java:96)
at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:243)
at com.avaya.sce.runtime.SCEServlet.doPost(SCEServlet.java:148)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)
Please let me know what i need to do now.
Thanks
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Hello Anurag,
Is there any web service to call engagement designer application
From Orchestration designer or from java code?
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
Hi,
The error message from OD java library has 302 which appears like http code for redirect, probably what is happening is ED uses SMGS SSO and is redirecting to SMGR and this is failing to redirect, I am not sure how to handle this in OD or java code
The easier way is that if your flow starts when publishing Breeze event, then you can publish the event instead using breeze event api
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
Thanks Anurag for replying,
How can I publish the Breeze event withour using breeze event api?
Or there is no other way to call Engagement designer application from OD?
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
Breeze provides REST also to produce events, it is called Eventing connector, I do not remember the syntax if that, can you ask somebody in breeze team
|
|
|
|
|
rangari
Joined: Jun 18, 2015
Messages: 132
Offline
|
One more thing Anurag, when I used SIP Entity Address of the Avaya Breeze as in OD doc to call ED from OD instead of breeze FQDN I am getting below error:
com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow com.avaya.ceevent.CollaborationEnvironmentException: Error Starting Workflow 400
You know anything about this error.
Thanks
|
|
|
|
|
AnuragAggarwal
Joined: Jun 1, 2014
Messages: 154
Offline
|
looking at 400 http code on internet it says bad request - it can be due to myraid of reasons that Breeze server does not understand the request, it is difficult to tell without understanding what OD is sending
I think if you want to continue using OD library - you should get more support from OD team
If you want to use Breeze eventing REST, then some body n breeze can help or I can try to find relevant documenation in day or two
|
|
|