[JammerManager] Interrupted: com.termalabs.common.datastore.DataAccessException: In error state

book

Article ID: 224486

calendar_today

Updated On:

Products

Automic Automation Intelligence

Issue/Introduction

[JammerManager] Interrupted: com.termalabs.common.datastore.DataAccessException: In error state

 

2021/08/18 10:44:11.343 WARN [PredecessorRunsCompletedJobStreamRunBuilder] Failed to add/update job stream runs for non-success terminated target job runs for job stream [email protected][id=UUID[AXfsfOEVUvw=]]: Error while saving instance: [email protected][id=UUID[AXtVgiCBEx4=],initialJobRunStartTime=2021/08/17 22:00:05.000 PDT,[email protected][id=UUID[AXfsfOEVUvw=]],externalId="1629284405501"]

 

2021/08/18 10:44:11.437 WARN [GenericSessionImpl] Closing a write session where the final commit() was never called. Some changes may not have been committed
 at com.termalabs.common.connection.hibernate.GenericSessionImpl.close(GenericSessionImpl.java:285)
 at com.termalabs.server.cache.jobstream.JobStreamRunUpdaterImpl.close(JobStreamRunUpdaterImpl.java:505)
 at com.termalabs.server.app.jobstream.run.PredecessorRunsCompletedJobStreamRunBuilder.associateLatestRuns(PredecessorRunsCompletedJobStreamRunBuilder.java:304)
 at com.termalabs.server.system.CommonJammerSequence.runJobStreamRunBuilder(CommonJammerSequence.java:318)
 at com.termalabs.server.system.RunCycle.runJobStreamRunBuilderForActiveRuns(RunCycle.java:844)
 at com.termalabs.server.system.RunCycle.compute(RunCycle.java:396)
 at com.termalabs.server.system.CommonJammerSequence.runCycle(CommonJammerSequence.java:225)
 at com.termalabs.server.system.CommonJammerSequence.runJammerSequence(CommonJammerSequence.java:158)
 at com.termalabs.server.system.JammerSequence.run(JammerSequence.java:141)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)

 

2021/08/18 10:44:11.453 WARN [CommonJammerSequence] JobStreamRunBuilder error - rebuilding scheduler cache for scheduler "AutoSys-v2", "CA7": com.termalabs.common.datastore.DataAccessException: In error state
 at com.termalabs.common.connection.hibernate.GenericSessionImpl.load(GenericSessionImpl.java:728)
 at com.termalabs.server.hibernate.jaws.HibernateSchedulerData.loadScheduler(HibernateSchedulerData.java:103)
 at com.termalabs.server.cache.jobstream.JobStreamRunUpdaterImpl.updateSchedulerLastEventProcessedTime(JobStreamRunUpdaterImpl.java:358)
 at com.termalabs.server.app.jobstream.run.PredecessorRunsCompletedJobStreamRunBuilder.associateLatestRuns(PredecessorRunsCompletedJobStreamRunBuilder.java:296)
 at com.termalabs.server.system.CommonJammerSequence.runJobStreamRunBuilder(CommonJammerSequence.java:318)
 at com.termalabs.server.system.RunCycle.runJobStreamRunBuilderForActiveRuns(RunCycle.java:844)
 at com.termalabs.server.system.RunCycle.compute(RunCycle.java:396)
 at com.termalabs.server.system.CommonJammerSequence.runCycle(CommonJammerSequence.java:225)
 at com.termalabs.server.system.CommonJammerSequence.runJammerSequence(CommonJammerSequence.java:158)
 at com.termalabs.server.system.JammerSequence.run(JammerSequence.java:141)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)

 

 

Then followed by the error you sent me which repeated.

2021/08/18 11:20:07.585 ERROR [JammerManager] Interrupted: com.termalabs.common.datastore.DataAccessException: In error state
 at com.termalabs.common.connection.hibernate.GenericSessionImpl.load(GenericSessionImpl.java:728)
 at com.termalabs.server.hibernate.jaws.HibernateSchedulerData.loadScheduler(HibernateSchedulerData.java:103)
 at com.termalabs.server.cache.jobstream.JobStreamRunUpdaterImpl.updateSchedulerLastEventProcessedTime(JobStreamRunUpdaterImpl.java:358)
 at com.termalabs.server.app.jobstream.run.PredecessorRunsCompletedJobStreamRunBuilder.associateLatestRuns(PredecessorRunsCompletedJobStreamRunBuilder.java:296)
 at com.termalabs.server.system.CommonJammerSequence.runJobStreamRunBuilder(CommonJammerSequence.java:318)
 at com.termalabs.server.system.CommonJammerSequence.catchUpJobStreamManager(CommonJammerSequence.java:378)
 at com.termalabs.server.system.JammerManager.doFirstTimeProcessing(JammerManager.java:426)
 at com.termalabs.server.system.JammerManager.run2(JammerManager.java:309)
 at com.termalabs.server.system.JammerManager.run(JammerManager.java:239)
 at com.termalabs.server.system.ApplicationControllerService$2.run(ApplicationControllerService.java:268)
 at java.util.TimerThread.mainLoop(Timer.java:555)
 at java.util.TimerThread.run(Timer.java:505)

Environment

Release : 6.3.0-1

Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE

Resolution

Defect DE514953 created for this, pending fix.