Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleMake sure the language you want to support is installed on your operating system

Be aware that you can configure and issue the “$export LC_ALL=<locale>” even when that locale is not really supported on your installation. Even more, after that unsupported configuration, the  “locale” command shows supposed current locale even when the OS does not really manage it if it is not installed.

 


JVM Checks


The JVM takes some environment values from the OS ones operating system by default. To check the default locale (among others) your JVM is using you can use this class:

...

Code Block
$java -Duser.timezone=Europe/Madrid -Duser.country=ES -Duser.language=es Prop01

java.runtime.name=Java(TM) 2 Runtime Environment, Stand...
sun.boot.library.path=/apps/jdk/jdk150_02/jre/lib/i386
java.vm.version=1.5.0_02-b09
.....
user.country=ES
user.timezone=Europe/Madrid
user.language=es
.....


You should put change those environment variables before starting your bedework Bedework installation , as like this:

Code Block
(Unix)

JAVA_OPTS="$JAVA_OPTS -Duser.timezone= Europe/Madrid  -Duser.country=ES -Duser.language=es -Dfile.encoding=UTF-8 -Duser.variant=ES "
Code Block
(windows)

SET JAVA_OPTS=%JAVA_OPTS%  -Duser.timezone=Europe/Madrid  -Duser.country=ES -Duser.language=es -Dfile.encoding=UTF-8 -Duser.variant=ES 


The  startjboss  or  startjboss.bat  inherits the values of JAVA_OPTS and adds them to the ones it sets itseltitself.