velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Lamuette" <>
Subject RE: Log4j Problem
Date Fri, 04 Apr 2003 17:04:54 GMT
I worked with an intermediate nightly build of velocity-tools, and i found
the bug in VelocityViewServlet that initialized ServletLogger for
Ok, instead fixing it, i turn to the last nightly build, rewrite web.xml
with your conf, i changed the class package in the toolbox.xml, and .. it
works !!!!!!!!
Thank you for your support, nathan.

-----Message d'origine-----
De : Nathan Bubna []
Envoyé : vendredi 4 avril 2003 16:59
À : Velocity Users List
Objet : Re: Log4j Problem

Richard said:
> And a part from my (it is located in the WEB-INF
> and I promise it is used by velocity)

promises, promises...  proof from a log would be better! ;-)

> The related part from my web.xml :
> <init-param>
> <param-name>toolbox</param-name>
> <param-value>/WEB-INF/toolbox.xml</param-value>
> </init-param>
>     <init-param>
>       <param-name>properties</param-name>
>       <param-value>/WEB-INF/</param-value>
>    </init-param>

if you are using the current CVS of velocity-tools, then your toolbox
and your are NOT being loaded.

the param-names for these files have been changed.  in your web.xml they
should now look like:


the param name for was changed thusly in Velocity 1.4's
VelocityServlet and the old one was deprecated.  when the
VelocityViewServlet was made independent of the VelocityServlet a few weeks
back, the support for the deprecated one was dropped (velocity-tools has no
formal release and thus is not concerned with being B.C. yet) and the
param-name for the toolbox file was changed to match.   i apologize that we
have not yet gotten documentation out there that show this, but at least the
example applications and javadoc do reflect this change.

Nathan Bubna

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message