0 Replies Latest reply on Jan 16, 2005 7:08 PM by john.howard9

    CMT problem

    john.howard9

      I'm using AOP to intercept a SLSB method call in order to perform a security check prior to allowing a user access to the method. As part of this process I need to write a log entry which is done via Hibernate. The issue I have is that the security check throws an unchecked AccessControlException which in turn causes a rollback of the hibernate transaction. I have no control over whether the SLSB method has CMT or BMT so I'm not sure as to the best solution. I thought of using JMS which I assume would resolve the problem, but I would prefer a simpler solution if one exists.

      Thanks,

      John.