def __init__(self, module):
        '''
        Constructor
        '''
        guid = generateGUID()
        log.info("Unique ActionBundle execution ID generated: " + guid)

        # Check if server is running
        if getProcessPIDByPath(module.targetDeploymentPath): die("The server at '" + module.targetDeploymentPath + "' is up. Rollback will not continue.")

        # Deserialize objects and pass them to executedActionList
        log.info("Using '" + lib.OptParser.options.rollback + "' to perform Manual Rollback")
        scriptGlobals.executedActionList = deserializeListFromFile(lib.OptParser.options.rollback)

        # Raise dummy exception to enter the Rollback mechanism
        raise RollbackTriggerException
    def __init__(self, module):
        '''
        Constructor
        '''
        guid = generateGUID()
        log.info("Unique ActionBundle execution ID generated: " + guid)

        # Check if Application Server is running
        appServer = ApplicationServer(module, scriptGlobals.appsrvProperties)
        if getProcessPIDByPathAndIdentifier(module.targetDeploymentPath, appServer.processIdentifier): die("The Application Server at '" + module.targetDeploymentPath + "' is up. Rollback will not continue.")

        # Deserialize objects and pass them to executedActionList        
        scriptGlobals.executedActionList = deserializeListFromFile(lib.OptParser.options.rollback)

        # Raise dummy exception
        raise RollbackTriggerException