[jboss-jira] [JBoss JIRA] (EJBTHREE-2227) @Startup @Singleton (via switchboard) should take into account transitive ENC dependencies before instantiating the bean
velmurugan muthu (JIRA)
jira-events at lists.jboss.org
Thu Jan 12 13:17:22 EST 2012
[ https://issues.jboss.org/browse/EJBTHREE-2227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655610#comment-12655610 ]
velmurugan muthu commented on EJBTHREE-2227:
--------------------------------------------
I’m getting the similar errors as given above in Jboss 6.1.0 Final
Jira says Fix Version/s: depchain-1.0.3
Can you please help me where from I download & how to apply this fix to the server?
> @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
> Fix For: depchain-1.0.3
>
>
> 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.
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 jboss-jira
mailing list