velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Bubna" <nbu...@gmail.com>
Subject Re: log4j:ERROR Attempted to append to closed appender named [null].
Date Mon, 15 May 2006 14:21:24 GMT
This was a bug in the released versions of Velocity.  It has been
fixed in the latest source version for some time and will be fixed in
the upcoming 1.5 release.  If you would like to try it, feel free to
download a nightly build of the 1.5-dev version.  It's quite stable
and much improved over 1.4.

On 5/12/06, kaustabh@tathya.com <kaustabh@tathya.com> wrote:
> 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.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: velocity-user-help@jakarta.apache.org
>
>

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


Mime
View raw message