[jboss-jira] [JBoss JIRA] (WFLY-7564) EJB Attachment protocol mismatch

David Lloyd (JIRA) issues at jboss.org
Mon Mar 27 17:41:00 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd updated WFLY-7564:
------------------------------
    Fix Version/s: 11.0.0.Alpha1
                       (was: 11.0.0.Beta1)


> EJB Attachment protocol mismatch
> --------------------------------
>
>                 Key: WFLY-7564
>                 URL: https://issues.jboss.org/browse/WFLY-7564
>             Project: WildFly
>          Issue Type: Bug
>          Components: EJB
>            Reporter: David Lloyd
>            Assignee: David Lloyd
>            Priority: Blocker
>             Fix For: 11.0.0.Alpha1
>
>
> In both EJB client and server code, on method invocations where context data is sent, the sender writes the attachment count as a packed integer but the reader consumes it as an unsigned byte.  This is not good.
> The fix:
> * In protocol 3 and higher, always read and write a packed integer
> * In protocol 2 and lower, always read a packed integer but write a signed byte, failing if more than 127 attachments are present
> Note that this is only temporary in the WFLY project as the server code should ultimately be moving to live in the ejb-client library.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list