Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-3577

Seam Context not working in Servlets

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 2.1.0.CR1, 2.1.0.GA
    • Fix Version/s: 2.1.0.GA
    • Component/s: None
    • Labels:
      None

      Description

      I used to able to look up components with Component.getInstance(...) inside a servlet by adding <web:context-filter url-pattern="/m/*" /> to the components.xml (in Seam 2.0.X).

      This has stopped working and now gives

      "java.lang.IllegalStateException: No event context active"

      This post relates

      http://www.seamframework.org/Community/GettingAStatelessComponentFromAServletDoesNotWorkAnymoreUnderSeam210CR1#comment46832

      and this one

      http://www.seamframework.org/Community/210CR1ThrowsJavalangIllegalStateExceptionEventContextNotActive

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                paradigmza Sean Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: