Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1839

Use HSQL to store Quartz jobs when deployed on JBoss AS

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: The future
    • Component/s: Async
    • Labels:
      None

      Description

      Right now, Quartz jobs are stored "in-memory" and hence cannot be auto-started when the server reboots. The user can use persistence job stores by using a custom quartz property file. However, in JBoss AS, we should store jobs in the HSQL DB by default:

      • In the dispatcher component, we can have a "jboss=true" attribute
      • If this attribute is true, the QuartzDispatcher will setup Quartz tables for this particular app in the HSQL at startup, and then use the HSQL DB as persistent job store.

      This way, when the application deploys again, all the jobs for this application will be auto-started again.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                michael.yuan Michael Yuan (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: