Anonymous | Login | Signup for a new account | 10-30-2024 04:15 PDT |
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 | ||||
0005153 | [Resin] | minor | always | 07-24-12 18:13 | 07-25-12 14:57 | ||||
Reporter | TheScrumMeister | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.18 | ||||||
Summary | 0005153: JavaCompiler (compiling a jsp page) livelock when ThreadPool is full | ||||||||
Description |
When a JSP file requires recompilation (created or modified), the java compilation is executed on a thread from the ThreadPool. During the JSP compilation process all client requests that come in await the compilation process. If the JSP page produces compile errors, thus cannot be compiled properly, the client requests queue up until the thread pool is out of threads. Once that happens, even if the JSP is updated to remove the compile errors, it is possible for a livelock to occur between the JavaCompiler waiting for a free thread from the thread pool, and the thread pool waiting for the JavaCompiler to compile the page properly. |
||||||||
Additional Information |
JavaCompiler has a property MaxCompileTime that defaults to 2 minutes, is that configurable? This issue was detected before, as seen in JavaCompiler.java line# 681: // the compiler may not be well-behaved enough to use the ThreadPool Can we change the compilation process run on its own thread? or at least call the ThreadPool.schedulePriority()? |
||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |