Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
1086 | minor | always | 05-03-06 10:58 | 06-28-06 12:04 | |
|
|||||
Reporter: | anonymous | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.0.18 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.19 | ||
|
|||||
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: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|