1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Quartz clustering broken with EAP7.2

Discussão em 'StackOverflow' iniciado por Stack, Janeiro 27, 2021.

  1. Stack

    Stack Membro Participativo

    Recently upgraded an application from JBoss 6.4 -> JBoss 7.2 and we're seeing our Quartz triggers intermittently fire among multiple instances of a 4 node cluster. This wasn't a problem until the upgrade and adding org.quartz.jobStore.clusterCheckinInterval = 20000 hasn't worked.

    Has anyone else experienced this? If so how was it resolved?

    quartz 2.3.2

    Quartz Properties

    # ===========================================================================
    # Configure Main Scheduler Properties ======================================
    # ===========================================================================
    #
    org.quartz.scheduler.instanceName = Scheduler
    org.quartz.scheduler.instanceId = AUTO
    org.quartz.scheduler.skipUpdateCheck = true

    # ===========================================================================
    # Configure ThreadPool =====================================================
    # ===========================================================================
    #
    org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
    org.quartz.threadPool.threadCount = 100
    org.quartz.threadPool.threadPriority = 5

    # ===========================================================================
    # Configure JobStore =======================================================
    # ===========================================================================
    #
    org.quartz.jobStore.misfireThreshold = 60000

    org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
    org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
    org.quartz.jobStore.useProperties = false
    org.quartz.jobStore.dataSource=DataSource
    org.quartz.jobStore.tablePrefix = QRTZ_
    org.quartz.jobStore.isClustered = true
    org.quartz.jobStore.clusterCheckinInterval = 20000


    #============================================================================
    # Configure Datasources
    #============================================================================
    org.quartz.dataSource.DataSource.jndiURL=java:/DataSource

    # ============= ==============================================================
    # Configure SchedulerPlugins ===============================================
    # ===========================================================================

    org.quartz.plugin.jobInitializer.class = org.quartz.plugins.xml.XMLSchedulingDataProcessorPlugin
    org.quartz.plugin.jobInitializer.fileNames = /quartz/quartz-jobs.xml
    org.quartz.plugin.jobInitializer.failOnFileNotFound = true
    org.quartz.plugin.jobInitializer.scanInterval = 0
    org.quartz.plugin.jobInitializer.wrapInUserTransaction =false

    Continue reading...

Compartilhe esta Página