Author Message
Raphael1001fly
Joined: Aug 20, 2020
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]

  • [Thumb - Project.PNG]

  • [Thumb - Eclipse.PNG]

WilsonYu
Joined: Nov 6, 2013
Messages: 3944
Offline
This is odd. Can you check to see if the project.languages file is in the deployed war file's data directory?
Raphael1001fly
Joined: Aug 20, 2020
Messages: 15
Offline
Hello Wilson,

Yes it is.

Follow the attachment.
  • [Thumb - deployed.PNG]

Raphael1001fly
Joined: Aug 20, 2020
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: Aug 20, 2020
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: Nov 6, 2013
Messages: 3944
Offline
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: Aug 20, 2020
Messages: 15
Offline
Thanks Wilson.

After your solution the problem was solved

:)
Go to:   
Mobile view