Uploaded image for project: 'Weld'
  1. Weld
  2. 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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 1.1.1.Final
    • Fix Version/s: None
    • Component/s: Scopes & Contexts
    • Labels:
      None
    • Environment:

      Glassfish 3.1 or JBoss AS 6

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stefanotravelli Stefano Travelli
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: