TomcatExpert

ERS

Knowledge Base : JDBC Connection Pool Timeout Errors

posted by SpringSource on February 9, 2010 12:44 PM

If the database server times out a connection, the connection pool on Tomcat side would not be aware of its disconnection.

If the database server times out a connection, the connection pool on Tomcat side would not be aware of its disconnection, and could throw the following exception in Tomcat:

Read More

28 comments   |  

0
Rating
  |  

| ERS, JDBC, timeouts

Knowledge Base : How to redirect stderr and stdout messages

posted by SpringSource on December 28, 2009 06:05 PM

How to configure your web application's stderr and stdout messages be redirected to the application's log file for Tomcat 5.5 in ERS 3.x

For standard web applications, error messages and output are streamed to log files using sterr and stdout respectively. Some application developers prefer to aggregate all these messages into the application log.

The following steps are required to configure your web application's stderr and stdout messages be redirected to the application's log file for Tomcat 5.5 in ERS 3.1 utilizing java.util.logging:

 

Read More

11 comments   |  

0
Rating
  |  

Developers | ERS, logs, redirect

Knowledge Base : Apache Tomcat fails to start with HTTP 404 error

posted by SpringSource on October 28, 2009 12:10 PM

The cause for an HTTP 404 error in Tomcat.

Tomcat fails to start and return a 404 error. Java stack trace shows:

Read More

25 comments   |  

0
Rating
  |  

Operations | ERS, http 404 error, Tomcat

Knowledge Base : How to change log level for Apache Tomcat

posted by SpringSource on October 27, 2009 03:14 PM

Changing log verbosity in Tomcat 4.1, 5.0 and 5.5

Tomcat 4.1
=========

In Tomcat 4.1, the logVerbosityLevel attribute for the Logger element can be used to set the log level. FATAL, ERROR, WARNING, INFORMATION, and DEBUG are the valid values. The default setting is at the WARNING level.

 

Tomcat 5.0
=========

In Tomcat 5.0, it can be changed through commons logging or log4j. Log4j is recommended as it has greater flexibility. In doing so:

Read More

28 comments   |  

0
Rating
  |  

Developers | ERS, log4j, loglevel

Syndicate content