[jboss-cvs] JBossAS SVN: r65807 - trunk/ejb3/src/main/org/jboss/ejb3/timerservice/quartz.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 3 17:12:38 EDT 2007


Author: reverbel
Date: 2007-10-03 17:12:38 -0400 (Wed, 03 Oct 2007)
New Revision: 65807

Modified:
   trunk/ejb3/src/main/org/jboss/ejb3/timerservice/quartz/QuartzTimerServiceFactory.java
Log:
Remove reference to the TransactionManagerService, which will be soon removed from trunk.


Modified: trunk/ejb3/src/main/org/jboss/ejb3/timerservice/quartz/QuartzTimerServiceFactory.java
===================================================================
--- trunk/ejb3/src/main/org/jboss/ejb3/timerservice/quartz/QuartzTimerServiceFactory.java	2007-10-03 20:50:17 UTC (rev 65806)
+++ trunk/ejb3/src/main/org/jboss/ejb3/timerservice/quartz/QuartzTimerServiceFactory.java	2007-10-03 21:12:38 UTC (rev 65807)
@@ -41,7 +41,6 @@
 import org.jboss.ejb3.timerservice.TimedObjectInvoker;
 import org.jboss.ejb3.timerservice.TimerServiceFactory;
 import org.jboss.logging.Logger;
-import org.jboss.tm.TransactionManagerService;
 import org.quartz.Scheduler;
 import org.quartz.SchedulerFactory;
 import org.quartz.impl.StdSchedulerFactory;
@@ -245,7 +244,7 @@
       log.debug("properties = " + properties);
       
       InitialContext ctx = InitialContextFactory.getInitialContext();
-      tm = (TransactionManager) ctx.lookup(TransactionManagerService.JNDI_NAME);
+      tm = (TransactionManager) ctx.lookup("java:/TransactionManager");
       
       createSchema();
       




More information about the jboss-cvs-commits mailing list