Anonymous | Login | Signup for a new account | 12-17-2024 08:23 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ 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 | ||||||
Status | closed | Product Version | 3.0.18 | ||||||
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. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
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. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |