*
The moose likes Tomcat and the fly likes Tomcat 4.1 and Log4j problems... plz help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 4.1 and Log4j problems... plz help" Watch "Tomcat 4.1 and Log4j problems... plz help" New topic
Author

Tomcat 4.1 and Log4j problems... plz help

Magnus Andersson
Greenhorn

Joined: Mar 03, 2004
Posts: 9
I made an application that is embedding tomcat 4.1 into source code, and I get some errors regarding Log4j at startup:
Cannot find org.apache.log4j.PatternLayoutBeanInfo
Cannot find org.apache.log4j.RollingFileAppenderBeanInfo
Cannot find org.apache.log4j.AppenderSkeletonBeanInfo
The reason is simple... they simply does not exist in my log4j1.2.8 jar file. (If you REMOVE the "BeanInfo" at the end, they exist)
But WHY does Tomcat want these files, and how do I get around the problem. This is not a runtime error, tomcat works, but I don't want these warnings.
Thanks in advance,
Magnus
gunjan bohra
Ranch Hand

Joined: Mar 24, 2004
Posts: 40
if you get rid of this file then plz reply me on bohrag@hotmail.com
plz ...
Thanks
Gunjan
danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
Just download that jar file and install it beneath Common\lib
Dan
 
 
subject: Tomcat 4.1 and Log4j problems... plz help