Hello,

The web application is trying to load specific classes from the jar files.

The main idea is that in tomcat7 the jar files were kept in memory and when the 
web application required a specific class the jvm fetched it from memory.
With tomcat9 when the web application requires a specific class tomcat 9 will 
try to load the jar file which contains that class.

I would like to have the same behavior as we did in tomcat7, is this possible?

Thank you,
Cristian Duca.
-----Original Message-----
From: Mark Thomas <ma...@apache.org>
Sent: Wednesday, 9 October, 2019 13:39
To: users@tomcat.apache.org
Subject: Re: Tomcat discards and reloads the jar files from the webapps folder.

On 09/10/2019 11:36, Duca,Cristian wrote:
> Hello,
>
> We upgraded our tomcat from 7 to 9 and we observed the following:
>
>   *   In tomcat9 the jar files from the webapps folder are discarded and 
> reloaded -> this creates extra input/output operations which increase our CPU 
> Usage.
>   *   In tomcat7 the jar files were kept loaded in memory and were not 
> discarded.
>
> I have tried adding the periodicEventDelay set to 0 or a negative value, but 
> we have the same behavior.
>
> Can you please guide me what I can do to have the same behavior as we did 
> with tomcat7.

That depends what resources the web application is attempting to load from the 
JAR files.

Mark

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



CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

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

Reply via email to