-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: JPA Persist is not working while save the data in DB
PostPosted: Tue Apr 15, 2014 5:35 am 
Newbie

Joined: Tue Apr 15, 2014 5:25 am
Posts: 1
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();
}
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.