I put a jar in <tomcat home>/common/lib/ that has some base servlet classes I wrote. When writing apps, I derive from these classes. Works fine.
I put the velocity.jar file in the WEB-INF/lib folder of each app for using the "singleton" model of Velocity (jakarta.apache.org/velocity) so that each web app has it's own engine instance. Works fine. I try to combine the two above by putting my base class jar in the /common/lib/ which has classes derived from the velocity.jar at the app level and I get a class loading error since apparently classes defined at the container level do not look in the /WEB-INF/lib for classes. If I put the base class jar that's in /common/lib/ in WEB-INF/lib it works, but I shouldn't have to do that. And the reverse also works (putting the velocity jar in the /common/lib/), but breaks the idea of the Velocity singleton model since all apps on the server will be sharing the same velocity engine and therefore all velocity-related resources (template location, log location, etc). Is there any way out of having to copy my base class jar into every web app? Colin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
