264265266267268269270271272273274
coordJob.setJobXml(appXml); coordJob.setLastActionNumber(0); coordJob.setFrequency(5); try { store.beginTrx(); store.insertCoordinatorJob(coordJob); store.commitTrx(); } catch (StoreException se) { se.printStackTrace(); store.rollbackTrx();
181182183184185186187188189190191
e.printStackTrace(); fail("Could not set end time"); } try { store.beginTrx(); store.insertCoordinatorJob(coordJob); store.commitTrx(); } catch (StoreException se) { se.printStackTrace(); store.rollbackTrx();
265266267268269270271272273274275
coordJob.setJobXml(appXml); coordJob.setLastActionNumber(0); coordJob.setFrequency("5"); try { store.beginTrx(); store.insertCoordinatorJob(coordJob); store.commitTrx(); } catch (StoreException se) { se.printStackTrace(); store.rollbackTrx();
154155156157158159160161162163164
e.printStackTrace(); fail("Could not set Date/time"); } try { store.beginTrx(); store.insertCoordinatorJob(coordJob); store.commitTrx(); } catch (StoreException se) { se.printStackTrace(); store.rollbackTrx();
180181182183184185186187188189190