0 Replies Latest reply on Mar 8, 2015 8:30 AM by vata2999

    Problem when running quartz

    vata2999

      Hi,

       

      I'm trying to run quartz 1.6.0 with following configuration but I get java.lang.UnsupportedOperationException: no transaction


      <component class="org.jboss.seam.transaction.EjbSynchronizations" jndi-name="java:app/jboss-seam/EjbSynchronizations"/>
      <persistence:managed-persistence-context auto-create="true" name="entityManager" installed="true">
              <persistence:persistence-unit-jndi-name>java:/myEntityManagerFactory</persistence:persistence-unit-jndi-name>
          </persistence:managed-persistence-context>
      <async:quartz-dispatcher></async:quartz-dispatcher>
      

       

      when I add below line I get   [MyAsyncExceptionHandler] (Schedule_Worker-1) java.lang.IllegalArgumentException: EntityManagerFactory not found in JNDI : java:/myEntityManagerFactory


      <transaction:entity-transaction entity-manager="#{entityManager}"></transaction:entity-transaction>
      

       

      what is wrong with my configuration ?

       

      I'm using Jboss AS7