[MGNLSCH-43] Create pulse-error-message if a scheduled backup fails Created: 17/Dec/13  Updated: 16/Apr/14  Resolved: 10/Apr/14

Status: Closed
Project: Scheduler
Component/s: None
Affects Version/s: 2.0
Fix Version/s: 2.1

Type: Improvement Priority: Major
Reporter: Christoph Meier Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: next, quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLBACKUP-66 Report meaningful message if backup f... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

If a scheduled backup fails, this can be seen only in the log-file.
But Magnolia-user should receive a pulse-error-message if this appears.



 Comments   
Comment by Christoph Meier [ 17/Dec/13 ]

I moved this from backup- to scheduler-project. (seems a general scheduler-problem)

Comment by Roman Kovařík [ 07/Apr/14 ]
  • Please add non-parametric constructors, mark them as deprecated to preserve binary compatibility.
  • Executing of command job fails with:
    2014-04-07 13:51:00,013 ERROR org.quartz.core.ErrorLogger                       : An error occured instantiating job to be executed. job= 'magnolia.demo'
    org.quartz.SchedulerException: Problem instantiating class 'info.magnolia.module.scheduler.CommandJob' [See nested exception: java.lang.InstantiationException: info.magnolia.module.scheduler.CommandJob]
    	at org.quartz.simpl.SimpleJobFactory.newJob(SimpleJobFactory.java:57)
    	at org.quartz.core.JobRunShell.initialize(JobRunShell.java:140)
    	at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:364)
    Caused by: java.lang.InstantiationException: info.magnolia.module.scheduler.CommandJob
    	at java.lang.Class.newInstance0(Class.java:340)
    	at java.lang.Class.newInstance(Class.java:308)
    	at org.quartz.simpl.SimpleJobFactory.newJob(SimpleJobFactory.java:55)
    	... 2 more
    
Generated at Mon Feb 12 10:45:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.