[ 
https://issues.apache.org/jira/browse/TOMEE-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382459#comment-14382459
 ] 

Barnabas Bodnar commented on TOMEE-1532:
----------------------------------------

Thank you for the information. 
Is there an estimated deadline for releasing the TomeEE-version including xbean 
v4.2?


> EJB-references declared at superclasses residing in libraries aren't 
> considered
> -------------------------------------------------------------------------------
>
>                 Key: TOMEE-1532
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1532
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.7.1
>            Reporter: Barnabas Bodnar
>         Attachments: no-ejb-ref-from-superclass.zip
>
>
> EJB-references (both injected and via JNDI) declared at a superclass of an 
> EJB are ignored by TomEE 1.7.1, if the superclass resides in a library-module.
> Application-servers from the JBoss7-family, as well as Oracle Weblogic 12 and 
> IBM Websphere 8 set such EJB-references correctly.
> The attached application demonstrates this behavior: the startup-singleton 
> "ReferencingEJB" has a locally declared reference to "EJB2" and inherits 
> references to "EJB1" declared in the superclass "EJBSuperclass" residing in a 
> library-module. The availability of the EJB-references is checked in a 
> post-construct-method and produces the following output:
> {noformat}
> ===========================================================================
> Local injected EJB-reference: set
> Local EJB-reference in the JNDI-context: set
> Inherited injected EJB-reference: not set
> Inherited EJB-reference in the JNDI-context: not set
> ===========================================================================
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to