Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-42

EJBTimerScheduler.getTimerByName throws NoSuchObjectLocalException in WAS

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.x.x
    • Fix Version/s: 7.0.0.GA
    • Component/s: jBPM Core
    • Labels:
    • Environment:

      WAS 8.5.5
      BPMS 6.4.2
      Embedded BPM Engine

      Description

      When scheduling a new Timer, the engine first checks to see if that timer job already exists. It does this by calling getTimerByName on the EJBTimerScheduler

      public TimerJobInstance getTimerByName(String jobName) {
      for (Timer timer : timerService.getTimers()) {
      Serializable info = timer.getInfo();
      if (info instanceof EjbTimerJob) {
      EjbTimerJob job = (EjbTimerJob) info;
      EjbGlobalJobHandle handle = (EjbGlobalJobHandle) job.getTimerJobInstance().getJobHandle();
      if (handle.getUuid().equals(jobName)) {
      logger.debug("Job {} does match timer and is going to be returned", jobName);
      return handle.getTimerJobInstance();
      }
      }
      }
      return null;
      }
      

      Unfortunately, it appears that WebSphere is lazy-loading the TimerInfo objects, and only retrieves them from the database when the timer.getInfo is called on each timer. This leaves a window between when the list of timers is retrieved and when the timerInfo is retrieved where the timer may have fired and been removed from the database.

      Since we don't care about timers that are no longer present, is it possible to put a guard in here against the exception which is thrown? (stacktrace below)

      [3/21/17 2:40:16:481 EDT] 000000e4 SystemOut O 2017-03-21 02:40:16.481 WARN o.d.p.SingleSessionCommandService (WorkManager.WebSphere_EJB_Container_AsynchMethods_Internal_WorkManager : 3) [applicationId=gtm-collections] [workflowId=] [mode=COLLECTIONS_BATCH] [procDate=] [accountNumber=6035517890841694] [BusinessKey=6035517890841694] [transKey=6035517890841694] [transSeq=] [state=] [status=] [description=] - Could not commit session
      org.jbpm.workflow.instance.WorkflowRuntimeException: [InternalRetry:2,669,727 - Wait:9] – TimerImpl(7936, BeanId(gtm-ws-1_0_0_war#gtm-ws-1.0.0.war#EJBTimerScheduler, null)); nested exception is: com.ibm.websphere.scheduler.TaskInvalid: SCHD0061E: The task information for task ID 7936 and owner token gtm-ws-1_0_0_war was not found in the database.
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:179) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:381) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.SplitInstance.executeStrategy(SplitInstance.java:117) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:63) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:44) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:341) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:318) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.RuleSetNodeInstance.signalEvent(RuleSetNodeInstance.java:124) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:490) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.process.instance.event.DefaultSignalManager.internalSignalEvent(DefaultSignalManager.java:82) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.process.instance.event.DefaultSignalManager$SignalAction.execute(DefaultSignalManager.java:181) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.drools.core.phreak.SynchronizedPropagationList.flush(SynchronizedPropagationList.java:82) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.phreak.SynchronizedBypassPropagationList.flush(SynchronizedBypassPropagationList.java:64) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.flushPropagations(StatefulKnowledgeSessionImpl.java:2006) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.executeQueuedActions(StatefulKnowledgeSessionImpl.java:1555) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.process.instance.event.DefaultSignalManager.signalEvent(DefaultSignalManager.java:74) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.persistence.processinstance.JPASignalManager.signalEvent(JPASignalManager.java:81) ~[jbpm-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.process.instance.ProcessRuntimeImpl$3.afterRuleFlowGroupDeactivated(ProcessRuntimeImpl.java:458) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.drools.core.event.AgendaEventSupport.fireAfterRuleFlowGroupDeactivated(AgendaEventSupport.java:180) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.common.DefaultAgenda.getNextFocus(DefaultAgenda.java:551) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1343) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1283) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1302) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1292) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1273) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.runtime.rule.FireAllRulesCommand.execute(FireAllRulesCommand.java:111) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.runtime.rule.FireAllRulesCommand.execute(FireAllRulesCommand.java:36) ~[drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:584) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:82) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:73) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:377) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession.fireAllRules(CommandBasedStatefulKnowledgeSession.java:282) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.process.instance.event.listeners.TriggerRulesEventListener.afterRuleFlowGroupActivated(TriggerRulesEventListener.java:83) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.drools.core.event.AgendaEventSupport.fireAfterRuleFlowGroupActivated(AgendaEventSupport.java:152) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.common.DefaultAgenda.activateRuleFlowGroup(DefaultAgenda.java:706) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.common.DefaultAgenda.activateRuleFlowGroup(DefaultAgenda.java:694) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.workflow.instance.node.RuleSetNodeInstance.internalTrigger(RuleSetNodeInstance.java:87) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:61) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:57) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:381) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.SplitInstance.executeStrategy(SplitInstance.java:117) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.SplitInstance.internalTrigger(SplitInstance.java:63) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:366) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:325) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:44) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:341) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:318) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:323) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:385) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:361) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:484) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:147) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:75) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:35) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.DefaultCommandService.execute(DefaultCommandService.java:36) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.SingleSessionCommandService$TransactionInterceptor.execute(SingleSessionCommandService.java:584) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:82) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:41) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:73) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:377) [drools-persistence-jpa-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.drools.core.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:166) [drools-core-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.executor.impl.wih.AsyncWorkItemHandlerCmdCallback.onCommandDone(AsyncWorkItemHandlerCmdCallback.java:62) [jbpm-executor-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.executor.impl.AbstractAvailableJobsExecutor.executeGivenJob(AbstractAvailableJobsExecutor.java:128) [jbpm-executor-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.executor.impl.AvailableJobsExecutor.executeJob(AvailableJobsExecutor.java:38) [jbpm-executor-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.executor.cdi.impl.AvailableJobsExecutorCDIImpl.executeJob(AvailableJobsExecutorCDIImpl.java:56) [jbpm-executor-cdi-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) ~[na:1.7.0]
      at java.lang.reflect.Method.invoke(Method.java:620) ~[na:2.6 (12-22-2015)]
      at com.ibm.ejs.container.EJSContainer.invokeProceed(EJSContainer.java:5798) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:569) [com.ibm.ws.runtime.jar:na]
      at org.apache.webbeans.ejb.common.interceptor.OpenWebBeansEjbInterceptor.callInterceptorsAndDecorators(OpenWebBeansEjbInterceptor.java:528) [org.apache.webbeans.jar:na]
      at org.apache.webbeans.ejb.common.interceptor.OpenWebBeansEjbInterceptor.callToOwbInterceptors(OpenWebBeansEjbInterceptor.java:200) [org.apache.webbeans.jar:na]
      at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) ~[na:1.7.0]
      at java.lang.reflect.Method.invoke(Method.java:620) ~[na:2.6 (12-22-2015)]
      at com.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:549) [com.ibm.ws.runtime.jar:na]
      at org.apache.webbeans.ejb.WSEJBInterceptor.callToOwbInterceptors(WSEJBInterceptor.java:152) [org.apache.webbeans.jar:na]
      at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) ~[na:1.7.0]
      at java.lang.reflect.Method.invoke(Method.java:620) ~[na:2.6 (12-22-2015)]
      at com.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:549) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.doAroundInvoke(InvocationContextImpl.java:230) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.EJSContainer.invoke(EJSContainer.java:5689) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.AsyncMethodWorkWrapper.run(AsyncMethodWorkWrapper.java:245) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:271) [com.ibm.ws.runtime.jar:na]
      at java.security.AccessController.doPrivileged(AccessController.java:400) [na:1.7.0]
      at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:797) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ws.asynchbeans.WorkWithExecutionContextImpl.go(WorkWithExecutionContextImpl.java:222) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ws.asynchbeans.ABWorkItemImpl.run(ABWorkItemImpl.java:206) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881) [com.ibm.ws.runtime.jar:na]
      Caused by: javax.ejb.NoSuchObjectLocalException: TimerImpl(7936, BeanId(gtm-ws-1_0_0_war#gtm-ws-1.0.0.war#EJBTimerScheduler, null)); nested exception is: com.ibm.websphere.scheduler.TaskInvalid: SCHD0061E: The task information for task ID 7936 and owner token gtm-ws-1_0_0_war was not found in the database.
      at com.ibm.ejs.container.TimerImpl.getInfo(TimerImpl.java:710) ~[com.ibm.ws.runtime.jar:na]
      at org.jbpm.services.ejb.timer.EJBTimerScheduler.getTimerByName(EJBTimerScheduler.java:123) ~[jbpm-services-ejb-timer-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) ~[na:1.7.0]
      at java.lang.reflect.Method.invoke(Method.java:620) ~[na:2.6 (12-22-2015)]
      at com.ibm.ejs.container.EJSContainer.invokeProceed(EJSContainer.java:5798) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:569) [com.ibm.ws.runtime.jar:na]
      at org.apache.webbeans.ejb.common.interceptor.OpenWebBeansEjbInterceptor.callToOwbInterceptors(OpenWebBeansEjbInterceptor.java:197) [org.apache.webbeans.jar:na]
      at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) ~[na:1.7.0]
      at java.lang.reflect.Method.invoke(Method.java:620) ~[na:2.6 (12-22-2015)]
      at com.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:549) [com.ibm.ws.runtime.jar:na]
      at org.apache.webbeans.ejb.WSEJBInterceptor.callToOwbInterceptors(WSEJBInterceptor.java:152) [org.apache.webbeans.jar:na]
      at sun.reflect.GeneratedMethodAccessor113.invoke(Unknown Source) ~[na:na]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56) ~[na:1.7.0]
      at java.lang.reflect.Method.invoke(Method.java:620) ~[na:2.6 (12-22-2015)]
      at com.ibm.ejs.container.interceptors.InterceptorProxy.invokeInterceptor(InterceptorProxy.java:227) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.proceed(InvocationContextImpl.java:549) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.interceptors.InvocationContextImpl.doAroundInvoke(InvocationContextImpl.java:230) [com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.EJSContainer.invoke(EJSContainer.java:5689) [com.ibm.ws.runtime.jar:na]
      at org.jbpm.services.ejb.timer.EJSLocalNSGEJBTimerScheduler_2ce4371c.getTimerByName(EJSLocalNSGEJBTimerScheduler_2ce4371c.java) ~[na:6.3.0.Final-redhat-12]
      at org.jbpm.services.ejb.timer.EjbSchedulerService.scheduleJob(EjbSchedulerService.java:54) ~[jbpm-services-ejb-timer-6.3.0.Final-redhat-12.jar:6.3.0.Final-redhat-12]
      at org.jbpm.process.core.timer.impl.GlobalTimerService.scheduleJob(GlobalTimerService.java:93) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.process.core.timer.impl.RegisteredTimerServiceDelegate.scheduleJob(RegisteredTimerServiceDelegate.java:63) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.process.instance.timer.TimerManager.registerTimer(TimerManager.java:100) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.node.TimerNodeInstance.internalTrigger(TimerNodeInstance.java:70) ~[jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:173) [jbpm-flow-6.3.0.Final-redhat-12-RHBPMS-4323.jar:6.3.0.Final-redhat-12-RHBPMS-4323]
      ... 107 common frames omitted
      Caused by: com.ibm.websphere.scheduler.TaskInvalid: SCHD0061E: The task information for task ID 7936 and owner token gtm-ws-1_0_0_war was not found in the database.
      at com.ibm.ws.scheduler.TaskStoreImpl.load(TaskStoreImpl.java:1159) ~[com.ibm.ws.runtime.jar:na]
      at com.ibm.ws.scheduler.TaskStoreImpl.findByPrimaryKey(TaskStoreImpl.java:1043) ~[com.ibm.ws.runtime.jar:na]
      at com.ibm.ws.scheduler.SchedulerImpl$7.run(SchedulerImpl.java:2192) ~[com.ibm.ws.runtime.jar:na]
      at java.security.AccessController.doPrivileged(AccessController.java:456) [na:1.7.0]
      at com.ibm.ws.scheduler.SchedulerImpl.getTask(SchedulerImpl.java:2159) ~[com.ibm.ws.runtime.jar:na]
      at com.ibm.ejs.container.TimerImpl.getInfo(TimerImpl.java:686) ~[com.ibm.ws.runtime.jar:na]
      ... 134 common frames omitted

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swiderski.maciej Maciej Swiderski
                  Reporter:
                  djeremiah David Murphy
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: