I have a project deployed on
JBOSS which makes use of
EJB's.
Just today a user informed me of a problem during an update:
It's strange because the method is also called during an Insert and they don't seem to fail. I've checked the ejb.xml file and the methods trans-attribute's are set to the RequiresNew, just switched one to Required with no affect.
How is it possible that the call would fail due to no transaction? Am I doing something/everything wrong?
Also wondering if the calls to multiple methods might be the fault? The sesion bean handles the initial request and passes it off to another method which then invokes a call on a different bean. Do all these methods have to have the trans attibute set? The main session bean has * - Supports, so I thought that the rest would fall into place when using Required or RequiresNew.
That's what I get for thinking!
thanks for any HELP!
[ July 27, 2006: Message edited by: graham king ]
write, revise, re-write, revise, again...<br />write, revise, re-write, revise, again...