[weld-issues] [JBoss JIRA] Commented: (WELD-961) Use of request scoped component in a MDB results in a ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Sun Sep 11 20:24:26 EDT 2011


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

Stuart Douglas commented on WELD-961:
-------------------------------------

This is an issue with the integration code, so is actually a bug in JBoss AS6 and GF 3.1.

I will write a test to verify that this works correctly in AS7  

> Use of request scoped component in a MDB results in a ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-961
>                 URL: https://issues.jboss.org/browse/WELD-961
>             Project: Weld
>          Issue Type: Bug
>          Components: Scopes & Contexts
>    Affects Versions: 1.1.1.Final
>         Environment: Glassfish 3.1 or JBoss AS 6
>            Reporter: Stefano Travelli
>
> Injecting a request scoped component in a Message Driven Bean results in the following exception when a message is received:
> ContextNotActiveException: WELD-001303 No active contexts for scope type javax.enterprise.context.RequestScoped
> The CDI specification states that "the request scope is active ... during any message delivery to a MessageListener for a JMS topic or queue obtained from the Java EE component environment.

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

        


More information about the weld-issues mailing list