Adding library to my webapp/lib directory while Tomcat is running. Can I have my running webapp to use that library without having to restart Tomcat ?
0 posts in topic
Flat View  Flat View

Posted By:   Agung_Saptono
Posted On:   Sunday, April 11, 2004 10:24 PM

I have a web application running on Tomcat 4.1. My web app needs to load some kind of plug in, in the middle of its life time.

While my webapp is running, I'd like to add a plug in, which is in fact a jar file into my webapp/WEB-INF/lib directory. I realize that I need to restart Tomcat in order for my web app to be able to load that plug in successfully.

The plug in is loaded through ClassLoader process and I believe there must be a way to add a library while tomcat is running, without having to restart Tomcat it self. But how? Can someone help?



About | Sitemap | Contact