Examples of updateAudit()


Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

    } else {
        logger.debug("Audit id = [" + auditIdStr + "]");
        auditId = new Integer(auditIdStr);
    }
    if (auditId != null) {
        auditManager.updateAudit(auditId, new Long(System.currentTimeMillis()), null, "EXECUTION_STARTED", null,
          null);
    }
   
    if(!(this.getErrorHandler().isOKBySeverity(EMFErrorSeverity.ERROR))){
      logger.error("There are errors into the error handler!!!");
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

      logger.error("File not correctle deleted");
    }
    */
      // AUDIT UPDATE
    if(auditId!=null){
      auditManager.updateAudit(auditId, null, new Long(System.currentTimeMillis()), "EXECUTION_PERFORMED", null,
        null);
    }
   
    }
    catch (Exception e) {
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

    }
    catch (Exception e) {
      logger.error("Errors in retrieving the .png content");
    // Audit Update
      if(auditId!=null){
      auditManager.updateAudit(auditId, null, new Long(System.currentTimeMillis()), "EXECUTION_FAILED", e
            .getMessage(), null);   
       }
    return;   
    }
   
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

        returnedContentType = headContetType.getValue();
      } else {
        returnedContentType = "application/octet-stream";
      }

      auditManager.updateAudit(auditId,null , new Long(GregorianCalendar.getInstance().getTimeInMillis()), "EXECUTION_PERFORMED", null, null);
      httppost.releaseConnection();
    } catch (Exception e) {
      logger.error("Error while executing object ", e);
    }
    logger.debug("OUT");
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

    logger.error("Error during the generation of the final document", e);
      // AUDIT UPDATE
      if (contextInstance != null) {
    Integer auditId = (Integer) contextInstance.getVariable(AuditManager.AUDIT_ID);
    AuditManager auditManager = AuditManager.getInstance();
    auditManager.updateAudit(auditId, null, new Long(System.currentTimeMillis()), "EXECUTION_FAILED", e
      .getMessage(), null);
      }
      // store as final document the template

  } finally {
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

        if (executionMsg == null) {
          executionMsg = msgBuilder.getMessage("dossier.workProcessStartError", "component_dossier_messages");
        }
        logger.error("Error while starting workflow", e);
      // AUDIT UPDATE
      auditManager.updateAudit(auditId, null, new Long(System.currentTimeMillis()),
          "STARTUP_FAILED", e.getMessage(), null);
      } finally {
        if (executionMsg == null) {
          executionMsg = msgBuilder.getMessage("dossier.workProcessStartCorrectly", "component_dossier_messages");
          // AUDIT UPDATE
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

          "STARTUP_FAILED", e.getMessage(), null);
      } finally {
        if (executionMsg == null) {
          executionMsg = msgBuilder.getMessage("dossier.workProcessStartCorrectly", "component_dossier_messages");
          // AUDIT UPDATE
          auditManager.updateAudit(auditId, new Long(System.currentTimeMillis()), null,
            "EXECUTION_STARTED", null, null);
        }
        if (jbpmContext != null) {
          jbpmContext.close();
        }
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

      if (contextInstance != null) {
        Object auditIdObj = contextInstance.getVariable(AuditManager.AUDIT_ID);
        Integer auditId = convertIdType(auditIdObj);
        if(auditId!=null) {
          AuditManager auditManager = AuditManager.getInstance();
          auditManager.updateAudit(auditId, null, new Long(System.currentTimeMillis()),
              "EXECUTION_PERFORMED", null, null);
        }
      }
     
    } catch(Exception e){
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

      if (contextInstance != null) {
        Object auditIdObj = contextInstance.getVariable(AuditManager.AUDIT_ID);
        Integer auditId = convertIdType(auditIdObj);
        if(auditId!=null) {
          AuditManager auditManager = AuditManager.getInstance();
          auditManager.updateAudit(auditId, null, new Long(System.currentTimeMillis()),
              "EXECUTION_FAILED", e.getMessage(), null);
        }
      }
    } finally {
        if (jbpmContext != null) {
View Full Code Here

Examples of it.eng.spagobi.monitoring.dao.AuditManager.updateAudit()

        logger.error("Exception during execution : \n" + e);
        // AUDIT UPDATE
        if (contextInstance != null) {
        Integer auditId = (Integer) contextInstance.getVariable(AuditManager.AUDIT_ID);
        AuditManager auditManager = AuditManager.getInstance();
        auditManager.updateAudit(auditId, null, new Long(System.currentTimeMillis()), "EXECUTION_FAILED", e
          .getMessage(), null);
        }
        throw e;
    } finally {
        if (xComponent != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
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.