Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-23976

(7.4.z) JBoss EAP7 can't be run as service on domain mode with JDK17

XMLWordPrintable

    • False
    • None
    • False
    • Hide
      • Install jdk17 and set it as default java.
      • Install jboss-eap7 from rpm package.
      • Start jboss-eap as service systemctl start eap7-domain
      • Wait for a moment
      • Check service systemctl status eap7-domain
      Show
      Install jdk17 and set it as default java. Install jboss-eap7 from rpm package. Start jboss-eap as service systemctl start eap7-domain Wait for a moment Check service systemctl status eap7-domain

      When I tried run jboss-eap via service (systemctl start eap7-standalone) on machines (rhel8 and rhe9) with jdk17 service is running for short time.  After moment service failed.

       

      cat /opt/rh/eap7/root/usr/share/wildfly/domain/log/console.log 
      =========================================================================  JBoss Bootstrap Environment  JBOSS_HOME: /opt/rh/eap7/root/usr/share/wildfly  JAVA: /usr/lib/jvm/jre/bin/java  JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true  --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldap=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.url.ldaps=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED=========================================================================05:03:23,778 INFO  [org.jboss.modules] (main) JBoss Modules version 1.12.0.Final-redhat-00001
      05:03:24,009 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final-redhat-00001
      05:03:24,024 INFO  [org.jboss.as.process.Host Controller.status] (main) WFLYPC0018: Starting process 'Host Controller'
      [Host Controller] 05:03:24,357 INFO  [org.jboss.modules] (main) JBoss Modules version 1.12.0.Final-redhat-00001
      [Host Controller] 05:03:24,619 INFO  [org.jboss.msc] (main) JBoss MSC version 1.4.12.Final-redhat-00001
      [Host Controller] 05:03:24,626 INFO  [org.jboss.threads] (main) JBoss Threads version 2.4.0.Final-redhat-00001
      [Host Controller] 05:03:24,664 INFO  [org.jboss.as] (MSC service thread 1-2) WFLYSRV0049: JBoss EAP 7.4.7.GA (WildFly Core 15.0.17.Final-redhat-00001) starting
      [Host Controller] 05:03:24,991 INFO  [org.wildfly.security] (Host Controller Service Threads - 4) ELY00001: WildFly Elytron version 1.15.14.Final-redhat-00001
      [Host Controller] 05:03:25,265 INFO  [org.jboss.as.controller.management-deprecated] (Controller Boot Thread) WFLYCTL0028: Attribute 'security-realm' in the resource at address '/host=master/core-service=management/management-interface=http-interface' is deprecated, and may be removed in a future version. See the attribute description in the output of the read-resource-description operation to learn more about the deprecation.
      [Host Controller] 05:03:25,284 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
      [Host Controller]     ("host" => "master"),
      [Host Controller]     ("core-service" => "management"),
      [Host Controller]     ("security-realm" => "ManagementRealm")
      [Host Controller] ]) - failure description: "WFLYDM0145: The resource 'security-realm' is unsupported since Java 14"
      [Host Controller] 05:03:25,286 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0034: Host Controller boot has failed in an unrecoverable manner; exiting. See previous messages for details.
      [Host Controller] 05:03:25,287 FATAL [org.jboss.as.host.controller] (Controller Boot Thread) WFLYHC0178: Aborting with exit code 99
       

              rhn-support-rmartinc Ricardo Martin Camarero
              padamec@redhat.com Petr Adamec
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: