2 Replies Latest reply on Mar 25, 2013 4:55 PM by Latha Mahadevan

    Jboss AS 7 support for quartz

    Latha Mahadevan Newbie

      We are using Jboss 7.1.1 and am trying to execute Jobs using the Quartz scheduler. Some of these jobs update the database. I am receiving the error that the UserTransaction cannot be found.

       

      Any help would be greatly appreciated.

       

      Thanks

       

       

      Begin transaction failed.: javax.naming.NameNotFoundException: java:comp/UserTransaction

      at org.jboss.as.naming.InitialContext.lookup(InitialContext.java:121)

      at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:214)

      at javax.naming.InitialContext.lookup(InitialContext.java:392) [rt.jar:1.6.0_21]

      at javax.naming.InitialContext.doLookup(InitialContext.java:265) [rt.jar:1.6.0_21]

      at com.vzw.vhap.common.transaction.TransactionUtil.begin(TransactionUtil.java:23) [classes:]

      at com.vzw.vhap.common.scheduler.BaseJob.getJobSession(BaseJob.java:74) [classes:]

      at com.vzw.vhap.remedy.UpdateNsrJob.run(UpdateNsrJob.java:26) [classes:]

      at com.vzw.vhap.common.scheduler.CdiJob.execute(CdiJob.java:37) [classes:]

      at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz-2.1.6.jar:]

      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz-2.1.6.jar:]