tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 6764] New: - commons-logging error at startup
Date Thu, 28 Feb 2002 19:23:56 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6764>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6764

commons-logging error at startup

           Summary: commons-logging error at startup
           Product: Tomcat 4
           Version: Nightly Build
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: vmassol@octo.com


Hi,

If I put log4j.jar (I'm using version 1.2 alpha 5) in my webapp WEB-INF/lib 
directory (which I need for my application), I get the error below with Tomcat 
4.1dev builds of 20020214, 20020223 and 2002028 (I've only tried with these). 
It works with Tomcat 4.0.2.

If I don't log4j.jar at all in WEB-INF/lib, it works.

I suspect this is an issue due to the introduction of commons-logging.

2002-02-28 18:51:15 HttpConnector Opening server socket on all host IP 
addresses
2002-02-28 18:51:15 HttpConnector[8080] Sarting background thread
2002-02-28 18:51:15 HostConfig[localhost]: Deploying web application archive 
test.war
2002-02-28 18:51:15 StandardHost[localhost]: Installing web application at 
context path /test from URL jar:file:E:\Dev\jakarta-cactus\target\servlet23
\dist\sample\target\test\tomcat40\webapps\test.war!/
2002-02-28 18:51:15 HttpProcessor[8080][0] Starting background thread
2002-02-28 18:51:15 HttpProcessor[8080][1] Starting background thread
2002-02-28 18:51:15 HttpProcessor[8080][2] Starting background thread
2002-02-28 18:51:15 HttpProcessor[8080][3] Starting background thread
2002-02-28 18:51:15 HttpProcessor[8080][4] Starting background thread
2002-02-28 18:51:16 StandardHost[localhost]: MAPPING configuration error for 
request URI 
2002-02-28 18:51:16 StandardContext[/test]: Cannot find message associated 
with key standardContext.namingInitFailed
2002-02-28 18:51:16 WebappLoader[/test]: Deploying class repositories to work 
directory E:\Dev\jakarta-cactus\target\servlet23
\dist\sample\target\test\tomcat40\work\localhost\test
2002-02-28 18:51:16 WebappLoader[/test]: Deploy class files /WEB-INF/classes 
to E:\Dev\jakarta-cactus\target\servlet23\dist\sample\target\test\tomcat40
\webapps\test\WEB-INF\classes
2002-02-28 18:51:16 WebappLoader[/test]: Deploy JAR /WEB-INF/lib/aspectjrt.jar 
to E:\Dev\jakarta-cactus\target\servlet23\dist\sample\target\test\tomcat40
\webapps\test\WEB-INF\lib\aspectjrt.jar
2002-02-28 18:51:16 WebappLoader[/test]: Deploy JAR /WEB-INF/lib/cactus.jar to 
E:\Dev\jakarta-cactus\target\servlet23\dist\sample\target\test\tomcat40
\webapps\test\WEB-INF\lib\cactus.jar
2002-02-28 18:51:16 WebappLoader[/test]: Deploy JAR /WEB-
INF/lib/httpclient.jar to E:\Dev\jakarta-cactus\target\servlet23
\dist\sample\target\test\tomcat40\webapps\test\WEB-INF\lib\httpclient.jar
2002-02-28 18:51:16 WebappLoader[/test]: Deploy JAR /WEB-INF/lib/junit.jar to 
E:\Dev\jakarta-cactus\target\servlet23\dist\sample\target\test\tomcat40
\webapps\test\WEB-INF\lib\junit.jar
2002-02-28 18:51:16 WebappLoader[/test]: Deploy JAR /WEB-INF/lib/log4j.jar to 
E:\Dev\jakarta-cactus\target\servlet23\dist\sample\target\test\tomcat40
\webapps\test\WEB-INF\lib\log4j.jar
2002-02-28 18:51:16 StandardManager[/test]: Seeding random number generator 
class java.security.SecureRandom
2002-02-28 18:51:16 StandardManager[/test]: Seeding of random number generator 
has been completed
2002-02-28 18:51:16 ContextConfig[/test] Parse error in default web.xml
org.apache.commons.logging.LogConfigurationException: 
java.lang.reflect.InvocationTargetException
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:464)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:273)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:338)
	at org.apache.commons.digester.Digester.<init>(Digester.java:309)
	at org.apache.catalina.startup.ContextConfig.createWebDigester(Unknown 
Source)
	at org.apache.catalina.startup.ContextConfig.defaultConfig(Unknown 
Source)
	at org.apache.catalina.startup.ContextConfig.start(Unknown Source)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(Unknown 
Source)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
(Unknown Source)

Any idea ?

Thanks
-Vincent

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message