logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dean A. Hoover" <dhoo...@rochester.rr.com>
Subject Re: tomcat and log4j, again
Date Fri, 04 Jul 2003 07:22:24 GMT
I just removed /usr/java/j2sdk1.4.1_02/jre/lib/ext/log4j-1.2.8.jar and 
now it works!!!

Thanks.
Dean

Dean A. Hoover wrote:

> Ceki Gülcü wrote:
>
>>
>> Do you have a copy of the log4j.jar file other than the WEB_INF/lib 
>> directory of your web-app? 
>
>
> I did a find on *log*.jar and found the following:
>
> /usr/java/j2sdk1.4.1_02/jre/lib/ext/log4j-1.2.8.jar
> /usr/java/jakarta-tomcat-4.1.24/server/lib/commons-logging.jar
> /usr/java/jakarta-tomcat-4.1.24/common/lib/commons-logging-api.jar
> /usr/java/jakarta-tomcat-4.1.24/work/Standalone/localhost/vendor/WEB-INF/lib/log4j-1.2.8.jar
> /usr/java/apache-ant-1.6alpha/lib/ant-weblogic.jar
> /usr/java/apache-ant-1.6alpha/lib/ant-commons-logging.jar
> /usr/java/apache-ant-1.6alpha/lib/ant-log4j.jar
>
> I believe I put the first one in there myself. Will that cause a problem?
>
>>
>>
>> Do you have it in the classpath? In the JVM extensions directory?
>>
>> By the way, tomcat is not starting properly which means that your 
>> web-app will also not start but you get log4j messages which mean 
>> that there is a copy of log4j.jar in a place other than your 
>> web-app's WEB_INF/lib directory.
>>
>>> log4j: Trying to find [log4j.xml] using context classloader 
>>> StandardClassLoader
>>>   available:
>>>     Extension[org.apache.commons.logging, 
>>> implementationVendor=Apache Software Foundation, 
>>> implementationVersion=1.0.2, specificationVendor=Apache Software 
>>> Foundation, specificationVersion=1.0]
>>>     Extension[org.apache.commons.digester, 
>>> implementationVendor="Apache Software Foundation", 
>>> implementationVersion="1.4.1", specificationVendor="Apache Software 
>>> Foundation", specificationVersion="1.4"]
>>>     Extension[modeler, implementationVendor=Apache Software 
>>> Foundation, implementationVersion=1.0, specificationVendor=Apache 
>>> Software Foundation, specificationVersion=1.0]
>>>     Extension[@name@, implementationVendor=Apache Software 
>>> Foundation, implementationVersion=@version@, 
>>> specificationVendor=Apache Software Foundation, 
>>> specificationVersion=1.0]
>>>     Extension[org.apache.commons.beanutils, 
>>> implementationVendor=Apache Software Foundation, 
>>> implementationVersion=1.6, specificationVendor=Apache Software 
>>> Foundation, specificationVersion=1.6]
>>>     Extension[coyote, implementationVendor=Apache Software 
>>> Foundation, implementationVersion=1.0-dev, 
>>> specificationVendor=Apache Software Foundation, 
>>> specificationVersion=1.0]
>>>   delegate: true
>>>   repositories:
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/classes/
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/mx4j-jmx.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/commons-logging.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/server/lib/commons-digester.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/server/lib/servlets-invoker.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/server/lib/servlets-manager.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/commons-modeler.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/server/lib/servlets-default.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/tomcat-http11.jar
>>>
>>> file:/usr/java/jakarta-tomcat-4.1.24/server/lib/commons-fileupload-1.0-beta-1.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/tomcat-util.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/catalina.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/server/lib/commons-beanutils.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/tomcat-coyote.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/jaas.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/servlets-common.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/servlets-webdav.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/tomcat-warp.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/catalina-ant.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/tomcat-jk2.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/server/lib/jakarta-regexp-1.2.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/server/lib/tomcat-jk.jar
>>>   required:
>>> ----------> Parent Classloader:
>>> StandardClassLoader
>>>   available:
>>>     Extension[javax.mail, implementationVendor=Sun Microsystems, 
>>> Inc., implementationVendorId=com.sun, implementationVersion=1.2, 
>>> specificationVendor=Sun Microsystems, Inc., specificationVersion=1.2]
>>>     Extension[org.apache.commons.logging, 
>>> implementationVendor=Apache Software Foundation, 
>>> implementationVersion=1.0.2, specificationVendor=Apache Software 
>>> Foundation, specificationVersion=1.0]
>>>     Extension[org.apache.commons.collections, 
>>> implementationVendor=Apache Software Foundation, 
>>> implementationVersion=2.1, specificationVendor=Apache Software 
>>> Foundation, specificationVersion=2.1]
>>>     Extension[org.apache.commons.pool, implementationVendor=Apache 
>>> Software Foundation, implementationVersion=1.0.1, 
>>> specificationVendor=Apache Software Foundation, 
>>> specificationVersion=1.0]
>>>     Extension[org.apache.commons.dbcp, implementationVendor=Apache 
>>> Software Foundation, implementationVersion=1.0, 
>>> specificationVendor=Apache Software Foundation, 
>>> specificationVersion=1.0]
>>>     Extension[org.apache.tools.ant, implementationVendor=Apache 
>>> Software Foundation, implementationVersion=1.5.1, 
>>> specificationVendor=Apache Software Foundation, 
>>> specificationVersion=1.5.1]
>>>   delegate: true
>>>   repositories:
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/classes/
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/endorsed/xercesImpl.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/common/endorsed/xmlParserAPIs.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/servlet.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/mail.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/common/lib/commons-logging-api.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/common/lib/commons-collections.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/jdbc2_0-stdext.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/commons-pool.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/jasper-compiler.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/naming-factory.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/jndi.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/activation.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/jasper-runtime.jar
>>>     
>>> file:/usr/java/jakarta-tomcat-4.1.24/common/lib/naming-resources.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/naming-common.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/commons-dbcp.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/ant.jar
>>>     file:/usr/java/jakarta-tomcat-4.1.24/common/lib/jta.jar
>>>   required:
>>
>>
>>
>> -- 
>> Ceki  For log4j documentation consider "The complete log4j manual"
>>       ISBN: 2970036908  http://www.qos.ch/shop/products/clm_t.jsp
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message