-
1. Re: WSRP and managed transactions
fpa1974 Nov 6, 2007 12:33 AM (in response to fpa1974)I kind of found the answer to this by myself. There is a TransactionFilter class that is setup in the web.xml for the WSRP service archive. This class will start a transaction. The comment in the class is that the WSRP runtime needs transactions so it creates them.
I think there is a problem with consistency here as far as I am concerned at least. When a portlet executes normally in the container it is not wrapped in a transaction. If the same portlet executes as part of a WSRP request then it will be wrapped in a transaction.
Is it possible to introduce a standard here somehow? I know that for example if using hibernate you might be able to get away with this by changing the transaction manager but I think there has to be a better way.
Florian -
2. Re: WSRP and managed transactions
claprun Nov 6, 2007 8:52 AM (in response to fpa1974)Will look into it. Thanks for the report.
-
3. Re: WSRP and managed transactions
claprun Nov 7, 2007 12:25 PM (in response to fpa1974)Could you provide the complete stack trace, please?
-
4. Re: WSRP and managed transactions
fpa1974 Nov 7, 2007 2:44 PM (in response to fpa1974)Will do as soon as I get back in the office tomorrow.
-
5. Re: WSRP and managed transactions
claprun Nov 8, 2007 1:01 AM (in response to fpa1974)I opened a JIRA task for it: http://jira.jboss.com/jira/browse/JBPORTAL-1786 and I think that this is now fixed in subversion. If you are able to build Portal from subversion, I would appreciate if you could take it for a spin and let me know if it fixes your issue. Thanks again for the report.