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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 1.1.1.Final
    • Scopes & Contexts
    • None

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stefano.travelli@gmail.com Stefano Travelli (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: