0 Replies Latest reply on Jul 28, 2008 1:47 PM by ywtsang

    ejb 3 stateless bean current transaction lost randomly

    ywtsang

      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