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

Wildfly 23 does not start on JRE11, works on JDK11

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.4.0.GA
    • None
    • None
    • False
    • False
    • Undefined
    • Hide

      Start bin/standalone.sh on a JRE11.

       

      E.g.
      JBOSS_HOME: /opt/jboss/wildfly-23.0.0.Final
      JAVA: /opt/java/jdk-11.0.10+9-jre/bin/java

      Show
      Start bin/standalone.sh on a JRE11.   E.g. JBOSS_HOME: /opt/jboss/wildfly-23.0.0.Final JAVA: /opt/java/jdk-11.0.10+9-jre/bin/java

      Running Wildfly 23 on a JRE (e.g. AdoptOpenJdk 11) results in

      WFLYCTL0079: Failed initializing module org.jboss.as.transactions
      Caused by: java.util.concurrent.ExecutionException: org.jboss.modules.ModuleLoadError: jdk.jconsole
      Caused by: org.jboss.modules.ModuleLoadError: jdk.jconsole

      This "jdk.jconsole" module is only available in a JDK afaik and the dependency has been introduced in the following commit:
      https://github.com/wildfly/wildfly/commit/d018ceb54d3cea3d37d15b55049afdc69f3b3695

      In the module "org.jboss.jts". But I could not see any code change requiring this module...

      Update: same goes for org.javassist module which now depends on jdk.attach and jdk.jdi

       

      Full stack trace:

      04:21:45,839 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("parallel-extension-add") failed - address: ([]): java.lang.RuntimeException: WFLYCTL0079: Failed initializing module org.jboss.as.transactions
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:115)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:1040)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:779)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:468)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1415)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.ModelControllerImpl.boot(ModelControllerImpl.java:503)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:515)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.AbstractControllerService.boot(AbstractControllerService.java:477)
       at org.jboss.as.server@15.0.0.Final//org.jboss.as.server.ServerService.boot(ServerService.java:459)
       at org.jboss.as.server@15.0.0.Final//org.jboss.as.server.ServerService.boot(ServerService.java:412)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:416)
       at java.base/java.lang.Thread.run(Unknown Source)
      Caused by: java.util.concurrent.ExecutionException: org.jboss.modules.ModuleLoadError: jdk.jconsole
       at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
       at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.extension.ParallelExtensionAddHandler$1.execute(ParallelExtensionAddHandler.java:107)
       ... 11 more
      Caused by: org.jboss.modules.ModuleLoadError: jdk.jconsole
       at org.jboss.modules.Module.addPaths(Module.java:1288)
       at org.jboss.modules.Module.link(Module.java:1644)
       at org.jboss.modules.Module.getPaths(Module.java:1605)
       at org.jboss.modules.Module.getPathsUnchecked(Module.java:1628)
       at org.jboss.modules.Module.loadModuleClass(Module.java:748)
       at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
       at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
       at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
       at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
       at java.base/java.lang.ClassLoader.defineClass1(Native Method)
       at java.base/java.lang.ClassLoader.defineClass(Unknown Source)
       at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:423)
       at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:555)
       at org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:339)
       at org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:126)
       at org.jboss.modules.Module.loadModuleClass(Module.java:753)
       at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:247)
       at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
       at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
       at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
       at org.jboss.as.transactions@23.0.0.Final//org.jboss.as.txn.subsystem.TransactionSubsystemRootResourceDefinition.<init>(TransactionSubsystemRootResourceDefinition.java:296)
       at org.jboss.as.transactions@23.0.0.Final//org.jboss.as.txn.subsystem.TransactionExtension.initialize(TransactionExtension.java:98)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:103)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:144)
       at org.jboss.as.controller@15.0.0.Final//org.jboss.as.controller.extension.ParallelExtensionAddHandler$ExtensionInitializeTask.call(ParallelExtensionAddHandler.java:127)
       at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
       at org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
       at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
       at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
       at org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
       at java.base/java.lang.Thread.run(Unknown Source)
       at org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
       
      

       

       

              bstansbe@redhat.com Brian Stansberry
              arikdasen@outlook.com Arik Dasen (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: