[jboss-jira] [JBoss JIRA] Commented: (JBMICROCONT-450) Microcontainer does not bind beans to JNDI

Georgy Bolyuba (JIRA) jira-events at lists.jboss.org
Tue Jul 6 11:22:21 EDT 2010


    [ https://jira.jboss.org/browse/JBMICROCONT-450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12538023#action_12538023 ] 

Georgy Bolyuba commented on JBMICROCONT-450:
--------------------------------------------

Do you have this in your config:

<aop:lifecycle-configure xmlns:aop="urn:jboss:aop-beans:1.0"
        name="DependencyAdvice"
        class="org.jboss.aop.microcontainer.aspects.jndi.JndiLifecycleCallback"
        classes="@org.jboss.aop.microcontainer.aspects.jndi.JndiBinding"
        manager-bean="AspectManager"
        manager-property="aspectManager">
    </aop:lifecycle-configure>

? This LifecycleCallback is where all JndiBining related magic happens and it works for me.

> Microcontainer does not bind beans to JNDI
> ------------------------------------------
>
>                 Key: JBMICROCONT-450
>                 URL: https://jira.jboss.org/browse/JBMICROCONT-450
>             Project: JBoss Microcontainer
>          Issue Type: Bug
>          Components: AOP, Registry
>         Environment: JBoss 5.1
>            Reporter: Genadii Ganebnyi
>            Priority: Critical
>
> We are having the following annotation inside our bean defenition:
> <annotation>@org.jboss.aop.microcontainer.aspects.jndi.JndiBinding(name="beans/MyServiceFactory")</annotation>
> But bean does not appear in JNDI.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list