[jboss-user] [JBoss Portal] - Re: UserModule, Hibernate JTA transaction & Ajax Request

guybedo do-not-reply at jboss.com
Thu Jan 22 00:35:14 EST 2009

thanks for the help but i already included this code in the jboss-portlet.xml.

There is no problem with "classic" http requests, hibernate sessions are created on  requests to a jsf bean method issued from a h!commandButton for example.

But the portal'jta transaction is not created when ajax requests are issued from richfaces components like a4j:commandButton.

The missing hibernate session is the one used by portal's UserModul to access portal tables such as jbp_user for example.

I don't think i can, or i have to create this session, it should be created by the interceptors i think.
Maybe i should have a look to this configuration

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203851#4203851

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203851

More information about the jboss-user mailing list