I am using JBoss-2.4.3 with TomCat-3.2.3
Tried implementing Transaction using UserTransaction with CMP EJB.
First I had set the <trans-attribute> property in the ejb-jar.xml to 'Required' but the data was not getting commited. Also no error or exception was being thrown.
Then I changed the property to 'RequiresNew' and my ejb was working fine and data was getting commited.
Could any body explain me this bizarre working of the Transaction in the EJB.
This seems to be a bug in jboss. I've tried a lot of different settings (jboss 2.4.4 and jboss 3.0.0beta) even with different databases but without success yet (see also http://main.jboss.org/thread.jsp?forum=46&thread=10351 ). Unfortunately I have no more ideas how to solve this problem.