Question : Problem with Log4J & Tomcat

HI,

I have a web application which is using :
1. Apache Tomcat 6
2. Hibernate 3.2 with Annotations.
3. Struts 1.2

When I try to start my tomcat (with my web app deployed), The following error/warning messages is being displayed.
Also tomcat hangs for around 5 minutes then.

I have updated my log4j version to 1.2.15, still the problem is not rectified.

Waiting for your suggestions.
Thanks
Sandeep
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
C:\Tomcat60\bin>tomcat6
Jul 15, 2009 9:53:45 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
Jul 15, 2009 9:53:45 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].
Jul 15, 2009 9:53:46 AM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jul 15, 2009 9:53:46 AM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jul 15, 2009 9:53:46 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1224 ms
Jul 15, 2009 9:53:46 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jul 15, 2009 9:53:46 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Jul 15, 2009 9:53:47 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive e2cwebr3.war
log4j:WARN No appenders could be found for logger (org.apache.struts.util.Proper
tyMessageResources).
log4j:WARN Please initialize the log4j system properly.

Answer : Problem with Log4J & Tomcat

The problem is solved.
Thanks to all.

I have downloaded struts-config_1_2.dtd and kept it in web-inf.

Changed DOCTYPE to :

                  "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN"
                  "struts-config_1_2.dtd">

Thanks Again.
Random Solutions  
 
programming4us programming4us