Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-8061

Scheduled messages misloaded by ActiveMQ and then not fired in a job

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 5.15.1, 5.16.0
    • None
    • AMQP

    Description

      I need your help on the scheduled sending message functionnality.

      My configuration is :

      • ActiveMQ 5.15.1 (in production but I reproduce the issue with 5.16.0)
      • kahadb default configuration

      I got these files in the scheduler :

      • db-24.log
      • db-25.log
      • scheduleDB.data
      • scheduleDB.redo

      When running, it sometimes happens that scheduled messages are no more fired by the job scheduler.
      If we stop and restart the broker, it doesn't change anything :

      • old scheduled messages are not fired
      • new scheduled messages are not fired

      If we remove the folder scheduler, and restart, new messages are correctly fired.

      When I debug the job scheduler when launching with the old scheduled messages, something goes wrong in this file, org.apache.activemq.store.kahadb.scheduler.JobSchedulerImpl.java :

      There are events, but no one has jobs :

      The getNextToSchedule() method finds events but no one of these got correct jobs.

      I tried to load the scheduled files with AMQ 5.15.1, 5.16.0, without success.

      Any ideas what's going wrong ?

      Thanks

      [1]: https://i.stack.imgur.com/D09Pt.png
      [2]: https://i.stack.imgur.com/jg63c.png

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            Erwann LEROY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: