Kok Hoor,

On 12/27/21 18:36, Chew Kok Hoor wrote:
Hi,

     We're using the old javax.servlet namespace for compatibility reasons.

     Some of our jar files are re-used by different web-apps, therefore we
placed them in the common classloader.

     Is it possible to convert them dynamically, just like how we do it for
servlets in the per app WEB-INF folder, by using the following in the
context file:

<Loader jakartaConverter="TOMCAT" />

Any reason not to simply *stop* using the shared ClassLoader and instead bundle everything with each web application?

How many web apps are running in the same container? How many libraries are you sharing?

I've never seen a good argument for sharing libraries like this. RAM is cheap and plentiful, and code is very small.

-chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to