https://issues.apache.org/bugzilla/show_bug.cgi?id=49207

           Summary: Filter name not set when dynamically added
           Product: Tomcat 7
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: bugzi...@pidster.com


When dynamically adding a Filter the name is not set when calling the method
"addMappingForUrlPatterns" in ApplicationFilterRegistration.java.

java.lang.IllegalArgumentException: Filter mapping specifies an unknown
filter name null
    at
org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:2650)
    at
org.apache.catalina.core.StandardContext.addFilterMapBefore(StandardContext.java:2622)
    at
org.apache.catalina.core.ApplicationFilterRegistration.addMappingForUrlPatterns(ApplicationFilterRegistration.java:102)
    at
org.pidster.tomcat.test7.dyn.TestDynamicsListener.contextInitialized(TestDynamicsListener.java:105)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to