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

Reply via email to