|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5892 | major | always | 05-04-15 01:28 | 07-18-17 14:51 | |
|
|
|||||
| Reporter: | bbik | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.44 | ||
| Product Build: | Resolution: | won't fix | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0005892: Persistent TimerService timeers are lost after resin restart | ||||
| Description: |
persistent timerservice timers are lost after server restart: @Singleton @LocalBean @Startup public class TimerTest { @Resource TimerService ts; static TimerTest inst=null; @PostConstruct void init() { inst=this; } ... It creates several timers: TimerConfig tc=new TimerConfig(Integer.toString(id), true); ScheduleExpression sch=new ScheduleExpression(); sch.hour(hour); sch.minute(min); sch.second(sec); t=ts.createCalendarTimer(sch, tc); } @Timeout public void doJob(Timer t) But after resin stop/start all created timers are lost. JBoss is working fine ) |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||