admin@glassfish.java.net

Why does force kill ignore the timeout

From: BN <bn1_at_bnevins.com>
Date: Mon, 18 Jun 2007 10:39:36 -0700

ProcessInstanceInternal is the eventual place where NA stops an instance.
As you can see in the code below -- it doesn't use a timeout but instead
immediately kills it

-- isTimeBound is true for force-kill, false for normal stop-instance


            if (isTimeBound) {
                *boolean stopped = false*;
//eeInstancesManager.stopInstanceWithinTime(timeout);
               * if (!stopped)* eeInstancesManager.killRelatedProcesses();
            } else {
                eeInstancesManager.stopInstance();
            }