[jboss-jira] [JBoss JIRA] (WFLY-11720) Cannot invoke EJB over HTTP on JDK 11
Jan Kašík (Jira)
issues at jboss.org
Tue Feb 19 01:11:00 EST 2019
[ https://issues.jboss.org/browse/WFLY-11720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13697047#comment-13697047 ]
Jan Kašík edited comment on WFLY-11720 at 2/19/19 1:10 AM:
-----------------------------------------------------------
[~cfang] Thank you for your help! I am attaching client app with resolved dependencies as it is being built during test. The version seems to be {{2.0.1.Final}}...
{noformat}
java -cp "/apache/mod_cluster_workspace/client/*" -Dremote.server.address=172.17.0.3:8080 -Dremote.endpoint.path=/wildfly-services -Dstateful=false org.jboss.marshalling.Version
JBoss Marshalling version 2.0.1.Final
{noformat}
Following set of libraries is resolved as transitive dependencies of {{org.wildfly.wildfly-http-client:wildfly-http-ejb-client:1.0.13.Final}}
{noformat}
[wildfly-http-ejb-client-1.0.13.Final.jar, undertow-core-1.4.20.Final.jar, jboss-logging-3.2.1.Final.jar, xnio-api-3.3.8.Final.jar, xnio-nio-3.3.8.Final.jar, wildfly-http-client-common-1.0.13.Final.jar, wildfly-common-1.2.0.Final.jar, wildfly-client-config-1.0.0.Final.jar, wildfly-elytron-1.1.3.Final.jar, wildfly-http-naming-client-1.0.13.Final.jar, wildfly-naming-client-1.0.6.Final.jar, jboss-threads-2.2.1.Final.jar, wildfly-http-transaction-client-1.0.13.Final.jar, wildfly-transaction-client-1.0.2.Final.jar, jboss-connector-api_1.7_spec-1.0.0.Final.jar, jboss-ejb-client-4.0.2.Final.jar, jboss-marshalling-2.0.1.Final.jar, jboss-remoting-5.0.0.Final.jar, wildfly-discovery-client-1.0.0.Final.jar, jboss-ejb-api_3.2_spec-1.0.0.Final.jar, jboss-transaction-api_1.2_spec-1.0.1.Final.jar, jboss-marshalling-river-2.0.0.Final.jar]
{noformat}
was (Author: jkasik):
[~cfang] Thank you for your help! I am attaching client app with resolved dependencies. The version seems to be {{2.0.1.Final}}...
{noformat}
java -cp "/apache/mod_cluster_workspace/client/*" -Dremote.server.address=172.17.0.3:8080 -Dremote.endpoint.path=/wildfly-services -Dstateful=false org.jboss.marshalling.Version
JBoss Marshalling version 2.0.1.Final
{noformat}
Following set of libraries is resolved as transitive dependencies of {{org.wildfly.wildfly-http-client:wildfly-http-ejb-client:1.0.13.Final}}
{noformat}
[wildfly-http-ejb-client-1.0.13.Final.jar, undertow-core-1.4.20.Final.jar, jboss-logging-3.2.1.Final.jar, xnio-api-3.3.8.Final.jar, xnio-nio-3.3.8.Final.jar, wildfly-http-client-common-1.0.13.Final.jar, wildfly-common-1.2.0.Final.jar, wildfly-client-config-1.0.0.Final.jar, wildfly-elytron-1.1.3.Final.jar, wildfly-http-naming-client-1.0.13.Final.jar, wildfly-naming-client-1.0.6.Final.jar, jboss-threads-2.2.1.Final.jar, wildfly-http-transaction-client-1.0.13.Final.jar, wildfly-transaction-client-1.0.2.Final.jar, jboss-connector-api_1.7_spec-1.0.0.Final.jar, jboss-ejb-client-4.0.2.Final.jar, jboss-marshalling-2.0.1.Final.jar, jboss-remoting-5.0.0.Final.jar, wildfly-discovery-client-1.0.0.Final.jar, jboss-ejb-api_3.2_spec-1.0.0.Final.jar, jboss-transaction-api_1.2_spec-1.0.1.Final.jar, jboss-marshalling-river-2.0.0.Final.jar]
{noformat}
> 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}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list