tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Intermittent JSP Caching/Compiling Issue while under load
Date Mon, 04 Nov 2019 16:56:14 GMT
On 04/11/2019 15:30, Mark Thomas wrote:
> On 04/11/2019 15:11, Tim K wrote:
>> On Mon, Nov 4, 2019, 10:06 AM Mark Thomas <markt@apache.org> wrote:
>>
>>>
>>> How are you distributing the updates to the JSP to all 4 servers?
>>>
>>> Is there a shared file system involved? If yes, exactly what is shared
>>> between the instances?
>>>
>>> Mark
>>>
>>
>> Common NFS storage included via <PreResources> (DirResourceSet) within the
>> <Context> of my clustered application.  But to rule out any issue with
>> that, I tried using local storage within the war directory itself and
>> updated the JSP on local storage exactly at the same time and the problem
>> still persisted.
> 
> Thanks. That helps as it means the issue should be reproducible on a
> single, stand-alone instance.

Hmm. I have a theory but it is one that I can't easily reproduce because
the root cause is using non-volatile fields across multiple threads.

How plausible is it that there would be two concurrent requests for that
modified JSP?

Mark

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


Mime
View raw message