5 Replies Latest reply on May 10, 2019 8:48 AM by Jaikiran Pai

    Wildfly10 giving error with OpenJDK11

    Utpal Sharma Newbie

      while updating JDK8 to JDK11, i am getting below error with wildfly10.1, any suggestions :

       

      15:41:05,497 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 68) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./xxx: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./xxx: java.lang.ExceptionInInitializerError

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1.run(UndertowDeploymentService.java:85)

      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)

      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

      at java.base/java.lang.Thread.run(Thread.java:834)

      at org.jboss.threads.JBossThread.run(JBossThread.java:320)

      Caused by: java.lang.ExceptionInInitializerError

      at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1233)

      at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)

      at org.jboss.naming.remote.protocol.v1.WriteUtil.getMarshaller(WriteUtil.java:141)

      at org.jboss.naming.remote.protocol.v1.WriteUtil.prepareForMarshalling(WriteUtil.java:113)

      at org.jboss.naming.remote.protocol.v1.Protocol$1$1.write(Protocol.java:81)

      at org.jboss.naming.remote.protocol.v1.WriteUtil.write(WriteUtil.java:61)

      at org.jboss.naming.remote.protocol.v1.Protocol$1.execute(Protocol.java:76)

      at org.jboss.naming.remote.protocol.v1.RemoteNamingStoreV1.lookup(RemoteNamingStoreV1.java:95)

      at org.jboss.naming.remote.client.HaRemoteNamingStore$1.operation(HaRemoteNamingStore.java:276)

      at org.jboss.naming.remote.client.HaRemoteNamingStore.namingOperation(HaRemoteNamingStore.java:132)

      at org.jboss.naming.remote.client.HaRemoteNamingStore.lookup(HaRemoteNamingStore.java:272)

      at org.jboss.naming.remote.client.RemoteContext.lookupInternal(RemoteContext.java:104)

      at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:93)

      at org.jboss.naming.remote.client.RemoteContext.lookup(RemoteContext.java:146)

      at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)

      at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)

      ------------

      --------------

       

       

      Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!

      at org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:220)

      ... 37 more

       

       

      15:41:05,520 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "xxx.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.undertow.deployment.default-server.default-host./xxx" => "org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./xxx: java.lang.ExceptionInInitializerError

          Caused by: java.lang.ExceptionInInitializerError

          Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!"},

          "WFLYCTL0412: Required services that are not installed:" => ["jboss.undertow.deployment.default-server.default-host./xxx"],

          "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined

      }

      15:41:05,580 ERROR [stderr] (pool-1-thread-1) Exception in thread "pool-1-thread-1" java.lang.NoClassDefFoundError: Could not initialize class org.jboss.marshalling.river.RiverMarshaller

      15:41:05,580 ERROR [stderr] (pool-1-thread-1) at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)

      15:41:05,580 ERROR [stderr] (pool-1-thread-1) at org.jboss.naming.remote.protocol.v1.WriteUtil.getMarshaller(WriteUtil.java:141)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at org.jboss.naming.remote.protocol.v1.WriteUtil.prepareForMarshalling(WriteUtil.java:113)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at org.jboss.naming.remote.protocol.v1.WriteUtil$2.write(WriteUtil.java:88)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at org.jboss.naming.remote.protocol.v1.WriteUtil.write(WriteUtil.java:61)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at org.jboss.naming.remote.protocol.v1.WriteUtil.writeExceptionResponse(WriteUtil.java:81)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at org.jboss.naming.remote.protocol.v1.RemoteNamingServerV1$MessageReciever$1.sendIOException(RemoteNamingServerV1.java:97)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at org.jboss.naming.remote.protocol.v1.RemoteNamingServerV1$MessageReciever$1.run(RemoteNamingServerV1.java:86)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

      15:41:05,581 ERROR [stderr] (pool-1-thread-1) at java.base/java.lang.Thread.run(Thread.java:834)

      15:41:05,594 ERROR [stderr] (naming-client-message-receiver-1-thread-1) Exception in thread "naming-client-message-receiver-1-thread-1" java.lang.NullPointerException

      15:41:05,594 ERROR [stderr] (naming-client-message-receiver-1-thread-1) at org.jboss.naming.remote.protocol.v1.BaseProtocolCommand.readResult(BaseProtocolCommand.java:76)