[weld-issues] [JBoss JIRA] (WELD-848) @Inject ignores activation of passivated stateful session beans

Ales Justin (JIRA) jira-events at lists.jboss.org
Mon Feb 27 15:20:38 EST 2012


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

Ales Justin commented on WELD-848:
----------------------------------

Can you add a test then? :)
(althoug how do you test forced passivation? 1sec life period?)
                
> @Inject ignores activation of passivated stateful session beans
> ---------------------------------------------------------------
>
>                 Key: WELD-848
>                 URL: https://issues.jboss.org/browse/WELD-848
>             Project: Weld
>          Issue Type: Bug
>            Reporter: Juergen Zimmermann
>
> If a stateful session bean gets passivated and later on activated, then the @Inject'ed fields are null.
> The only workaround I found is: provide a method annotated with @PostActivate and make a JNDI lookup for "java:comp/BeanManager".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list