Any known way to delay Scanner or MainDeployer before it picks up
new files/directory from farm or deploy directory?
Cause for this questions stems from ftp loading an ear where deployer
complains about application.xml not being found. The same ear untouched when deployed by restarting JBoss or local transfer presents
no such complain and manual jar -tvf gives out application.xml presence in any case.
Any thoughts.
AFAIK you have to write your own DeploymentScanner to achieve this.
Why not copying all deployment units to a tmp directory, moving the units afterwards into the deploy directory?