Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-29 Thread Richard Huntrods
On 28.12.21 00:36, Chew Kok Hoor wrote: 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

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-28 Thread Olaf Kock
On 28.12.21 00:36, Chew Kok Hoor wrote: > 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

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Chew Kok Hoor
Sure Chris, thanks for advice! Have a great day! Regards, Kok Hoor On Tue, Dec 28, 2021 at 8:23 AM Christopher Schultz < ch...@christopherschultz.net> wrote: > Kok Hoor, > > On 12/27/21 19:08, Chew Kok Hoor wrote: > > Thanks for prompt response. We have like maybe 50 webapps, and they

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Christopher Schultz
Kok Hoor, On 12/27/21 19:08, Chew Kok Hoor wrote: Thanks for prompt response. We have like maybe 50 webapps, and they are common (except that they have different database connection or maybe some html file changes). Which is why we prefer sharing libraries for ease of deployment and updates

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Chew Kok Hoor
Hi Chris, Thanks for prompt response. We have like maybe 50 webapps, and they are common (except that they have different database connection or maybe some html file changes). Which is why we prefer sharing libraries for ease of deployment and updates. But I do agree, sharing libraries ha

Re: ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Christopher Schultz
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,

ClassFileTransformer in Tomcat 10 common classloader

2021-12-27 Thread Chew Kok Hoor
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-I