0 Replies Latest reply on Dec 11, 2008 4:37 PM by daniura

    Best solution for asynchronous calls

    daniura
      Hi,

      I'm currently dealing with such problem :

      - I'm calling a stateless EJB (with CMT) method.
      - During that call a RuntimeException is raised  by  subcall to another method.
      - That exception is catched in the same EJB method and in the catch block i call special log method which tries to persist some info to database (method annotated witch @Asynchronous).

      The problem is that i'm facing with transaction which has ABORT_ONLY when async dispatcher tries to store call schedule in database.

      Have you any idea how to solve such problem ?
      What about calling some webservice one way operation for logging instead @Asynchronous operation ?

      Best Regards
      Daniel