[jboss-dev-forums] [Design of POJO Server] - Re: AS 5 not reliably picking up changes in exploded EAR
jaikiran
do-not-reply at jboss.com
Tue Apr 7 09:27:51 EDT 2009
"jaikiran" wrote :
| From what i see in the logs, the ModificationWatcher does the same as HDScanner in the AS does? So how does the HDScanner handle similar (deleted) app?
|
HotDeploymentRepository (intelligently) does this :
// Check for removal
| if (root.exists() == false)
| {
| long rootLastModified = root.getLastModified();
| ModificationInfo info = new ModificationInfo(ctx, rootLastModified, ModifyStatus.REMOVED);
| modified.add(info);
| iter.remove();
| // Remove last modified cache
| cleanUpRoot(root);
| if (trace)
| log.trace(pathName + " was removed");
| }
Can't something similar be done in ModificationWatcher?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224049#4224049
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224049
More information about the jboss-dev-forums
mailing list