Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-34444

AutoSubmitAssessments job should use SpringStatefulJobBeanWrapper

    XMLWordPrintable

    Details

    • Previous Issue Keys:
      SAM-3105

      Description

      Quartz complains if a job which implements StatefulJob uses SpringJobBeanWrapper instead of SpringStatefulJobBeanWrapper, e.g.:

      catalina.out:2017-01-04 00:00:00,019 WARN QuartzScheduler_Worker-5 org.sakaiproject.component.app.scheduler.jobs.SpringJobBeanWrapper - Non-stateful wrapper used with stateful job: AutoSubmitAssessments You probably wanted to use SpringStatefulJobBeanWrapper for this job.

      Although this appears to be mostly harmless, we should get rid of this warning by changing the definition in samigo-pack/src/webapp/WEB-INF/components.xml:

      <bean id="org.sakaiproject.api.app.scheduler.JobBeanWrapper.AutoSubmitAssessments"
            class="org.sakaiproject.component.app.scheduler.jobs.SpringJobBeanWrapper"
            init-method="init">
      

      to

      <bean id="org.sakaiproject.api.app.scheduler.JobBeanWrapper.AutoSubmitAssessments"
            class="org.sakaiproject.component.app.scheduler.jobs.SpringStatefulJobBeanWrapper"
            init-method="init">
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  samigoteam SAMIGO TEAM (Inactive)
                  Reporter:
                  smarquard Stephen Marquard
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code