commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jasmin Mehta <Jasmin_Me...@nexweb.org>
Subject [Logging] : User-specified log class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not useable.
Date Fri, 06 Aug 2010 14:26:40 GMT
Hi,

I am using Oracle Application Server 10g Release 3 (10.1.3.5.0) Patch Set 
5. 

While I deploy the ear file I am getting this exception:

DeployerRunnable.run User-specified log class 
'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is not 
useable.oracle.oc4j.admin.internal.DeployerException: User-specified log 
class 'org.apache.commons.logging.impl.Log4JLogger' cannot be found or is 
not useable.

I have both log4j jar and commons-logging-1.1.1.jar in my \WEB-INF\lib.

commons-loggig.properties

priority=1
org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl
# Use Log4j
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
# Configuration file of the log
log4j.configuration=log4j.properties

log4j.properties


log4j.rootCategory=DEBUG,stdout,standardFile
log4j.configCheckDelay=900000
################################## CONSOLE 
######################################## 
log4j.appender.OJDL=oracle.core.ojdl.log4j.OracleAppender
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d{dd MMM yyyy HH:mm:ss}] 
%-5p [%c{1}] %m%n
log4j.defaultInitOverride=true
################################## STANDARD FILE 
################################## 
log4j.appender.standardFile=org.apache.log4j.RollingFileAppender
log4j.appender.standardFile.File=/u5/reteklogs/dev/VGCC/log/vgcc.log
log4j.appender.standardFile.MaxFileSize=1000KB
log4j.appender.standardFile.MaxBackupIndex=50
log4j.appender.standardFile.layout=org.apache.log4j.PatternLayout
log4j.appender.standardFile.layout.ConversionPattern=[%d{dd MMM yyyy 
HH:mm:ss}] %-5p [%c{1}] %m%n



******************************************************************************
This email and any files transmitted with it are intended solely for 
the use of the individual or agency to whom they are addressed. 
If you have received this email in error please notify the Navy 
Exchange Service Command e-mail administrator. This footnote 
also confirms that this email message has been scanned for the
presence of computer viruses.

Thank You!            
******************************************************************************


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message