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

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

    Description: 
This bug was really hard 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 the 
@Module returns Class<?>[] instead.

  was:
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.


> 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 hard 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 the 
> @Module returns Class<?>[] instead.



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

Reply via email to