File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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

Tomcat 4.1 and Log4j problems... plz help

Magnus Andersson

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,
gunjan bohra
Ranch Hand

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

Joined: Jan 22, 2004
Posts: 185
Just download that jar file and install it beneath Common\lib
I agree. Here's the link:
subject: Tomcat 4.1 and Log4j problems... plz help
It's not a secret anymore!