Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11917

incorrect locale in embedded DS while configuring OpenAM from cli

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 14.1.2
    • Fix Version/s: None
    • Component/s: configurator
    • Labels:
    • 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"
      

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            lubomir.mlich Ľubomír Mlích
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: