Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001086 [Resin] minor always 05-03-06 10:58 06-28-06 12:04
Reporter anonymous View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.19 Product Version 3.0.18
  Product Build
Summary 0001086: com.caucho.config.LineConfigException causes webapp to be reloaded repeatedly even when no files have changed
Description We have an error in our web.xml which causes a com.caucho.config.LineConfigException. This causes the webapp
to be in an "error" state:
[2006-05-03 10:36:03.170] WebAppController$1802010236[/mytleak] error [2006-05-03 10:36:03.170] WebAppAdmin[resin:type=WebApp,Server=default,Host=default,name=/mytleak] lifecycleEvent `error'

Out <dependency-check-interval> is set to 2 minutes. It looks like Resin is the
LineConfigException is causing Resin to mark the webapp as AlwaysModified. So
every 2 minutes the webapp is being reloaded:
[2006-05-03 10:38:03.616] AlwaysModified[] is modified
[2006-05-03 10:38:03.616] WebAppController$1802010236[/mytleak] stopping [2006-05-03 10:38:03.616] WebAppAdmin[resin:type=WebApp,Server=default,Host=default,name=/mytleak] lifecycleEvent `stopping' [2006-05-03 10:38:03.616] WebApp[http://localhost:7900/mytleak] [^] stopping
[2006-05-03 10:38:03.616] WebApp[http://localhost:7900/mytleak] [^] stopped [2006-05-03 10:38:03.616] WebApp[http://localhost:7900/mytleak] [^] destroyed
[2006-05-03 10:38:03.616] ServletServer clearCache
[2006-05-03 10:38:03.619] WebAppController$1802010236[/mytleak] stopped
[2006-05-03 10:38:03.619] WebAppAdmin[resin:type=WebApp,Server=default,Host=default,name=/mytleak] lifecycleEvent `stopped'
[2006-05-03 10:38:03.619] WebAppController$1802010236[/mytleak] starting

But nothing in the webapp (including web.xml) has changed. So the
LineConfigException still occurs, and Resin got into an non-ending loop
reloading the webapp every 2 minutes.

I would like to see Resin not try to reload the webapp unless something has
actually changed. I don't want the unnecessary reloading to slow down other
webapps being served by the same Resin instance.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001105)
billa
05-03-06 14:14

I just discovered that 3.0.19 has a redeploy-check-interval.
It looks like that's what I was asking for.
 

- Issue History
Date Modified Username Field Change
05-03-06 10:58 anonymous New Issue
05-03-06 11:03 billa Issue Monitored: billa
05-03-06 14:14 billa Note Added: 0001105
06-28-06 12:04 ferg Assigned To  => ferg
06-28-06 12:04 ferg Status new => closed
06-28-06 12:04 ferg Resolution open => fixed
06-28-06 12:04 ferg Fixed in Version  => 3.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker