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?