Will,
Wow, that's a good to hear. Using v.1.5 we don't have
to deploy the very same velocity.jar file multiple
times. After all, it takes some ram and startup time
to initialize each instance within web application
classloader.

And of course if we got my UTF-8 file patch to a core
release, it would give me out-of-the-box package :-)
https://issues.apache.org/jira/browse/VELOCITY-191

--- Will Glass-Husain <[EMAIL PROTECTED]> wrote:

> FYI: This behavior should work when you use the
> forthcoming Velocity
> 1.5.  (putting Velocity jars in container root lib).
> 
> On 1/15/07, Ryan Clifton <[EMAIL PROTECTED]> wrote:
> >
> >  This solved my problem.  I had the .jars in the
> container root lib, not in
> > the web-app lib.
> >
> >  Thanks for you help!
> >
> >  mailmur wrote:
> >  What is a servlet container you use, Tomcat,
> Jetty or
> > something else?
> >
> > Make sure you don't have velocity.jar in a global
> path
> > (java classpath, jre extension folders, tomcat
> > common/lib or similar in other containers).
> >
> > If you put velocity.jar to webapp/WEB-INF/lib
> folder
> > you should get a private instance on each web
> > application. This is how I have been using it for
> 2
> > years now, I use Tomcat btw.
> >
> > Only requirement is that servlet container
> actually
> > uses a separate class loader for each web
> application.
> > This should be ok if use any mainstream container
> > engine.
> >


 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to