[jboss-user] [EJB3] - Deadlock in CMP transaction in EJB3

sabbirali kadiwala do-not-reply at jboss.com
Sat Feb 18 00:17:12 EST 2012

sabbirali kadiwala [https://community.jboss.org/people/sabbirali] created the discussion

"Deadlock in CMP transaction in EJB3"

To view the discussion, visit: https://community.jboss.org/message/717635#717635

I have one action it will generate three thread and each thread call same ejb service with different input paramerer.

here all thread started same time 

when container try to commit then i got dead lock :ORA-00060: deadlock detected while waiting for resource exception

so any body get this type of exception Please suggest where i m wronge ?

My EJB Service operation like below

In Transaction operation are

void method(){
insert entity in MstSchedule will generate  id : 100
other processing on based on other 100 on other table
if data not found then delete same entity where id id : 100 ( previous inserted entity)
commit by container

Please reply appreciate your answer.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120218/c8c998df/attachment.html 

More information about the jboss-user mailing list