Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

From where ejb timers are restored in jboss 4.0 ?

 
Akshay Kumar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic