Chris,
Yes the auto deploy is set to false in our environment. I am not sure which 
background processor are you referring to ? if you can share that info I can 
check on it.


-----Original Message-----
From: Christopher Schultz <ch...@christopherschultz.net>
Sent: Tuesday, January 19, 2021 11:46 AM
To: users@tomcat.apache.org
Subject: Re: Reg: Jars under web-inf lib being accessed by tomcat even when the 
application is not running.

Attention: This email was sent from someone outside of eClinicalWorks. Always 
use caution when opening attachments or clicking links from unknown senders or 
when receiving unexpected emails.

Jalaj,

On 1/18/21 11:13, Jalaj Asher wrote:
> We have a situation where in we are seeing with tomcat 8.5 and higher that 
> even when the application is not in use , tomcat is accessing different jars 
> in that  web-inf/ lib folder every few seconds or few minutes.
>
> These jars are not getting loaded in memory , we profiled it to check if they 
> were getting loaded in the heap or the metaspace area but that was not the 
> case.
>
> When I ran the lsof command though I could see that multiple jars were being 
> accessed (read) from that folder very frequently, with no application usage.
>
> Any reason or any setting that you are aware off that could be causing
> this. I did enable the all setting for localhost under logging
> properties as well as the below option
>
> org.apache.tomcat.util.http = ALL
>
>
> but none shows the files being accessed unless I run the LSOF command on 
> linux. I am not sure why is tomcat reading those files multiple times in a 
> minute.
>
> Also wanted to see if there is a setting to switch off this behavior.

Is your application reloadable? Does the file-access timing you are observing 
line-up with the background processor's interval?

-chris

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


CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains confidential 
information belonging to the sender that is legally privileged and proprietary 
and may be subject to protection under the law, including the Health Insurance 
Portability and Accountability Act (HIPAA). If you are not the intended 
recipient of this e-mail, you are prohibited from sharing, copying, or 
otherwise using or disclosing its contents. If you have received this e-mail in 
error, please notify the sender immediately by reply e-mail and permanently 
delete this e-mail and any attachments without reading, forwarding or saving 
them. Thank you.

CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains confidential 
information belonging to the sender that is legally privileged and proprietary 
and may be subject to protection under the law, including the Health Insurance 
Portability and Accountability Act (HIPAA). If you are not the intended 
recipient of this e-mail, you are prohibited from sharing, copying, or 
otherwise using or disclosing its contents. If you have received this e-mail in 
error, please notify the sender immediately by reply e-mail and permanently 
delete this e-mail and any attachments without reading, forwarding or saving 
them. Thank you.

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

Reply via email to