Archive for the ‘Tomcat’ Category

Tomcat and Log4J

Saturday, January 19th, 2008

After battling with several different configurations when it comes to logging and Tomcat 5.5.x, I decided to put together this guide for a simplistic approach. This assumes that you would like to use Log4J for both Tomcat’s internal logging as well as your deployed web application’s logging needs.

For the impatient, here are the steps:

  1. Place a log4j.properties file which uses the RollingFileAppender in common/classes.
  2. Add your log4j.jar to the common/lib directory.
  3. Add commons-logging.jar (1.0.4 or later) and log4j.jar to your application’s WEB-INF/lib directory.
  4. Add a log4j.properties OR log4j.xml file to your application’s WEB-INF/classes directory.

(more…)

20 Tips for Using Tomcat in Production

Saturday, August 18th, 2007

TomcatI’ve been working with Apache Tomcat for years and always seem to stumble upon new information related to the proper setup and configuration for a production environment. I’ve decided to put the instructions and tips I’ve collected together in one place.

So here are some helpful hints for running Tomcat in a production environment:

(more…)


Fox Holes

  • You are currently browsing the archives for the Tomcat category.

Rabbit Holes

Chasms