Solved

Tomcat - Log Problem

Posted on 2006-10-30
3
521 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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