public void doStop() throws Exception { started = false; logger.close(); recovered = null; }
public void doStop() throws Exception { started = false; logger.close(); recovered = null; }
public void doStop() throws Exception { started = false; logger.close(); recovered = null; }
public void doStop() throws Exception { started = false; logger.close(); recovered = null; }
/** * write the Done record to the Howl Log * @throws SystemException COuld not close the Howl Log */ void howlCloseLog() throws SystemException { if (TraceTm.recovery.isDebugEnabled()) { TraceTm.recovery.debug("Close howl log"); } if (xaLog == null) { TraceTm.recovery.debug("howl log already closed"); return; } try { xaLog.close(); } catch (IOException e) { TraceTm.jotm.error("xaLog.close: IOException" + e.getMessage()); throw new SystemException("IOException occured in xaLog.close() " + e.getMessage()); } catch (InterruptedException e) { TraceTm.jotm.error("xaLog.close: InterruptedException" + e.getMessage()); throw new SystemException("InterruptedException occured in xaLog.close() " + e.getMessage()); } catch (Exception e) { TraceTm.jotm.error("xaLog.open: Exception " + e.getMessage()); throw new SystemException("Exception occurred in xaLog.open() " + e.getMessage()); } xaLog = null; if (TraceTm.recovery.isDebugEnabled()) { TraceTm.recovery.debug("Howl log closed"); } }
/** * write the Done record to the Howl Log * @throws SystemException COuld not close the Howl Log */ void howlCloseLog() throws SystemException { if (TraceTm.recovery.isDebugEnabled()) { TraceTm.recovery.debug("Close howl log"); } if (xaLog == null) { TraceTm.recovery.debug("howl log already closed"); return; } try { xaLog.close(); } catch (IOException e) { TraceTm.jotm.error("xaLog.close: IOException" + e.getMessage()); throw new SystemException("IOException occured in xaLog.close() " + e.getMessage()); } catch (InterruptedException e) { TraceTm.jotm.error("xaLog.close: InterruptedException" + e.getMessage()); throw new SystemException("InterruptedException occured in xaLog.close() " + e.getMessage()); } catch (Exception e) { TraceTm.jotm.error("xaLog.open: Exception " + e.getMessage()); throw new SystemException("Exception occurred in xaLog.open() " + e.getMessage()); } xaLog = null; if (TraceTm.recovery.isDebugEnabled()) { TraceTm.recovery.debug("Howl log closed"); } }