]
Cheng Fang commented on WFLY-11720:
-----------------------------------
Okay, I'll take a closer look. jboss-ejb-client also references the older version of
jboss-marshalling, similar to wildfly-http-ejb-client.
Cannot invoke EJB over HTTP on JDK 11
-------------------------------------
Key: WFLY-11720
URL:
https://issues.jboss.org/browse/WFLY-11720
Project: WildFly
Issue Type: Bug
Components: EJB, Remoting
Affects Versions: 16.0.0.Beta1
Environment: JDK 11
Reporter: Jan Kašík
Assignee: Cheng Fang
Priority: Critical
Attachments: classes.zip, client-app.zip
Run of client app calling EJB over HTTP fails on JDK 11 with following log:
{noformat}
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
{noformat}