1 Reply Latest reply on Jan 6, 2008 9:18 AM by constantine

    abstract class

    constantine

      i have a abstact session like:

      @Stateless
      public abstract class GenericHibernateDao<T, ID extends Serializable>
      implements GenericDao<T, ID> {
      
      private Class<T> persistentClass;
      private Session session;
      @In private EntityManager entityManager;


      if a add entitymanage i get follow warning, but all works fine:


      21:49:24,266 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple@a09365

      what is it?

        • 1. Re: abstract class
          constantine

          the problem is located exactly,

          a have a webservice that injecting with @EJB anntotation a ejb from a seam application and the container giving a ejb with seam related things like
          @In EntityManager entityManager, and i get a warning see posting above.
          but all works sometimes and sometimes not, it seems to be a transaction problem from seam interseptor and transaction.
          if i add the webservice to a seam context about:
          standard-jaxws-endpoint-config.xml i don't get any warnings more and all works.
          it this behavior okay?