List of usage examples for org.apache.commons.transaction.file ResourceManagerSystemException printStackTrace
public void printStackTrace()
From source file:org.jboss.jbossts.fileio.xalib.txdirs.dir.XAFileResourceManager.java
/** * After a system crash and upon recovery phase the <code>FileResourceManager</code> * object needs to be re-initialised./*from w w w .ja va 2s.c o m*/ */ private void initFREM() { String workDir = storeDir + "/" + Globals.WORK_DIR_NAME; freMngr = new FileResourceManager(storeDir, workDir, false, new CommonsLoggingLogger(LogFactory.getLog(XADir.class.getName()))); try { freMngr.start(); // will automatically recover incomplete txs } catch (ResourceManagerSystemException e) { e.printStackTrace(); } }