-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kolja,
Ehlers, Kolja wrote: > is it not possible to define a global filter for all web applications? Yes, but I'm not sure why you'd want to do that. If each application needs it, just enable it in all applications. > If I add > > <filter> > <filter-name>Logger</filter-name> > <filter-class>filters.LoggerFilter</filter-class> > <init-param> > <param-name>localTimeout</param-name> > <param-value>480</param-value> > </init-param> > </filter> > <filter-mapping> > <filter-name>Logger</filter-name> > <url-pattern>/*</url-pattern> > </filter-mapping> > > to conf/web.xml Tomcat gives SERVERE warnings at startup > > 14.11.2008 12:34:57 org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > 14.11.2008 12:34:57 org.apache.catalina.startup.Catalina load > INFO: Initialization processed in 576 ms > 14.11.2008 12:34:58 org.apache.catalina.core.StandardService start > INFO: Starting service Catalina > 14.11.2008 12:34:58 org.apache.catalina.core.StandardEngine start > INFO: Starting Servlet Engine: Apache Tomcat/5.5.9 > 14.11.2008 12:34:58 org.apache.catalina.core.StandardHost start > INFO: XML validation disabled > 14.11.2008 12:34:58 org.apache.catalina.core.StandardContext start > SCHWERWIEGEND: Error filterStart Is that all you get? I would have expected a ClassNotFoundException or something. Your problem is likely that you have your filters.LoggerFilter class in one of your webapps' lib directories. Instead, you have to put it into Tomcat's "lib" directory (for TC 6) or Tomcat's common/lib directory (for TC 5). - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkdm+QACgkQ9CaO5/Lv0PCLCwCgli8CLDzQ0XTFWizs0H7JNbLY qagAoJFFTM+lVnwr7RvPh3GWMrSM2n/P =0zEw -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]