aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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

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
Similar Threads
HTTP 503 Servlet action unavailable
Pls Help JavaBean tomcat
how to setup class path
ContextListener stopping context from loading
Basic Doubts