[weld-issues] [JBoss JIRA] Resolved: (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:28:26 EDT 2011


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

Stuart Douglas resolved WELD-961.
---------------------------------

    Resolution: Rejected


Rejected as this is a problem with the app servers that bundle weld, rather than a bug in weld itself.

> 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