This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes From where ejb timers are restored in jboss 4.0 ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "From where ejb timers are restored in jboss 4.0 ?" Watch "From where ejb timers are restored in jboss 4.0 ?" New topic
Author

From where ejb timers are restored in jboss 4.0 ?

Akshay Kumar
Ranch Hand

Joined: Feb 24, 2004
Posts: 37
hi,
i want to control the timers restoring after startup of jboss. the problem that i am facing is after i cancel a timer, it cancels it but unable to remove the timer from db. so, when i restart my jboss, the unremoved timer restored and resulting in issues.

i tried by manually removing all records from the table "TIMERS" using the tool "DatabaseManagerSwing.class" from hsqldb.jar file. and it removed all records but when i restart jboss, restores the timer. From where does it restore? other than class "DatabasePersistencePolicy.class", any other being used to persist the timer?

and i used the values like ("org.hsqldb.jdbcDriver", "jdbc:hsqldb:hsql://localhost:1701/", "sa", "") i.e., the local db maintained by the container, to get a connection.

thanks.
 
jQuery in Action, 2nd edition
 
subject: From where ejb timers are restored in jboss 4.0 ?
 
Similar Threads
Need to restart timer with different time
EJB Timers in JBoss
EJB Timers
EJB2.1 Timer Service
Java EE timer service and periodical jobs