Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-115394

StorageType.PERSISTED jobs are removed from database on every shutdown

    Details

      Description

      Due to SchedulerEngineHelperImpl.SchedulerEventMessageListenerServiceTrackerCustomizer every time the server stops the persisted job is unregistered. In a clustered environment this can stop the task in the remaining nodes from being executed.

      Steps to Reproduce:

      1. Deploy a PERSISTED job (can be used the one attached as an example).
      2. Check the quartz table QUARTZ_TRIGGERS to see that the trigger exists.
      3. Stop the server.

       

      Actual Results:

      The record is removed from the table.

       

      Expected Results:

      Since it's a PERSISTED job it should remain in the table.

       

        Attachments

          Activity

            People

            Assignee:
            tina.tian Tina Tian
            Reporter:
            mariano.alvaro Mariano Álvaro
            Participants of an Issue:
            Recent user:
            Tina Tian
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              43 weeks, 2 days ago

                Packages

                Version Package