How to set systeml locale for images
Issue
- When we deploy s2i images, it does not display the local language correctly. For example, JBoss EAP image outputs the language like this:
08:20:00,421 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: JBoss EAP 7.0.8.GA (WildFly Core 2.1.18.Final-redhat-1) ? 9446ms ??????? - ???? 598 ???? 306 ???????? (380 ???????????????????????????)?
- Neither setting
# echo 'JAVA_OPTS="$JAVA_OPTS -Duser.language=ja -Duser.country=JP"' >> /opt/eap/bin/standalone.conf
norLANG=ja_JP.UTF-8
works fine. How we can correct this language issue?
Environment
- Red Hat OpenShift Container Platform
- 3.x
- 4.x
- JBoss EAP for OpenShift
- 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.