Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-11720

Cannot invoke EJB over HTTP on JDK 11

XMLWordPrintable

    • Workaround Exists
    • Hide

      Use jboss-marshalling 2.0.6.Final on classpath or ejb-client-bom

      Show
      Use jboss-marshalling 2.0.6.Final on classpath or ejb-client-bom

      Run of client app calling EJB over HTTP fails on JDK 11 with following log:

      Feb 14, 2019 12:49:30 PM org.wildfly.naming.client.Version <clinit>
      INFO: WildFly Naming version 1.0.6.Final
      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.wildfly.security.manager.GetAccessibleDeclaredFieldAction (file:/home/hudson/hudson_workspace/mod_cluster/client/wildfly-elytron-1.1.3.Final.jar) to field java.security.AccessControlContext.context
      WARNING: Please consider reporting this to the maintainers of org.wildfly.security.manager.GetAccessibleDeclaredFieldAction
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release
      Feb 14, 2019 12:49:30 PM org.wildfly.security.Version <clinit>
      INFO: ELY00001: WildFly Elytron version 1.1.3.Final
      Feb 14, 2019 12:49:30 PM org.jboss.ejb.client.EJBClient <clinit>
      INFO: JBoss EJB Client version 4.0.2.Final
      Feb 14, 2019 12:49:30 PM org.xnio.Xnio <clinit>
      INFO: XNIO version 3.6.5.Final
      Feb 14, 2019 12:49:30 PM org.xnio.nio.NioXnio <clinit>
      INFO: XNIO NIO Implementation Version 3.6.5.Final
      Feb 14, 2019 12:49:30 PM org.jboss.threads.Version <clinit>
      INFO: JBoss Threads version 2.3.0.Beta2
      Feb 14, 2019 12:49:30 PM org.jboss.remoting3.EndpointImpl <clinit>
      INFO: JBoss Remoting version 5.0.0.Final
      Feb 14, 2019 12:49:30 PM org.jboss.threads.LoggingUncaughtExceptionHandler uncaughtException
      ERROR: Thread Thread[XNIO-1 task-1,5,main] threw an uncaught exception
      java.lang.ExceptionInInitializerError
       at org.jboss.marshalling.river.RiverMarshaller.<clinit>(RiverMarshaller.java:1335)
       at org.jboss.marshalling.river.RiverMarshallerFactory.createMarshaller(RiverMarshallerFactory.java:54)
       at org.wildfly.httpclient.common.HttpTargetContext.createMarshaller(HttpTargetContext.java:132)
       at org.wildfly.httpclient.ejb.HttpEJBReceiver.marshalEJBRequest(HttpEJBReceiver.java:367)
       at org.wildfly.httpclient.ejb.HttpEJBReceiver.lambda$processInvocation$1(HttpEJBReceiver.java:185)
       at org.wildfly.httpclient.common.HttpTargetContext$1.lambda$completed$0(HttpTargetContext.java:338)
       at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1871)
       at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1400)
       at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.lang.IllegalStateException: No standard field found for reverse order comparator!
       at org.jboss.marshalling.river.Protocol.<clinit>(Protocol.java:287)
       ... 9 more
      

        1. classes.zip
          1 kB
        2. client-app.zip
          6.34 MB

              cfang@redhat.com Cheng Fang
              jkasik@redhat.com Jan Kašík
              Jan Kašík Jan Kašík
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: