[jboss-jira] [JBoss JIRA] Updated: (AS7-1783) Injection of MessageContext broken

Carlo de Wolf (JIRA) jira-events at lists.jboss.org
Mon Sep 19 11:18:26 EDT 2011


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

Carlo de Wolf updated AS7-1783:
-------------------------------

    Workaround Description: 
@Resource(type=EJBContext.class)
MessageDrivenContext mdc;
                Workaround: [Workaround Exists]
           Forum Reference: http://community.jboss.org/message/626026#626026, http://community.jboss.org/message/627053#627053  (was: http://community.jboss.org/message/626026#626026, http://community.jboss.org/message/627053#627053)


> Injection of MessageContext broken
> ----------------------------------
>
>                 Key: AS7-1783
>                 URL: https://issues.jboss.org/browse/AS7-1783
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: EJB
>    Affects Versions: 7.0.1.Final
>            Reporter: Carlo de Wolf
>            Priority: Critical
>             Fix For: 7.1.0.CR1
>
>
> {code}
> @Resource
> private MessageDrivenContext ctx;
> {code}
> leads to
> {noformat}
> Can't handle @Resource for ENC name: com.test.testMDB/ctx on class com.test.testMDB since it's missing a "lookup" (or "mappedName") value and isn't of any known type
> {noformat}

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