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 » REST - Exception java.lang.Exception: java.lang.NoSuchMethodError:   XML
Author Message

Joined: 06/04/2017 10:03:12
Messages: 42


I have a very basic speech flow that contains a start, a rest call and an exit.

When I run this app locally on my OD 7.2 environment, it works fine:
01/07/2021 08:56:08:224 INFO - 29287CE7B0BD6832B13A423FC85F9399:/Rest_Test : Starting REST web service operation [restAuth2]
01/07/2021 08:56:09:246 INFO - 29287CE7B0BD6832B13A423FC85F9399:/Rest_Test : Using No Authentication for web service call, keystore : file:/ on port : 443
01/07/2021 08:56:09:256 DEBUG - 29287CE7B0BD6832B13A423FC85F9399:/Rest_Test : Web Service Request ->
01/07/2021 08:56:12:715 DEBUG - 29287CE7B0BD6832B13A423FC85F9399:/Rest_Test : Storing [{"result":"Success","message":"Authentication Response","info":{"status":"Active","platform":"Blue","payrollseason":"RegularSeason"}}] to: resultAuthentication
01/07/2021 08:56:12:716 DEBUG - 29287CE7B0BD6832B13A423FC85F9399:/Rest_Test : Web Service Reply <- {"result":"Success","message":"Authentication Response","info":{"status":"Active","platform":"Blue","payrollseason":"RegularSeason"}}

I then deploy the app to the server, dial into it and it throws an error
01/07/2021 09:03:57:755 ERROR - 14CCA4F3751B1B9436A78EE5FB97FD87:/Rest_Test : session id:atc1ava9mpp01-2021182140356-14 | Error processing request
java.lang.Exception: java.lang.NoSuchMethodError: com.avaya.sce.runtimecommon.config.ICertificateKeystoreConfig.getProtocolForPort(Ljava/lang/String;ZI)Lorg/apache/commons/httpclient/protocol/Protocol;
at com.avaya.sce.runtime.AppServlet.processRequest(
at com.avaya.sce.runtime.SCEServlet.requestHandler(
at com.avaya.sce.runtime.SCEServlet.doPost(
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.tomcat.websocket.server.WsFilter.doFilter(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.AbstractHttp11Processor.process(
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at org.apache.tomcat.util.threads.TaskThread$
at Source)
Caused by: java.lang.NoSuchMethodError: com.avaya.sce.runtimecommon.config.ICertificateKeystoreConfig.getProtocolForPort(Ljava/lang/String;ZI)Lorg/apache/commons/httpclient/protocol/Protocol;
at com.avaya.sce.runtime.connectivity.restws.CallService.configureAuthentication(
at com.avaya.sce.runtime.connectivity.restws.Axis2RestStub.execute(
at com.avaya.sce.runtime.connectivity.restws.CallService.execute(
at com.avaya.sce.runtime.Data.evaluateActions(
at flow.restAuthentication.executeDataActions(
at com.avaya.sce.runtime.Data.handleRequest(
at com.avaya.sce.runtime.AppServlet.processRequest(
... 24 more

I've attached screenshots of both logs as well as the REST connector details if that helps.

[Thumb - rest Part 1.JPG]
 Filename rest Part 1.JPG [Disk] Download
 Description No description given
 Filesize 71 Kbytes
 Downloaded:  82 time(s)

This message was edited 1 time. Last update was at 01/07/2021 09:19:17


Joined: 06/04/2017 10:03:12
Messages: 42

one more file
[Thumb - rest Part 2.JPG]
 Filename rest Part 2.JPG [Disk] Download
 Description No description given
 Filesize 54 Kbytes
 Downloaded:  79 time(s)


Joined: 06/04/2017 10:03:12
Messages: 42

I had to mod the log files sorry about that.
 Filename Ran Locally.txt [Disk] Download
 Description No description given
 Filesize 9 Kbytes
 Downloaded:  75 time(s)

 Filename Ran on Server.txt [Disk] Download
 Description No description given
 Filesize 10 Kbytes
 Downloaded:  74 time(s)


Joined: 06/11/2013 14:29:24
Messages: 3858

Can you take a look at the version of the scertcommon jar file (Tomcat/lib) and scert jar (WEB-INF/lib) file. I think they are out of sync.

Joined: 06/04/2017 10:03:12
Messages: 42

Thank you for your assistance.
There were 2 scertcommon_xxx in the tomcat/lib folder. I removed one, restarted tomcat and now the application works.
Go to: