Bugs item #649143, was opened at 2002-12-05 20:39
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=649143&group_id=22866

Category: JBossTX
Group: v3.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Colin Sampaleanu (colins)
Assigned to: Nobody/Anonymous (nobody)
Summary: deadlock on nested transactions

Initial Comment:
I am able to reproduce a deadlock situation (when it
shouldn't be happening) in both JBoss 3.2 beta 2 and
3.0.4, using a certain combination of EJB calls, and
using either the regular (non-XA) or XA oracle datasource.

The sequence of calls is:
- client calls Stateless Session Bean (transaction
required)
- SLSB tried to create CMP 2.0 Entity bean.
- ejbCreate method of entity bean needs an ID, so it
calls a method on a sequence generator Stateless
Session Bean (transaction required)
- sequence session bean tries to load and call a method
on a sequence entity bean, using CMP 1.1, (NEW
transaction required)

At this point, there is a hang/deadlock. JBoss gives up
after about 4-5 minutes, saying there was a probable
deadlock.

I have a complete standalone ant project which builds
and ear file, that demonstrates the problem.  The EAR
is small enough that I could attache it here, but the
source is about 3-4MB with all the libs needed to
compile (e.g. oracle jdbc drivers, etc.), so I would
rather just email the stuff to the appropriate person.

I have attached a copy of the server.log file, as well
as a complete thread stack dump (supplied by somebody
else running the deadlock test) during the deadlock.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=649143&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to