Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12678

[GSS](7.1.z) UNDERTOW-1132 - Filter.doFilter() is executed before Servlet.init() in Undertow while JBoss Web is the opposite

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.1.CR1, 7.1.1.GA
    • 7.0.6.GA
    • Undertow
    • None
    • EAP 7.1.1

      This is a blocker of upgrading. In JBoss Web (EAP 6 actually), the code is executed in the following order at the first request.

      1. Filter.init()
      2. Servet.init()
      3. Filter.doFilter()
      4. Servlet.service()

      While on Undertow (EAP 7.0.6, WildFly 10.1.0.Final and 11.0.0.Alpha1) the order is as follows.

      1. Filter.init()
      2. Filter.doFilter()
      3. Servet.init()
      4. Servlet.service()

              thofman Tomas Hofman
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: