[OPENAM-11917] incorrect locale in embedded DS while configuring OpenAM from cli Created: 06/Oct/17  Updated: 09/Oct/17

Status: Open
Project: OpenAM
Component/s: configurator
Affects Version/s: 14.1.2
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Ľubomír Mlích Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: EDISON
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 7
java version "1.8.0_131"
Apache Tomcat Version 7.0.78
OpenAM 14.1.2-M1


Rank: 1|hzud9r:

 Description   

Bug description

I see japanese or chinese characters in installation log after CLI configuration. Don't see this when configuring from web GUI or when installing just DS.

How to reproduce the issue

  1. export LC_ALL=cs_CZ.UTF-8
  2. export LANG=cs_CZ.UTF-8
  3. deploy AM
  4. use cli configurator to set up AM

my config.properties file:

$ cat config.properties
SERVER_URL=http://amqa-clone74.test.forgerock.com:8080
DEPLOYMENT_URI=/openam
BASE_DIR=/root/openam
locale=cs_CZ.UTF-8
PLATFORM_LOCALE=en_US
AM_ENC_KEY=
ADMIN_PWD=password
AMLDAPUSERPASSWD=password1
COOKIE_DOMAIN=forgerock.com
ACCEPT_LICENSES=true
DATA_STORE=embedded
DIRECTORY_SSL=SIMPLE
DIRECTORY_SERVER=localhost
DIRECTORY_PORT=50389
DIRECTORY_ADMIN_PORT=4444
DIRECTORY_JMX_PORT=1689
ROOT_SUFFIX=dc=openam,dc=forgerock,dc=org
DS_DIRMGRDN=cn=Directory Manager
DS_DIRMGRPASSWD=password
Expected behaviour

Should see Říj as a name of this month on last line:

java -jar ssocnf/openam-configurator-tool-14.1.2-M1.jar -f ./config.properties
10/06/2017 11:33:59:944 dop. BST: Checking license acceptance...
10/06/2017 11:33:59:945 dop. BST: License terms accepted.
10/06/2017 11:33:59:950 dop. BST: Checking configuration directory /root/openam.
10/06/2017 11:33:59:951 dop. BST: ...Success.
10/06/2017 11:33:59:959 dop. BST: Extracting OpenDJ, please wait...
10/06/2017 11:34:00:520 dop. BST: Complete
10/06/2017 11:34:00:520 dop. BST: Running OpenDJ setup
10/06/2017 11:34:02:254 dop. BST: ...Success
10/06/2017 11:34:02:321 dop. BST: Starting OpenDJ for serverRoot /root/openam/opends
10/06/2017 11:34:08:063 dop. BST: ...Success.
10/06/2017 11:34:08:063 dop. BST: ...Success.
10/06/2017 11:34:08:064 dop. BST: Installing OpenAM configuration store in /root/openam/opends
10/06/2017 11:34:08:087 dop. BST: Creating OpenAM suffix
Import task 20171006113409145 scheduled to start immediately
[06/Říj/2017:11:34:09 +0100] severity="NOTICE" msgCount=0 msgID=org.opends.messages.backend-413 message="Import task 20171006113409145 started execution"
Current behaviour

I see name of the month in another language - ᅤリᅢᆳj:

java -jar ssocnf/openam-configurator-tool-14.1.2-M1.jar -f ./config.properties
10/06/2017 11:33:59:944 dop. BST: Checking license acceptance...
10/06/2017 11:33:59:945 dop. BST: License terms accepted.
10/06/2017 11:33:59:950 dop. BST: Checking configuration directory /root/openam.
10/06/2017 11:33:59:951 dop. BST: ...Success.
10/06/2017 11:33:59:959 dop. BST: Extracting OpenDJ, please wait...
10/06/2017 11:34:00:520 dop. BST: Complete
10/06/2017 11:34:00:520 dop. BST: Running OpenDJ setup
10/06/2017 11:34:02:254 dop. BST: ...Success
10/06/2017 11:34:02:321 dop. BST: Starting OpenDJ for serverRoot /root/openam/opends
10/06/2017 11:34:08:063 dop. BST: ...Success.
10/06/2017 11:34:08:063 dop. BST: ...Success.
10/06/2017 11:34:08:064 dop. BST: Installing OpenAM configuration store in /root/openam/opends
10/06/2017 11:34:08:087 dop. BST: Creating OpenAM suffix
Import task 20171006113409145 scheduled to start immediately
[06/ᅤリᅢᆳj/2017:11:34:09 +0100] severity="NOTICE" msgCount=0 msgID=org.opends.messages.backend-413 message="Import task 20171006113409145 started execution"

 


Generated at Thu Feb 25 15:49:05 UTC 2021 using Jira 7.13.12#713012-sha1:6e07c38070d5191bbf7353952ed38f111754533a.