velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaust...@tathya.com
Subject log4j:ERROR Attempted to append to closed appender named [null].
Date Fri, 12 May 2006 07:25:44 GMT
I am getting the following lines reputedly at the log file. Sometime thousands of times at
a time. 

log4j:ERROR Attempted to append to closed appender named [null].

It is supposed to be occurring that very part of the application where velocity engine is
being used.

Configuration:

tomcat 5.5.9
log4j1.2.8
velocity1.4
jdk 1.5.0_04

My velocity.properties file looks like:

org.apache.velocity.runtime.log.AvalonLogSystem,org.apache.velocity.runtime.log.SimpleLog4JLogSystem
runtime.log.logsystem.class = org.apache.velocity.runtime.log.SimpleLog4JLogSystem
runtime.log = velocity.log
runtime.log.error.stacktrace = false
runtime.log.warn.stacktrace = false
runtime.log.info.stacktrace = false
runtime.log.invalid.reference = true
input.encoding=ISO-8859-1
output.encoding=ISO-8859-1
directive.foreach.counter.name = velocityCount
directive.foreach.counter.initial.value = 1
directive.include.output.errormsg.start = <!-- include error :
directive.include.output.errormsg.end   =  see error log -->
directive.parse.max.depth = 10
resource.loader = file
file.resource.loader.description = Velocity File Resource Loader
file.resource.loader.class = org.apache.velocity.runtime.resource.loader.FileResourceLoader
file.resource.loader.path = /opt/VeroniqaFrontend/templates/affiliatetemplates
file.resource.loader.cache = false
file.resource.loader.modificationCheckInterval = 2
velocimacro.library = VM_global_library.vm
velocimacro.permissions.allow.inline = true
velocimacro.permissions.allow.inline.to.replace.global = false
velocimacro.permissions.allow.inline.local.scope = false
velocimacro.context.localscope = false
runtime.interpolate.string.literals = true
resource.manager.class = org.apache.velocity.runtime.resource.ResourceManagerImpl
resource.manager.cache.class = org.apache.velocity.runtime.resource.ResourceCacheImpl
runtime.introspector.uberspect = org.apache.velocity.util.introspection.UberspectImpl
runtime.log.logsystem.log4j.category=org.apache.velocity.runtime.log.SimpleLog4JLogSystem
log4j.logger.org.apache.velocity.runtime.log.SimpleLog4JLogSystem=INFO


can anybody rescue me please.


Mime
View raw message