Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8521

Filters not registered when applications start up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.0.CR1
    • 6.0.0.M5
    • Other
    • None
    • Hide

      Access:

      http://localhost:8080/any-url

      PrettyFilter should invoke - even on 404 requests, but never does. This makes me think it is not being included or booted for some reason.

      Show
      Access: http://localhost:8080/any-url PrettyFilter should invoke - even on 404 requests, but never does. This makes me think it is not being included or booted for some reason.

      It seems like custom filters are not being booted when JBoss starts applications - place a breakpoint in PrettyFilter.init(ServletContext context) and it will never fire. Nor is the filter ever invoked on web-requests.

      The attached application can be used to reproduce this on M5. This works on Glassfish.

        1. prettyfaces-test.tar
          400 kB
          Lincoln Baxter III
        2. pretty-prime-test.tar.gz
          7 kB
          Lincoln Baxter III

            ssilvert@redhat.com Stan Silvert
            lincolnthree Lincoln Baxter III (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: