Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005892 [Resin] major always 05-04-15 01:28 07-18-17 14:51
Reporter bbik View Status public  
Assigned To ferg
Priority normal Resolution won't fix Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.44
  Product Build
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
Attached Files

- Relationships

- Notes
(0006771)
ferg
07-18-17 14:51

Persistent timers is not a supported feature in Resin.
 

- Issue History
Date Modified Username Field Change
05-04-15 01:28 bbik New Issue
05-04-15 01:29 bbik Issue Monitored: bbik
07-18-17 14:51 ferg Note Added: 0006771
07-18-17 14:51 ferg Assigned To  => ferg
07-18-17 14:51 ferg Status new => closed
07-18-17 14:51 ferg Resolution open => won't fix


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker