| Author |
tomcat_5 and application logging.
|
gautham kasinath
Ranch Hand
Joined: Dec 01, 2000
Posts: 583
|
|
HI! Well, I have run into a wierd problem. When I copy the commons-logging.jar in my webapp/web-inf/lib, then tomcat complains that there is no log4j implementation and logs everything into my <application>.log file. So I get all the stuff that is going on in Tomcat, with my own application logs. But, when I copy the commons-logging.jar and place it under common/lib. then I no longer get this error. But I get another one, saying a parsing exception with struts-logic.tld and all the other tlds, that I have under web-inf/tlds (as I have configured). Any clues to what I am mising in the configuration? Cheers Lupo
|
"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at : http://www.geocities.com/gkasinath
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
the exact location of commons-logging.jar is one of those 'archane magic' things, and it's bitten some very compentent people in the butt. You might be running afoul of a very nasty problem with commons-logging, log4j, and the tomcat classloaders. for example: http://www.qos.ch/logging/thinkAgain.html
|
 |
Mike Curwen
Ranch Hand
Joined: Feb 20, 2001
Posts: 3695
|
|
Hmm... just found this. http://www.jroller.com/page/gstamp/20040308#commons_logging1
|
 |
gautham kasinath
Ranch Hand
Joined: Dec 01, 2000
Posts: 583
|
|
Hey! Thanks mike for the quick replies. Well, unfortunately, they dont seem to quite address my problem at the moment. I wonder if there is a dependency between commons-logging and SAX parser that is loaded by tomcat.
|
 |
 |
|
|
subject: tomcat_5 and application logging.
|
|
|