Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Tomcat 7 takes more than 21 minutes to start:

ene 09, 2013 10:01:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1290787 ms

When it finishes it says that it's scanning JARs that don't contain TLDs:

ene 09, 2013 10:59:39 AM org.apache.jasper.compiler.TldLocationsCache tldScanJar
INFO: Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .

A paste of the entire log can be found here.

After searching the error, I discovered that someone had resolved the same issue by modifying /var/lib/tomcat7/conf/ to log more verbose information.

When I set org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level to FINE as suggested in the link, the output of my log remains unchanged.

How can I make Tomcat 7 log more?

share|improve this question
I'm guessing the English language version of that error message would be something like Jul 23, 2015 1:16:43 PM org.apache.jasper.servlet.TldScanner scanJars INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. – Basil Bourque Jul 23 '15 at 21:36

In tomcat 7, contains an entry: #org.apache.jasper.compiler.TldLocationsCache.level = FINE, which is commented out by default. Would removing the comment help give you the information you are looking for?

share|improve this answer

from tomcat 7 documentary:

The default in the JRE specifies a ConsoleHandler that routes logging to System.err. The default conf/ in Apache Tomcat also adds several FileHandlers that write to files. A handler's log level threshold is INFO by default and can be set using SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST or ALL. You can also target specific packages to collect logging from and specify a level. Here is how you would set debugging from Tomcat. You would need to ensure the ConsoleHandler's (or FileHandler's') level is also set to collect this threshold, so FINEST or ALL should be set. Please refer to java.util.logging documentation in the JDK for the complete details:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.