[
https://issues.apache.org/jira/browse/TOMEE-839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg updated TOMEE-839:
--------------------------------
Attachment: TOMEE-839-fix_candidate_1.patch
A (probably too) easy fix for the underlying problem.
I'm not 100% sure that there are no side effects, but the @WebService
functionality should have no effect on the @Stateless hehviour.
> @Stateless EJBs which are also @WebService annotated don't get picked up in
> embedded mode
> -----------------------------------------------------------------------------------------
>
> Key: TOMEE-839
> URL: https://issues.apache.org/jira/browse/TOMEE-839
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.5.1
> Reporter: Mark Struberg
> Attachments: TOMEE-839-fix_candidate_1.patch, TOMEE-839.patch
>
>
> {noformat}
> @Stateless
> @WebService
> public class MyBean {..
> {noformat}
> This class does not get picked up as EJB. It can neither get injected via
> @Inject, nor @EJB nor manually looked up in the Context. If I remove the
> @WebService annotation, then all works fine.
--
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