Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2089

Infinite wildfly boot on StartException in service start

    XMLWordPrintable

Details

    • Hide
      • Remove #$REALM_NAME=ManagementRealm$ line from standalone/configuration/mgmt-users.properties
      • Start wildfly: bin/standalone.sh --server-config=standalone-elytron.xml
      • Wildfly will froze during start, connecting to CLI will be impossible.
      Show
      Remove #$REALM_NAME=ManagementRealm$ line from standalone/configuration/mgmt-users.properties Start wildfly: bin/standalone.sh --server-config=standalone-elytron.xml Wildfly will froze during start, connecting to CLI will be impossible.

    Description

      Following exception (and probably similar too) will cause wildfly frozing during start. Visible especially during integration tests (which will never ends), but reproducible directly too (see steps).

      15:59:37,252 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service org.wildfly.security.security-realm.ManagementRealm: org.jboss.msc.service.StartException in service org.wildfly.security.security-realm.ManagementRealm: WFLYELY00025: Referenced property file is invalid: ELY01006: No realm name found in password property file
      	at org.wildfly.extension.elytron.PropertiesRealmDefinition$1$1.get(PropertiesRealmDefinition.java:185)
      	at org.wildfly.extension.elytron.PropertiesRealmDefinition$1$1.get(PropertiesRealmDefinition.java:164)
      	at org.wildfly.extension.elytron.TrivialService.start(TrivialService.java:53)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1963)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1896)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      

      Update: This problem with infinite boot will occure everytime the start() method of some service throws StartException(). Not an Elytron problem.

      Attachments

        1. threads.txt
          153 kB
        2. threads-2.txt
          154 kB

        Issue Links

          Activity

            People

              ehugonne1@redhat.com Emmanuel Hugonnet
              jkalina@redhat.com Jan Kalina (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: