Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004707 [Resin] minor always 08-10-11 11:25 08-24-11 16:43
Reporter cowan View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.20
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.
Additional Information Rep by M. Schmidt
Attached Files

- Relationships
related to 0005156closed ferg ResinEmbed restarts due to modified 

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
08-10-11 11:25 cowan New Issue
08-24-11 16:43 ferg Assigned To  => ferg
08-24-11 16:43 ferg Status new => closed
08-24-11 16:43 ferg Resolution open => fixed
08-24-11 16:43 ferg Fixed in Version  => 4.0.22
07-26-12 07:23 cowan Relationship added related to 0005156


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