[jboss-user] [JBoss Seam] - Re: Schedule Reports to Run Daily at Certain Time

JavaDeveloperX do-not-reply at jboss.com
Fri Feb 8 08:13:45 EST 2008


You can configure your Jboss to not persist the timer:

in \server\default\deploy\ejb-deployer.xml change persistencePolicy to 'noop':


  |  <mbean code="org.jboss.ejb.txtimer.EJBTimerServiceImpl"
  |    name="jboss.ejb:service=EJBTimerService">
  |    <attribute name="RetryPolicy">jboss.ejb:service=EJBTimerService,retryPolicy=fixedDelay</attribute>
  |    <attribute name="PersistencePolicy">jboss.ejb:service=EJBTimerService,persistencePolicy=noop</attribute>
  |    <attribute name="TimerIdGeneratorClassName">org.jboss.ejb.txtimer.BigIntegerTimerIdGenerator</attribute>
  |    <attribute name="TimedObjectInvokerClassName">org.jboss.ejb.txtimer.TimedObjectInvokerImpl</attribute>
  |    <depends optional-attribute-name="TransactionManagerFactory" proxy-type="org.jboss.tm.TransactionManagerFactory">
  |      jboss:service=TransactionManager
  |    </depends>
  |  </mbean>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127796#4127796

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127796



More information about the jboss-user mailing list