[weld-issues] [JBoss JIRA] Created: (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

Stefano Travelli (JIRA) jira-events at lists.jboss.org
Thu Sep 1 13:39:26 EDT 2011


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