[jboss-jira] [JBoss JIRA] Commented: (JBAS-8901) dependency injection fails when deploying large graphs of inter-dependent EJBs

Radai Rosenblatt (JIRA) jira-events at lists.jboss.org
Sun Feb 20 10:00:13 EST 2011


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

Radai Rosenblatt commented on JBAS-8901:
----------------------------------------

in writing my ear-generator i just assumed it was some sort of "lazy-loading" JNDI + multi-threaded race condition, which would explain why i couldnt reproduce this with small deployments (and i tried a stateless --> EJB a --> EJB b chain)

> dependency injection fails when deploying large graphs of inter-dependent EJBs
> ------------------------------------------------------------------------------
>
>                 Key: JBAS-8901
>                 URL: https://issues.jboss.org/browse/JBAS-8901
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: EJB3
>    Affects Versions: 6.0.0.Final
>         Environment: windows xp 32bit, jdk 6u23
>            Reporter: Radai Rosenblatt
>            Assignee: jaikiran pai
>         Attachments: ear-1.0-SNAPSHOT.ear, ear-generator.zip
>
>
> i've attached a maven project that generates a random ear containing 100 EJBs that are inter-denendent. the graph generated is directed (no loops). graph roots are @Singleton @Startup beans that have a @PostConstruct method. in this method, they access all of their injected @EJBs, which then do the same recursively. the ears generated deploy fine for small cases (5 beans), but when trying to deploy a 100-bean ear several injections fail.

--
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