[jboss-jira] [JBoss JIRA] Issue Comment Edited: (EJBTHREE-2227) @Startup @Singleton (via switchboard) should take into account transitive ENC dependencies before instantiating the bean

Rajiv Mathew (JIRA) jira-events at lists.jboss.org
Fri Apr 1 14:02:38 EDT 2011


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

Rajiv Mathew edited comment on EJBTHREE-2227 at 4/1/11 2:01 PM:
----------------------------------------------------------------

On the JBoss AS download page, there appears to be no mention of a 6.0.1 or 6.1.0 release. If it has been released since, could you please point me to where I can find it?

EDIT - Just noticed that this issue is still marked unresolved. Is there an expected timeline for this bug fix?

      was (Author: rajivtmathew):
    On the JBoss AS download page, there appears to be no mention of a 6.0.1 or 6.1.0 release. If it has been released since, could you please point me to where I can find it?
  
> @Startup @Singleton (via switchboard) should take into account transitive ENC dependencies before instantiating the bean
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: EJBTHREE-2227
>                 URL: https://issues.jboss.org/browse/EJBTHREE-2227
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: singleton
>    Affects Versions: depchain-1.0.0-alpha-43
>         Environment: JBoss AS 6.0 Final
>            Reporter: jaikiran pai
>            Assignee: jaikiran pai
>            Priority: Critical
>
> Consider the following beans:
> @Startup 
> @Singleton
> public class A
> {
>  @EJB
>  private B slsb1;
>  @PostConstruct
>  public void onConstruct()
>  {
>    slsb1.doSomething();
>  } 
> }
> @Stateless
> public class B
> {
>   @EJB
>   private C slsb2;
> }
> @Stateless
> public class C
> {
> ....
> }
> Currently, the @Startup @Singleton is instantiated when the ENC of that bean is fully invokable. However, it only waits for a populated ENC of transitive dependent bean(s). This can lead random failures with lookup. Please see the referenced forum thread for the complete details.
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list