Solved

Tomcat - Log Problem

Posted on 2006-10-30
3
516 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
3 Comments
 
LVL 9

Accepted Solution

by:
shinobun earned 125 total points
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now