-
1. Re: SessionBean with method transaction type
dirk.koehler Nov 21, 2005 4:21 PM (in response to dirk.koehler)I finally found the problem after debugging JBoss:
the deployment descriptor (ejb-jar.xml) generated by xdoclet v1.2.3 spit out a method signature with a param of an inner class which had an incorrect format of "CLASS.INNERCLASS" insteand of "CLASS$INNERCLASS"
This is why JBoss ignored the TX type defined in the Bean itself since it checks for method signature by string comparison...
just filed a bug for the xdoclet guys (http://opensource2.atlassian.com/projects/xdoclet/browse/XDT-1575)
thanks to everybody who was looking into this...
ps.: the workaround would be "not generating the ejb-jar.xml" for packaging or refactoring your method signature :-( -
2. Re: SessionBean with method transaction type
chetanagg Jan 19, 2006 3:49 PM (in response to dirk.koehler)Hi
I have the similar problem..
The another bean's method with RequiresNew attribute never commits. We are using some JDBC updates inside RequiresNew method.
Can you please suggest me some workaround??
have i missed some configuration?
Thanks
Chetan