[jboss-user] [EJB 3.0] - ejb 3 stateless bean current transaction lost randomly

ywtsang do-not-reply at jboss.com
Mon Jul 28 13:47:39 EDT 2008


i have a set of ejb 3 stateless session beans, which all methods are marked as "Required" for the transaction attributes

the session beans just wrap the call of hibernate dao

the problem happens sometimes that the calling of getCurrentSession from hibernate complains that the "Current transaction is not in progress"

but this does not happen for every call, it happens "randomly" among all session beans , different methods calls

the calling of each session bean method is simple, it never be "nested", i.e. it will be just called by remote client , so i assume the transaction must be opened without problem as i set the transaction to "Required"

any hint to solve / troubleshoot my problem?

many thanks

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

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



More information about the jboss-user mailing list