This content has been marked as final.
Show 2 replies
-
1. Re: Wrong transaction association
jbossacm Jun 15, 2006 10:03 AM (in response to jbossacm)OK, it seems I found out what was wrong.
I'm using CMT and I was trying to obtain an explicit transaction inside a Stateless Session Bean.
The thing is that I'm performing a migration from Weblogic to Jboss and in Weblogic I needed to obtain this transaction explcitily, if not, it did not work. Whereas in Jboss it seems to violate the EJB specification.
Now that I have eliminated the explicit user transaction, it works like a charm. The downside is that the code will not be portable.
If anybody has more insight on the subject please feel free to post.
Thanks! -
2. Re: Wrong transaction association
vickyk Jun 18, 2006 10:14 PM (in response to jbossacm)
The thing is that I'm performing a migration from Weblogic to Jboss and in Weblogic I needed to obtain this transaction explcitily, if not, it did not work. Whereas in Jboss it seems to violate the EJB specification.
I dont understand if you were using the CMT why would you explicitity get the UserTransaction Object in the SesionBean then . Can you please confirm this ?
Regards
Vicky