Hi. What kind of servlet are you using?
If you use servlets of your own, just be sure to use different VelocityEngine objects, they should be totally independant. If you use the VelocityServlet class, then drop it and use the VelocityViewServlet of the Tools subproject. If you already use the VelocityViewServlet, then this is quite weird... Claude Le vendredi 12 janvier 2007 à 12:35 -0800, Ryan Clifton a écrit : > Hello, > > I am trying to run multiple web-apps under a single JVM that are > concurrently running their own velocity engines. When I start > everything up, the web-apps appear to use the template directory from > the first web-app that is loaded into the JVM. > > IE. if i have www.foo1.com and www.foo2.com and foo1 is loaded first, > foo2 will only get templates from foo1. > > So it seems that Velocity statically loads the templates folder across > the whole JVM. Is there any way around this other than running multple > JVMs on different ports? > > thanks. > > Ryan > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
