DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33688>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33688 Summary: Same Filter - Different applications Product: Tomcat 4 Version: 4.1.24 Platform: PC OS/Version: Windows XP Status: NEW Severity: minor Priority: P2 Component: Unknown AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I have two different applications (A and B) running on Tomcat 4.1.24. The applications' core is a servlet called "Dispatcher". A logging Filter is mapped to this servlet. ### in EACH web.xml: ### <!-- Filter for logging--> <filter> <filter-name>LogFilter</filter-name> <filter-class>logger.LogFilter</filter-class> <!-- The path where to save the log files --> <init-param> <param-name>LogPath</param-name> <param-value>/WEB-INF/logs</param-value> </init-param> </filter> <filter-mapping> <filter-name>LogFilter</filter-name> <servlet-name>Dispatcher</servlet-name> </filter-mapping> <!-- Dispatcher --> <servlet> <servlet-name>Dispatcher</servlet-name> <servlet-class>it.mbm.servlet.Dispatcher</servlet-class> </servlet> <servlet-mapping> <servlet-name>Dispatcher</servlet-name> <url-pattern>*.msp</url-pattern> </servlet-mapping> I thought that the filters'action was limited to the application context, instead each request to the application A is logged also by the filter of the application B see also http://forum.java.sun.com/thread.jspa?threadID=519425 for a open discussion on this ... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]