I'm trying to save the Data in DB. But, its not saved even there is no error thrown in server ... after few minutes i got the below warning message (im using JPA, Jboss 7 , spring IOC and Oracle DB).
13:16:36,787 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff0a6905c7:4d234334:534ce26f:8 in state RUN 13:16:36,789 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012095: Abort of action id 0:ffff0a6905c7:4d234334:534ce26f:8 invoked while multiple threads active within it. 13:16:36,791 WARN [com.arjuna.ats.arjuna] (Transaction Reaper Worker 0) ARJUNA012108: CheckedAction::check - atomic action 0:ffff0a6905c7:4d234334:534ce26f:8 aborting with 1 threads active! 13:16:37,289 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff0a6905c7:4d234334:534ce26f:8 in state CANCEL 13:16:37,792 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012117: TransactionReaper::check timeout for TX 0:ffff0a6905c7:4d234334:534ce26f:8 in state CANCEL_INTERRUPTED 13:16:37,795 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012120: TransactionReaper::check worker Thread[Transaction Reaper Worker 0,5,main] not responding to interrupt when cancelling TX 0:ffff0a6905c7:4d234334:534ce26f:8 -- worker marked as zombie and TX scheduled for mark-as-rollback 13:16:37,801 WARN [com.arjuna.ats.arjuna] (Transaction Reaper) ARJUNA012110: TransactionReaper::check successfuly marked TX 0:ffff0a6905c7:4d234334:534ce26f:8 as rollback only
Persist Code: ----------------------------- public void insertFile(List<Fileupload> filevalues) {
try { for (Fileupload fileupload : filevalues) { System.out.println("-------before persist-----"+fileupload.getId()); getEntityManager().persist(fileupload); System.out.println("persist");
}
System.out.println("-------after persist-----"); } catch (Exception e) { e.printStackTrace(); } }
|