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

AM 7.0 configurator hangs while installation


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 7.0.0
    • Fix Version/s: None
    • Component/s: configurator, install
    • Labels:


      Bug description

      AM 7.0 configurator ( embedded ) hangs while installation

      Tomcat 8.5.57

      jdk 11.0.8+10 

      How to reproduce the issue

      This issue does not happen in all machines.

      But on some particular machines, the AM 7.0 configurator will hangs at "while creating suffix" . See attachment below


       21-Aug-2020 16:40:51.173 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 62806 ms
      16:40:52.783 [http-nio-8080-exec-2] DEBUG org.forgerock.openam.ldap.LDAPUtils - LDAPUtils: LDAPS Protocols used [TLSv1.3, TLSv1.2, TLSv1.1, TLSv1]
      08/21/2020 04:40:52:794 PM SGT: Checking license acceptance...
      08/21/2020 04:40:52:797 PM SGT: License terms accepted.
      08/21/2020 04:40:52:820 PM SGT: Checking configuration directory /work/test-openam7.0.0/test/openam7.0.0-conf.
      08/21/2020 04:41:00:799 PM SGT: ...Success.
      08/21/2020 04:41:06:861 PM SGT: Extracting DS, please wait...
      08/21/2020 04:41:38:835 PM SGT: Complete
      08/21/2020 04:41:38:837 PM SGT: Running DS setup
      08/21/2020 04:41:46:980 PM SGT: ...Success
      08/21/2020 04:41:46:984 PM SGT: Starting DS for serverRoot /work/test-openam7.0.0/test/openam7.0.0-conf/opends
      08/21/2020 04:42:02:450 PM SGT: ...Success.
      08/21/2020 04:42:02:451 PM SGT: ...Success.
      08/21/2020 04:42:02:453 PM SGT: Installing embedded DS configuration store in /work/test-openam7.0.0/test/openam7.0.0-conf/opends
      08/21/2020 04:42:02:916 PM SGT: Creating AM suffix


      Expected behaviour
      Should not hang
      Current behaviour
      it hang and the jstack show 
      "http-nio-8080-exec-2" #23 daemon prio=5 os_prio=0 cpu=61541.83ms elapsed=125.52s tid=0x00007f4c5c546000 nid=0xc96 waiting for monitor entry  [0x00007f4c023f6000]
         java.lang.Thread.State: BLOCKED (on object monitor)
              at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:63)
              - waiting to lock <0x00000000cc8f2e60> (a org.forgerock.openam.logback.EmbeddedDirectoryAppender)
              at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:51)
              at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270)
              at ch.qos.logback.classic.Logger.callAppenders(Logger.java:257)
              at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:421)
              at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383)
              at ch.qos.logback.classic.Logger.trace(Logger.java:445)
              at org.forgerock.i18n.slf4j.LocalizedLogger.trace(LocalizedLogger.java:5184)



      Prior to the installation of AM 7.0.0

      Remove the following flag -Dcom.iplanet.services.debug.level=message in your web container java setting ( eg Tomcat 's setenv.sh ) will bypass the issue

      Restart and redo the installation.









            • Assignee:
              sam.phua Sam Phua
            • Votes:
              0 Vote for this issue
              5 Start watching this issue


              • Created: