[jboss-jira] [JBoss JIRA] (WFLY-2732) Injected EJB not available to MDB @PreDestroy methods

Bartosz Baranowski (JIRA) issues at jboss.org
Thu Jul 10 04:14:25 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-2732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983760#comment-12983760 ] 

Bartosz Baranowski commented on WFLY-2732:
------------------------------------------

Test PRs:

master: https://github.com/wildfly/wildfly/pull/6489
8.x https://github.com/wildfly/wildfly/pull/6490

> Injected EJB not available to MDB @PreDestroy methods
> -----------------------------------------------------
>
>                 Key: WFLY-2732
>                 URL: https://issues.jboss.org/browse/WFLY-2732
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB
>    Affects Versions: 8.0.0.CR1
>            Reporter: Mustafa Musaji
>            Assignee: Stuart Douglas
>             Fix For: 8.0.0.Final
>
>         Attachments: MDBLifeCycleJAR.zip
>
>
> MDB with method annotated with @PreDestroy and injected EJB. In this method we are calling an EJB. When the application is undeployed the PreDestroy method is called but it fails on the call to the injected EJB as it's already been undeployed.
> This was fixed in an RFE for Session Beans but does not seem to work for MDB.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list