You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Reinis Vicups (JIRA)" <ji...@apache.org> on 2013/07/18 00:08:47 UTC

[jira] [Updated] (OPENEJB-2033) AmbiguousResolutionException if @Alternative is used togeter with @Stateful

     [ https://issues.apache.org/jira/browse/OPENEJB-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reinis Vicups updated OPENEJB-2033:
-----------------------------------

    Attachment: alternatives.zip

Junittest is failing unless alternative is activated in beans.xml
                
> AmbiguousResolutionException if @Alternative is used togeter with @Stateful
> ---------------------------------------------------------------------------
>
>                 Key: OPENEJB-2033
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-2033
>             Project: OpenEJB
>          Issue Type: Bug
>    Affects Versions: 4.6.0
>            Reporter: Reinis Vicups
>         Attachments: alternatives.zip
>
>
> If @Default and @Alternative beans are also javax.ejb.Stateful an Ambiguous Resolution Exception is being thrown only if @Alternative is NOT active.
> See attached example project for the replication

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira