The problem is caused by TransactionAttributeType.REQUIRES_NEW.
I've bean A. Bean A used a transaction.
Bean calls x times Bean B.
In Bean B the functions has the annotation "TransactionAttributeType.REQUIRES_NEW".
In after competing Bean B function, the exception will be thrown. Sometimes...
If I remove the "TransactionAttributeType.REQUIRES_NEW", I got NO errors.
Any idea?
[Message sent by forum member 'hegalor' (hegalor)]
http://forums.java.net/jive/thread.jspa?messageID=343538