Method and system for error detection in a managed application environment
First Claim
1. A method of managing at least one client computer program in a managed application environment comprising:
- receiving a request from at least one of a plurality of client computer programs to begin a timer corresponding to an identified task executing within a particular thread of execution of said client computer program, wherein said identified task has been identified as a time-out susceptible task;
starting a timer in another separate thread of execution which corresponds to said request and said time-out susceptible task;
timing said time-out susceptible task; and
if said timer expires, performing a recovery action corresponding to said time-out susceptible task.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of managing at least one client computer program in a managed application environment can include receiving a request from at least one of a plurality of client computer programs to begin a timer. The timer can correspond to an identified task of the client computer program which has been identified as a time-out susceptible task, and which is executing within a particular thread of execution of the client computer program. The timer corresponding to the request and the time-out susceptible task can be selectively started in a separate thread of execution. The identified task can be timed. If the timer expires, a recovery action can be performed corresponding to the time-out susceptible task.
21 Citations
25 Claims
-
1. A method of managing at least one client computer program in a managed application environment comprising:
-
receiving a request from at least one of a plurality of client computer programs to begin a timer corresponding to an identified task executing within a particular thread of execution of said client computer program, wherein said identified task has been identified as a time-out susceptible task;
starting a timer in another separate thread of execution which corresponds to said request and said time-out susceptible task;
timing said time-out susceptible task; and
if said timer expires, performing a recovery action corresponding to said time-out susceptible task. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of managing at least one client computer program in a managed application environment comprising:
-
identifying a process of a client computer program, wherein said process includes at least one time-out susceptible task executing in a particular thread of execution;
defining named timers corresponding to said time-out susceptible tasks;
receiving a request to enable one of said timers from said client computer program, wherein said request specifies a particular one of said timers corresponding to one of said time-out susceptible tasks which said client computer program has started to execute;
enabling said particular one of said timers;
creating a hash table entry for said particular one of said timers;
timing said time-out susceptible task, wherein said timer executes within a separate thread of execution; and
if said enabled timer expires, destroying said process in said client computer program. - View Dependent Claims (10, 11, 12)
-
-
13. A system management agent for managing a plurality of client computer programs comprising:
-
a plurality of timers, each said timer corresponding to a time-out susceptible task of one of said computer programs and having a predetermined maximum allowable time period;
an application programming interface accessible by the plurality of computer programs for receiving requests to enable and disable particular ones of said plurality of timers;
a configuration file associating said plurality of timers with said time-out susceptible tasks, and specifying said maximum allowable time periods, and defining one or more recovery mechanisms for each said time-out susceptible task;
a hash table for tracking enabled timers of said plurality of timers; and
a recovery component for coordinating said plurality of timers, said application programming interface, said configuration file, and said hash table, wherein said recovery component initiates one of said recovery mechanisms for time-out susceptible tasks having expired timers.
-
-
14. A machine-readable storage, having stored thereon a computer program having a plurality of code sections executable by a machine for causing the machine to perform the steps of:
-
receiving a request from at least one of a plurality of client computer programs to begin a timer corresponding to an identified task executing within a particular thread of execution of said client computer program, wherein said identified task has been identified as a time-out susceptible task;
starting a timer in another separate thread of execution which corresponds to said request and said time-out susceptible task;
timing said time-out susceptible task; and
if said timer expires, performing a recovery action corresponding to said time-out susceptible task. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21)
-
-
22. A machine-readable storage, having stored thereon a computer program having a plurality of code sections executable by a machine for causing the machine to perform the steps of:
-
identifying a process of a client computer program, wherein said process includes at least one time-out susceptible task executing in a particular thread of execution;
defining named timers corresponding to said time-out susceptible tasks;
receiving a request to enable one of said timers from said client computer program, wherein said request specifies a particular one of said timers corresponding to one of said time-out susceptible tasks which said client computer program has started to execute;
enabling said particular one of said timers;
creating a hash table entry for said particular one of said timers;
timing said time-out susceptible task, wherein said timer executes within a separate thread of execution; and
if said enabled timer expires, destroying said process in said client computer program. - View Dependent Claims (23, 24, 25)
-
Specification