[
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)