Bounces an application gracefully. It does so by starting at least one inactive instance per active host (or 10 % of the total active instance count), waiting until they have started, then refusing sessions for all old instances and turning scheduling on for all but the number of instances we started originally. The next effect should be that the new users get the new app, old instances die in due time and then restart when the sessions stop. You must have at least one inactive instance in order to perform a graceful bounce. You may or may not need to set ERKillTimer to prevent totally long-running sessions to keep the app from dying.
@author ak
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.