217218219220221222223224225226227
} catch (Exception ex) { log.error("Exception, {0}", ex.getMessage(), ex); if (store != null && store.isActive()) { try { store.rollbackTrx(); } catch (RuntimeException rex) { log.warn("openjpa error, {0}", rex.getMessage(), rex); } }
263264265266267268269270271272273
} store.commitTrx(); } catch (StoreException ex) { if (store != null) { store.rollbackTrx(); } log.warn("Exception while accessing the store", ex); } catch (Exception ex) { log.error("Exception, {0}", ex.getMessage(), ex);
271272273274275276277278279280281
269270271272273274275276277278279
store.insertCoordinatorJob(coordJob); store.commitTrx(); } catch (StoreException se) { se.printStackTrace(); store.rollbackTrx(); fail("Unable to insert the test job record to table"); throw se; } finally { store.closeTrx();
185186187188189190191192193194195
186187188189190191192193194195196
270271272273274275276277278279280
159160161162163164165166167168169