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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to