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

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Thu Feb 3 22:41:39 EST 2011


     [ https://issues.jboss.org/browse/WELD-848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Zimmermann updated WELD-848:
------------------------------------

    Description: 
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".

  was:
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 @PostConstruct and make a JNDI lookup for "java:comp/BeanManager".



> @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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list