Bring up a converted Sakai 19 instance (from Sakai 11) and then run the SchedulerMigration job in Job Scheduler
11-May-2019 07:09:35.863 ERROR [QuartzScheduler_Worker-3] org.quartz.core.ErrorLogger.schedulerError Job (DEFAULT.SchedulerMigration threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: Removing a detached instance org.sakaiproject.scheduler.events.hibernate.DelayedInvocation#01702f76-36dc-44d0-b2dd-c33f92e216a8]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.IllegalArgumentException: Removing a detached instance org.sakaiproject.scheduler.events.hibernate.DelayedInvocation#01702f76-36dc-44d0-b2dd-c33f92e216a8
at org.hibernate.jpa.event.internal.core.JpaDeleteEventListener.performDetachedEntityDeletionCheck(JpaDeleteEventListener.java:69)
at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:106)
at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:73)
at org.hibernate.internal.SessionImpl.fireDelete(SessionImpl.java:956)
at org.hibernate.internal.SessionImpl.delete(SessionImpl.java:896)
at org.sakaiproject.component.app.scheduler.DelayedInvocationDAO.remove(DelayedInvocationDAO.java:46)
at org.sakaiproject.component.app.scheduler.DelayedInvocationDAO$$FastClassBySpringCGLIB$$472c6c81.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
at org.sakaiproject.component.app.scheduler.DelayedInvocationDAO$$EnhancerBySpringCGLIB$$8483e0f.remove(<generated>)
at org.sakaiproject.component.app.scheduler.jobs.SchedulerMigrationJob.execute(SchedulerMigrationJob.java:71)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
Activity
Show:
Thomas Kelsey July 12, 2019 at 2:28 PM
@Sam Ottenhoff, this is the only thing which showed up for me in the log:
12-Jul-2019 15:20:49.532 INFO [QuartzScheduler_Worker-4] org.sakaiproject.component.app.scheduler.jobs.SchedulerMigrationJob.execute Didn't remove old scheduler job.
Does this mean the fix worked and I can set 19 status to verified?
Bring up a converted Sakai 19 instance (from Sakai 11) and then run the SchedulerMigration job in Job Scheduler
11-May-2019 07:09:35.863 ERROR [QuartzScheduler_Worker-3] org.quartz.core.ErrorLogger.schedulerError Job (DEFAULT.SchedulerMigration threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.IllegalArgumentException: Removing a detached instance org.sakaiproject.scheduler.events.hibernate.DelayedInvocation#01702f76-36dc-44d0-b2dd-c33f92e216a8] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) Caused by: java.lang.IllegalArgumentException: Removing a detached instance org.sakaiproject.scheduler.events.hibernate.DelayedInvocation#01702f76-36dc-44d0-b2dd-c33f92e216a8 at org.hibernate.jpa.event.internal.core.JpaDeleteEventListener.performDetachedEntityDeletionCheck(JpaDeleteEventListener.java:69) at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:106) at org.hibernate.event.internal.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:73) at org.hibernate.internal.SessionImpl.fireDelete(SessionImpl.java:956) at org.hibernate.internal.SessionImpl.delete(SessionImpl.java:896) at org.sakaiproject.component.app.scheduler.DelayedInvocationDAO.remove(DelayedInvocationDAO.java:46) at org.sakaiproject.component.app.scheduler.DelayedInvocationDAO$$FastClassBySpringCGLIB$$472c6c81.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.sakaiproject.component.app.scheduler.DelayedInvocationDAO$$EnhancerBySpringCGLIB$$8483e0f.remove(<generated>) at org.sakaiproject.component.app.scheduler.jobs.SchedulerMigrationJob.execute(SchedulerMigrationJob.java:71) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 1 more