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.confnorLANG=ja_JP.UTF-8wokrs fine. How we can correct this language issue?
Environment
- OpenShift Container Platform
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
