Debugging Tomcat SEVERE: Error filterStart or listenerStart

Today, we spent quite some time debugging our Grails application to find out why in ‘grails run-app’, the application worked fine, however, when running the application in Tomcat (6.0.35), an error popped up. The error not quite helpful indeed: SEVERE: Error filterStart.

To debug this, after some Googling, which pointed us into the wrong direction, I downloaded the Tomcat source and found the issue. All you have to do is change the logging.properties file in your TOMCAT_HOME/conf directory, and add the following:

org.apache.catalina.core.StandardContext.[Catalina].level = ALL
org.apache.catalina.core.StandardContext.[Catalina].handlers = java.util.logging.ConsoleHandler

This showed us the stacktrace, and pointed us in the direction of Spring Security Core (org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named ‘springSecurityFilterChain’ is defined), which will hopefully be a blog for tomorrow ;-)

0 Comments

Trackbacks/Pingbacks

  1. An Army of Solipsists » Blog Archive » This Week in Grails (2012-21) - [...] Debugging Tomcat SEVERE: Error filterStart or listenerStart [...]
  2. Questa settimana in Grails (2012-21) - luca-canducci.com - Il blog di Luca Canducci: notizie, tips e nuove tecnologie dal mondo dell’IT. - [...] Debugging Tomcat SEVERE: Error filterStart or listenerStart [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>