A computer system comprises, a profile for each software module, a
software module monitor which detects a failure as failure occurrence
information at an early stage at a time of execution of an application
based on execution related information recorded in the profile, and
notifies a software module manager of the failure, and the software
module manager which identifies a failed software module from the failure
occurrence information, determines how to handle the software module on
the basis of the execution related information and the failure occurrence
information, and directs the execution.