Here it is: https://github.com/eiskonzept/tomee.git There is preinitialized hsqldb database in the project.
To reproduce the issue: 1. package the project: mvn package 2. start tomee plugin with node1 profile: mvn tomee:run -P node1 3. open http://localhost:8080/tomee_replication-1.0/schedule.xhtml in browser 4. push "Schedule timer" button -> timer is scheduled and listed on the page. Timer executed every second and logged in console. 5. stop tomee instance. 6. start tomee instance and check console log. Timer is restored and executed 7. open http://localhost:8080/tomee_replication-1.0/schedule.xhtml -> Timer is not listed. Method TimerService.getTimers() returns empty list. There is no possibility to unschedule old timers. -----Ursprüngliche Nachricht----- Von: Romain Manni-Bucau [mailto:[email protected]] Gesendet: Montag, 22. April 2013 10:18 An: [email protected] Betreff: Re: AW: Java EE Scheduler implementation in TomEE can be an embedded test i think with a file database (hsqldb/h2) doing a start/stop of an EJBContainer that said a small war project can be fine too, the main constraint are: * buildable on my side easily * runnable easily
