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

Cannot invoke EJB over HTTP on JDK 11


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.3.0.GA.CR1
    • 7.2.0.GA, 7.3.0.CD15, 7.3.0.CD16, 7.3.0.CD17
    • EJB, Remoting
    • None
    • +
    • Workaround Exists
    • Hide

      Use wildfly-ejb-client-bom or apply jboss-marshalling and jboss-marshalling-river 2.0.6 on classpath

      Use wildfly-ejb-client-bom or apply jboss-marshalling and jboss-marshalling-river 2.0.6 on classpath

      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
       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

            cfang@redhat.com Cheng Fang
            jkasik@redhat.com Jan Kašík
            Jan Blizňák Jan Blizňák
            Jan Blizňák Jan Blizňák
            0 Vote for this issue
            7 Start watching this issue