ctomc/jboss-as — comment on commit 137d2729579060cb6b4d32861c5ee3ca5fae872a
File: deployment-scanner/src/main/java/org/jboss/as/server/deployment/scanner/DeploymentScannerSubsystemRemove.java line 59
By bstansberry:

We should add this to this class:

@Override
protected boolean requireNoChildResources() {
return true;
}

That will cause it to fail if there are still scanners. Otherwise we need to remove the scanner services to have the configuration be consistent with the runtime services