[jboss-jira] [JBoss JIRA] (WFLY-9573) EJB invocation over HTTP fails for calls that use application specific classes

Heiko Lettmann (JIRA) issues at jboss.org
Fri Feb 9 09:49:00 EST 2018


    [ https://issues.jboss.org/browse/WFLY-9573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531196#comment-13531196 ] 

Heiko Lettmann commented on WFLY-9573:
--------------------------------------

Hi Peter. I have the same issue with EAP 7.1.0. I updated to wildfly http-client-1.0.9. Some invocations work then. Now I get another exception from the same library. Don´t know how to contact someone about this so I did it here...

javax.ejb.EJBException: java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
    org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:128)
    org.wildfly.httpclient.ejb.HttpInvocationHandler.lambda$handleInternal$0(HttpInvocationHandler.java:131)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    java.lang.Thread.run(Thread.java:748)
java.io.IOException: java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
    org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:206)
    org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:126)
    org.wildfly.httpclient.ejb.HttpInvocationHandler.lambda$handleInternal$0(HttpInvocationHandler.java:131)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    java.lang.Thread.run(Thread.java:748)
java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.String
    org.wildfly.httpclient.ejb.HttpInvocationHandler$1.getRequestContent(HttpInvocationHandler.java:180)
    org.jboss.as.ejb3.remote.AssociationImpl.receiveInvocationRequest(AssociationImpl.java:126)
    org.wildfly.httpclient.ejb.HttpInvocationHandler.lambda$handleInternal$0(HttpInvocationHandler.java:131)
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    java.lang.Thread.run(Thread.java:748)


> EJB invocation over HTTP fails for calls that use application specific classes
> ------------------------------------------------------------------------------
>
>                 Key: WFLY-9573
>                 URL: https://issues.jboss.org/browse/WFLY-9573
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB, Naming, Remoting
>    Affects Versions: 11.0.0.Final
>            Reporter: peter craddock
>            Assignee: David Lloyd
>             Fix For: 12.0.0.Alpha1
>
>
> I first raised this as a discussion and [~jaikiran] asked that I raise this as a bug because he has recreated the issue in a small test case.
> Discussion is here
> https://developer.jboss.org/thread/276635



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list