Solved

Tomcat - Log Problem

Posted on 2006-10-30
3
525 Views
Last Modified: 2010-03-17
I see logs being updated in Tomcat at startup, but after that log files are not being updated.

I have deployed a web application, but when i try to start it i get error message on the Tomcat manager application page: FAIL - Application at context path /xxx could not be started.

So, i want to debug - what is causing it to fail to start.

I think log4j and logging of tomcat are getting in the way of each other. Because the web application that i am deploying uses log4j, and tomcat is using jdk logger.

But i can't be sure...

0
Comment
Question by:j4linman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Accepted Solution

by:
shinobun earned 125 total points
ID: 17895286
Tomcat uses commons-logging, and hence able to be configured to use Log4j as well.  This page in the user guide may help:

http://tomcat.apache.org/tomcat-5.5-doc/logging.html

There shouldn't be a problem of stepping on each other's toes if your log4j jar is placed in your webapp, under WEB-INF/lib.
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack 7.0.0.23 or Above. The following steps a…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question