This is a continuation of RHBPMS-3962 that shows up when data is migrated from BPMS 6.1 to RHPAM 7.x:
After migrating the old 6.0 db content to RHPAM 7.x, and applying the byteman script, the quartz execution now fails with the following error message:
ERROR [org.quartz.impl.jdbcjobstore.JobStoreCMT] (QuartzScheduler_jBPMClusteredScheduler-mweiler1601500417570_MisfireHandler) MisfireHandler: Error handling misfires: Couldn't store trigger 'jbpm.4-7-7_trigger' ... Caused by: org.quartz.JobPersistenceException: Couldn't retrieve job because the BLOB couldn't be deserialized: org.drools.core.time.impl.DefaultJobHandle; incompatible types for field cancel [See nested exception: java.io.InvalidClassException: org.drools.core.time.impl.DefaultJobHandle; incompatible types for field cancel] at org.quartz.impl.jdbcjobstore.JobStoreSupport.retrieveJob(JobStoreSupport.java:1399) at org.quartz.impl.jdbcjobstore.JobStoreSupport.storeTrigger(JobStoreSupport.java:1210) ... 5 more Caused by: java.io.InvalidClassException: org.drools.core.time.impl.DefaultJobHandle; incompatible types for field cancel at java.io.ObjectStreamClass.matchFields(ObjectStreamClass.java:2299) at java.io.ObjectStreamClass.getReflector(ObjectStreamClass.java:2193) at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:669) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1843)
The change to DefaultJobHandle has been introduced with DROOLS-1660. We need a tool to perform something like: dump the data, transform to the new class, update the data with the new classes.