LPS-39688 The staging check must be performed before the actual group is set to the live group for further permission checking.
LPS-39221 don't explicitly flush() - it makes Weblogic happy
LPS-39221 remove ugly ServerDetector check
LPS-39221 test rolled back - removed weblogic case