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 » com.avaya.sce.runtimecommon.SCERuntimeException: Language [en-us] is invalid for this application   XML
 
Author Message
Raphael1001fly



Joined: 20/08/2020 16:26:56
Messages: 15
Offline

Hello friends,

Im recieving ERROR when I verify the APP on EPM V7.2.3 - com.avaya.sce.runtimecommon.SCERuntimeException: Language [en-us] is invalid for this application

project.languages
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ProjectLanguages>
<language asr="en-us" localization="en-us" localizationVersion="3.1.2" name="english" stdPhrasesInstalled="true" stdPhrasesLocation="LOCAL" tts="en-us"/>
</ProjectLanguages>

project.module
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<module category="" descriptorversion="1.0" entrypoint="APP_V1Start" forcesubdialogcall="false" frameworkversion="07.23.08.03" iconlarge="icons/defaultapplicationlg.gif" iconsmall="icons/defaultapplicationsm.gif" modifyInputs="false" modifyOutputs="false" nature="" outputmultipart="false" paramasnamelist="false" provider="atento!" submitmethod="" version="1.0.0" webname="APP_V1">
<description>Raphael Weber - 05/2021</description>
<language name="english" root="en-us"/>
<dependencies/>
</module>

web.xml
<display-name>APP_V1</display-name>
<context-param>
<param-name>sage.startlanguage</param-name>
<param-value>en-us</param-value>
<description>The starting language for the application.</description>
</context-param>

Could you help me?

Thanks in advance
[Thumb - Tree.PNG]
 Filename Tree.PNG [Disk] Download
 Description No description given
 Filesize 11 Kbytes
 Downloaded:  73 time(s)

[Thumb - Project.PNG]
 Filename Project.PNG [Disk] Download
 Description No description given
 Filesize 22 Kbytes
 Downloaded:  83 time(s)

[Thumb - Eclipse.PNG]
 Filename Eclipse.PNG [Disk] Download
 Description No description given
 Filesize 28 Kbytes
 Downloaded:  73 time(s)

This message was edited 1 time. Last update was at 09/06/2021 17:21:57

WilsonYu



Joined: 06/11/2013 14:29:24
Messages: 3836
Online

This is odd. Can you check to see if the project.languages file is in the deployed war file's data directory?
Raphael1001fly



Joined: 20/08/2020 16:26:56
Messages: 15
Offline

Hello Wilson,

Yes it is.

Follow the attachment.
[Thumb - deployed.PNG]
 Filename deployed.PNG [Disk] Download
 Description No description given
 Filesize 11 Kbytes
 Downloaded:  72 time(s)

Raphael1001fly



Joined: 20/08/2020 16:26:56
Messages: 15
Offline



I made a change but without result:

by
<language asr="en-us" localization="en-us" localizationVersion="3.1.2" name="english" stdPhrasesInstalled="true" stdPhrasesLocation="LOCAL" tts="en-us"/>

to
<language asr="en-us" localization="en-us" localizationVersion="3.1.2" name="english" stdPhrasesInstalled="true" stdPhrasesLocation="EXTERNAL" tts="en-us"/>
Raphael1001fly



Joined: 20/08/2020 16:26:56
Messages: 15
Offline

This is a more detailed stack:

HTTP Status 500 – Internal Server Error
Type Status Report

Message com.avaya.sce.runtimecommon.SCERuntimeException: Servlet Exceptioncom.avaya.sce.runtimecommon.SCERuntimeException: com.avaya.sce.runtimecommon.SCERuntimeException: Language [en-us] is invalid for this application **** Root Cause com.avaya.sce.runtimecommon.SCERuntimeException: Language [en-us] is invalid for this application at com.avaya.sce.runtimecommon.SCESession.throwRTException(SCESession.java:2620) at com.avaya.sce.runtimecommon.SCESession.setCurrentLanguage(SCESession.java:1236) at com.avaya.sce.runtimecommon.SCESession.setDefaultLanguage(SCESession.java:1776) at com.avaya.runtime.platforms.Toolkit.getCurrentLanguageLocalization(Toolkit.java:53) at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:246) at com.avaya.sce.runtime.SCEServlet.doGet(SCEServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) at com.avaya.sce.runtime.Entry.service(Entry.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:835) **** Root Cause com.avaya.sce.runtimecommon.SCERuntimeException: com.avaya.sce.runtimecommon.SCERuntimeException: Language [en-us] is invalid for this application **** Root Cause com.avaya.sce.runtimecommon.SCERuntimeException: Language [en-us] is invalid for this application at com.avaya.sce.runtimecommon.SCESession.throwRTException(SCESession.java:2620) at com.avaya.sce.runtimecommon.SCESession.setCurrentLanguage(SCESession.java:1236) at com.avaya.sce.runtimecommon.SCESession.setDefaultLanguage(SCESession.java:1776) at com.avaya.runtime.platforms.Toolkit.getCurrentLanguageLocalization(Toolkit.java:53) at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:246) at com.avaya.sce.runtime.SCEServlet.doGet(SCEServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) at com.avaya.sce.runtime.Entry.service(Entry.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:835) at com.avaya.sce.runtimecommon.SCESession.throwRTException(SCESession.java:2609) at com.avaya.sce.runtimecommon.SCESession.setDefaultLanguage(SCESession.java:1778) at com.avaya.runtime.platforms.Toolkit.getCurrentLanguageLocalization(Toolkit.java:53) at com.avaya.sce.runtime.SCEServlet.requestHandler(SCEServlet.java:246) at com.avaya.sce.runtime.SCEServlet.doGet(SCEServlet.java:140) at javax.servlet.http.HttpServlet.service(HttpServlet.java:626) at com.avaya.sce.runtime.Entry.service(Entry.java:52) at javax.servlet.http.HttpServlet.service(HttpServlet.java:733) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:888) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1597) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:835) Caused by: com.avaya.sce.runtimecommon.SCERuntimeException: Language [en-us] is invalid for this application at com.avaya.sce.runtimecommon.SCESession.throwRTException(SCESession.java:2620) at com.avaya.sce.runtimecommon.SCESession.setCurrentLanguage(SCESession.java:1236) at com.avaya.sce.runtimecommon.SCESession.setDefaultLanguage(SCESession.java:1776) ... 28 more

Description The server encountered an unexpected condition that prevented it from fulfilling the request.
WilsonYu



Joined: 06/11/2013 14:29:24
Messages: 3836
Online

The parameter value is not right. It should be english not en-us.

<param-name>sage.startlanguage</param-name>
<param-value>en-us</param-value>
Raphael1001fly



Joined: 20/08/2020 16:26:56
Messages: 15
Offline

Thanks Wilson.

After your solution the problem was solved

:)
 
 
Go to: