Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-5119

[GSS](6.4.z) EJB timer broken with OverdueTrigger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 6.4.8
    • jBPM Core
    • Hide

      TBD - this is happening after server restart with active timers, but exact steps need to be worked out

      Show
      TBD - this is happening after server restart with active timers, but exact steps need to be worked out

    Description

      Using kie-server with EJB timers (default setup), serialized timers are getting corrupted upon server restart:

      14:09:51,256 ERROR [org.jboss.as.ejb3] (EJB default - 3) JBAS014129: Could not restore timer from /data/jboss/bpms647/standalone/data/timer-service-data/kie-server.kie-server.EJBTimerScheduler/8373df37-f6e6-4e3a-9a35-b3b9c5e1d860: java.io.EOFException: Read past end of file
      	at org.jboss.marshalling.SimpleDataInput.eofOnRead(SimpleDataInput.java:151) [jboss-marshalling-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.SimpleDataInput.readUnsignedByteDirect(SimpleDataInput.java:294) [jboss-marshalling-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.SimpleDataInput.readIntDirect(SimpleDataInput.java:343) [jboss-marshalling-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.SimpleDataInput.readLongDirect(SimpleDataInput.java:325) [jboss-marshalling-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.SimpleDataInput.readLong(SimpleDataInput.java:320) [jboss-marshalling-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadClassDescriptor(RiverUnmarshaller.java:1000) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1255) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:224) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1753) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1666) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1293) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:224) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1753) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1666) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1614) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1614) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1293) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:224) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1753) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1666) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1293) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:224) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.readFields(RiverUnmarshaller.java:1753) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doInitSerializable(RiverUnmarshaller.java:1666) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadNewObject(RiverUnmarshaller.java:1293) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:276) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.river.RiverUnmarshaller.doReadObject(RiverUnmarshaller.java:209) [jboss-marshalling-river-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.marshalling.AbstractObjectInput.readObject(AbstractObjectInput.java:76) [jboss-marshalling-1.4.10.SP3-redhat-1.jar:1.4.10.SP3-redhat-1]
      	at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.loadTimersFromFile(FileTimerPersistence.java:311) [jboss-as-ejb3-7.5.18.Final-redhat-1.jar:7.5.18.Final-redhat-1]
      	at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.getTimers(FileTimerPersistence.java:290) [jboss-as-ejb3-7.5.18.Final-redhat-1.jar:7.5.18.Final-redhat-1]
      	at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.persistTimer(FileTimerPersistence.java:172) [jboss-as-ejb3-7.5.18.Final-redhat-1.jar:7.5.18.Final-redhat-1]
      	at org.jboss.as.ejb3.timerservice.persistence.filestore.FileTimerPersistence.persistTimer(FileTimerPersistence.java:150) [jboss-as-ejb3-7.5.18.Final-redhat-1.jar:7.5.18.Final-redhat-1]
      	at org.jboss.as.ejb3.timerservice.TimerServiceImpl.persistTimer(TimerServiceImpl.java:582) [jboss-as-ejb3-7.5.18.Final-redhat-1.jar:7.5.18.Final-redhat-1]
      	at org.jboss.as.ejb3.timerservice.task.TimerTask.run(TimerTask.java:176) [jboss-as-ejb3-7.5.18.Final-redhat-1.jar:7.5.18.Final-redhat-1]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_161]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_161]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [rt.jar:1.8.0_161]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [rt.jar:1.8.0_161]
      	at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_161]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.2.Final-redhat-1.jar:2.1.2.Final-redhat-1]
      Caused by: an exception which occurred:
      	in field kruntime
      	in object of type org.jbpm.process.instance.timer.TimerManager$OverdueTrigger
      	in field trigger
      	in object of type org.jbpm.persistence.timer.GlobalJpaTimerJobInstance
      	in field timerJobInstance
      	in object of type org.jbpm.services.ejb.timer.EjbTimerJob
      	in field info
      	in object of type org.jboss.as.ejb3.timerservice.persistence.TimerEntity
      

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-support-mputz Martin Weiler (Inactive)
            Marian Macik Marian Macik
            Marian Macik Marian Macik
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: