Hello All,

Thank you all for responding to my issue. I will see if we can turn off 
autodeploy and see if this helps. Will let you know.

Yes, that seems confusing if it is just stating "DEBUG Checking 
context[/ps_9.0_8.53.02_1] redeploy resource 
/usr/local/tomcat-instance5/webapps/ps_9.0_8.53.02_1.war". That statement seems 
as if it checked context, founded that something changed so it redeployed. But 
sounds like it did not per Mark's comment.

Also, I checked the folders for conf files, etc. and no file timestamps have 
changed. It always had the same timestamp as the day we deployed the folder 
unless we directly changed the file data for some reason. 

Thanks,

Thone

-----Original Message-----
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Wednesday, January 14, 2015 12:52 PM
To: Tomcat Users List
Subject: Re: Slow HTTP Rquest via Tomcat

On 14/01/2015 20:46, André Warnier wrote:
> Mark Thomas wrote:
>> On 14/01/2015 18:56, Christopher Schultz wrote:
>>
>>> Possibly.
>>>
>>> I re-read the log file, and there are no logs that actually say that 
>>> the context is reloading. It just says "checking context[/path] 
>>> reload resource" over and over again. I checked, and Tomcat does not 
>>> emit any log messages that look like that... this must come from somewhere 
>>> else.
>>
>> Nope. Look again at the debug logging in
>>
>> org.apache.cataline.startup.HostConfig.checkResources()
>>
>>
>>> so I'm not sure what I'm looking at. What I can tell is that some 
>>> component is furiously checking "reload resources" during the time 
>>> period covered by that log file.
>>
>> Furiously? Look at the timestamps. This is taking milliseconds at most.
>> This is normal behaviour.
>>
>>> I would check the /Tomcat/ log during the same period to see if 
>>> anything is happening, there.
>>
>> GC logging should rule that out as a factor.
>>
> 
> So a log message like :
> 
> 2015-01-12 16:11:07,390 DEBUG Checking context[/ps_9.0_8.53.02_1] 
> redeploy resource 
> /usr/local/tomcat-instance5/webapps/ps_9.0_8.53.02_1.war
> 
> only means that Tomcat is checking /if/ that resource has been 
> changed, not that it is actually redeploying it ?

Correct. There are both redeploy resources and reload resources. Most web 
applications have several of both. If autoDeploy is enabled they are checked 
every ~15s by default.

Mark


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


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

Reply via email to