Mantis - Resin
Viewing Issue Advanced Details
5156 minor always 07-26-12 07:23 07-27-12 13:19
cowan  
ferg  
normal  
closed 4.0.29  
fixed  
none    
none 4.0.30  
0005156: ResinEmbed restarts due to modified
ResinEmbed frequently restarts due to a modified file. The file reported to be modified is "classpath:/com/caucho/resin/resin-embed.xml". The length of is modified from 12250 to 0.

This appears to be a similar to bug 0004707:

Resin queries the length of the file during startup using Caucho's classloader. Later a thread is started by our thread pool calls Depend.isModified. The thread does not use Caucho's classloader, since ResinEmbed was not started with -Djava.system.loader. Without our classloader, the length can not be obtained and returns 0.

Set our classloader on new threads (DeployControllerAlarm), and don't assume that the system classloader was set on startup? Or ignore 0 length modifications?
Rep by M. Barker
related to 0004707closed ferg Resin restarts from MODIFIED while running in IntelliJ IDEA 

Notes
(0005983)
ferg   
07-27-12 13:19   
server/1e87