[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-2086) Missing interpretation of EJB-Annotation results in wrong call of dynamic method

Martin Höller (JIRA) jira-events at lists.jboss.org
Wed Oct 13 03:40:40 EDT 2010


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

Martin Höller updated EJBTHREE-2086:
------------------------------------

    Attachment: jbossbug-EJBTHREE-2086.tar.gz


We have the same problem with JBoss AS 5.1.0.GA!

We created a small demo project to illustrate and reproduce the bug. Find a README file in the TAR.GZ archive that includes step by step instructions for reproducing this bug.

Can somebody please have a look at this (IMHO very critical) bug. It prevents the usage of EJBs from a remote client if generics are used within the EJBs!

thanks,
- martin

> Missing interpretation of EJB-Annotation results in wrong call of dynamic method 
> ---------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-2086
>                 URL: https://jira.jboss.org/browse/EJBTHREE-2086
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: core
>    Affects Versions: trunk
>         Environment:  java version "1.6.0_18"
>            Reporter: Tobias Grundmann
>            Assignee: jaikiran pai
>         Attachments: jbossbug-EJBTHREE-2086.tar.gz
>
>
> when looking up a method for invocation in StatefulContainer.dynamicInvoke():522  jboss tries to determine if it's an EJB-Object-Method via SessionSpecContainer.isEjBObjectMethod(). This results wrongly in "false"  if the class in question doesn't implement EJBObject but has e.g. a @Stateful annotation.
> Futher the method EJBContainer.getNonBridgeMethod() seems to be rather optimistic in trying to find the correct method only according to the number of parameters.
> This was tested with jboss-6.0.0.M1, but the corresponding code in trunk seems to be the same.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list