Mantis - Resin
|
||||||||||
Viewing Issue Advanced Details | ||||||||||
|
||||||||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: | |||||
4707 | minor | always | 08-10-11 11:25 | 08-24-11 16:43 | ||||||
|
||||||||||
Reporter: | cowan | Platform: | ||||||||
Assigned To: | ferg | OS: | ||||||||
Priority: | normal | OS Version: | ||||||||
Status: | closed | Product Version: | 4.0.20 | |||||||
Product Build: | Resolution: | fixed | ||||||||
Projection: | none | |||||||||
ETA: | none | Fixed in Version: | 4.0.22 | |||||||
|
||||||||||
Summary: | 0004707: Resin restarts from MODIFIED while running in IntelliJ IDEA | |||||||||
Description: |
Symptoms: While running Resin in IDEA using IDEA generated resin.xml, Resin periodically restarts with exit code MODIFIED. Modified log is: [11-08-09 16:05:22.202] {resin-48} /META-INF/caucho/app-default.xml length is modified (12223 -> 0) Analysis: I tracked this to the DeployControllerAlarm.handleAlarm calling ClasspathPath:getLength(), which returns 0 because the resource was not found. This is due to the Alarm running with the default Sun classloader and not Caucho's loader. IDEA Resin configuration does not set the java.system.classloader, so some threads are running without com.caucho.loader.SystemClassLoader. Workaround is to add "-Djava.system.class.loader=com.caucho.loader.SystemClassLoader" to VM Parameters box in IDEA's Resin run configuration. |
|||||||||
Steps To Reproduce: | ||||||||||
Additional Information: | Rep by M. Schmidt | |||||||||
Relationships |
| |||||||||
Attached Files: |
There are no notes attached to this issue. |