How to set systeml locale for images?

Solution In Progress - Updated -

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 nor LANG=ja_JP.UTF-8 wokrs 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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.