You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Xavier Dury (JIRA)" <ji...@apache.org> on 2014/05/12 11:49:15 UTC

[jira] [Updated] (OPENEJB-2093) Deploying a WebService through ApplicationComposer may lead to a null WebServiceContext

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

Xavier Dury updated OPENEJB-2093:
---------------------------------

    Attachment: openejb-2093.zip

attached a test case

> Deploying a WebService through ApplicationComposer may lead to a null WebServiceContext
> ---------------------------------------------------------------------------------------
>
>                 Key: OPENEJB-2093
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-2093
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 4.6.1
>            Reporter: Xavier Dury
>         Attachments: openejb-2093.zip
>
>
> This bug was really nasty to isolate:
> A @Stateless @WebService bean deployed through an ApplicationComposer @Module of type EnterpriseBean|EjbJar|EjbModule will not have its @Resource WebServiceContext injected IF the module is annotated with @Classes (even if @Classes is empty).
> The same @Module without the @Classes will work. It will also work if @Module Class<?>[] is used.



--
This message was sent by Atlassian JIRA
(v6.2#6252)