0 Replies Latest reply on Apr 24, 2007 5:23 PM by Stateless Bean

    Asynchronous & em problem

    Stateless Bean Novice

      I got Application context collection:
      @In(scope=ScopeType.APPLICATION, value="schedulerDates", required=false)
      @Out(scope=ScopeType.APPLICATION, value="schedulerDates", required=false)
      List schedulerDates;

      If user do some update to DB, also automatic adds the date of excecute to my app scope collection.
      And my problem is with asynhronous em.
      I got method in my class who is fired every 5 sek. and i got error with my Entity Manager?

      Here is declaration
      protected EntityManager em;

      and problem.

      00:16:24,118 WARN [Contexts] Could not destroy component: em
      org.hibernate.TransactionException: Could not register synchronization

      can anyone tell me how to well implement my em in class or what that problem means?