← Back to team overview

dhis2-devs team mailing list archive

Re: [BUG] Refreshing page starts/stops scheduling

 

Hi Lars/Morten,

This issue is occurring in the current 2.24 revision also. Any updates on
the same?


Thanks
Aamer.


On Mon, Apr 4, 2016 at 5:48 PM, Archana Chillala <archanac@xxxxxxxxxxxxxxxx>
wrote:

> Hi,
>
> We came across a bug in DHIS.
>
> *To reproduce:*
> Go to Administration --> Scheduling.
> Enable a set of tasks for scheduling and START scheduling.
> Info at the bottom says "*Scheduling is active*".
> Now refresh the page and scheduling stops.
>
>
> Attached below are the screenshots and log traces depicting the issue.
>
>
> *Before Refresh: *
>
> * INFO  2016-04-04 17:43:06,518 Scheduled task with key: 0 0 0 * * ? and
> cron: 0 0 0 * * ? (SpringScheduler.java [http-bio-8080-exec-53])
> * INFO  2016-04-04 17:43:06,519 Scheduled task with key: 0 0/1 * * * ? and
> cron: 0 0/1 * * * ? (SpringScheduler.java [http-bio-8080-exec-53])
> * INFO  2016-04-04 17:43:06,521 Status: running (ScheduleTasksAction.java
> [http-bio-8080-exec-53])
> * INFO  2016-04-04 17:43:06,522 Running: true (ScheduleTasksAction.java
> [http-bio-8080-exec-53])
>
>
> [image: Inline image 1]
>
>
>
> *After Refresh:*
>
> * INFO  2016-04-04 17:43:21,491 Stopped task with key: 0 0 0 * * ?
> successfully: true (SpringScheduler.java [http-bio-8080-exec-45])
> * INFO  2016-04-04 17:43:21,492 Stopped task with key: 0 0/1 * * * ?
> successfully: true (SpringScheduler.java [http-bio-8080-exec-45])
> * INFO  2016-04-04 17:43:21,494 Status: not_started
> (ScheduleTasksAction.java [http-bio-8080-exec-45])
> * INFO  2016-04-04 17:43:21,495 Running: false (ScheduleTasksAction.java
> [http-bio-8080-exec-45])
>
>
>
> [image: Inline image 2]
>
>
> Could you please help fix this. We have tested this on DHIS version 2.21
> and also trunk.
>
>
> *Thanks,*
>
> Archana Chillala
> Application Developer
> Email archanac@xxxxxxxxxxxxxxxx
> Telephone +91 9100960533 <+91+9100960533>
> [image: ThoughtWorks]
> <http://www.thoughtworks.com/?utm_campaign=archana-chillala-signature&utm_medium=email&utm_source=thoughtworks-email-signature-generator>
>

PNG image

PNG image


Follow ups

References