Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Tomcat - Log Problem

Posted on 2006-10-30
3
Medium Priority
?
530 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 500 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

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.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

972 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