JBoss Community

jBPM 3.2.7 / WebSphere 7.0 / Oracle 10g - Timer not working

created by Rohit Raghuwanshi in jBPM - View the full discussion

Hi all,

   first post here. I have deployed jBPM 3.2.7 on webpshere 7.0 and oracle 10g as database. A simple process works fine for me. But when I deploy a process which contains a state with timer on it I get the error shown below. Would really appreciate some help here.

Thanks!

 

Error below >>>>

 

[9/30/10 19:58:34:977 EDT] 00000094 ProxyWarnLog  W org.hibernate.engine.StatefulPersistenceContext narrowProxy Narrowing proxy to class org.jbpm.graph.node.State - this operation breaks ==
[9/30/10 19:58:35:008 EDT] 00000094 EntitySchedul E org.jbpm.scheduler.ejbtimer.EntitySchedulerService createTimer failed to retrieve entity for Timer(Wait2Min,2010-09-30 20:00:34,992,Token(/))
                                 javax.ejb.ObjectNotFoundException: 308
at com.ibm.ejs.container.EJSHome.activateBean_Common(EJSHome.java:2097)
at com.ibm.ejs.container.EJSHome.activateBean_Local(EJSHome.java:1954)
at org.jbpm.ejb.EJSCMPTimerEntityBeanHomeBean_a0ee9f83.findByPrimaryKey_Local(Unknown Source)
at org.jbpm.ejb.EJSLocalCMPTimerEntityBeanHome_a0ee9f83.findByPrimaryKey(Unknown Source)
at org.jbpm.scheduler.ejbtimer.EntitySchedulerService.createTimer(EntitySchedulerService.java:44)
at org.jbpm.scheduler.def.CreateTimerAction.execute(CreateTimerAction.java:80)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:280)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:237)
at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:207)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:190)
at org.jbpm.graph.def.Node.enter(Node.java:358)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$de44cfb4.enter(<generated>)
at org.jbpm.graph.def.Transition.take(Transition.java:151)
at org.jbpm.graph.def.Node.leave(Node.java:453)
at org.jbpm.graph.def.Node.leave(Node.java:415)
at org.jbpm.graph.def.Node.execute(Node.java:407)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$de44cfb4.execute(<generated>)
at org.jbpm.job.ExecuteNodeJob.execute(ExecuteNodeJob.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)
at org.jbpm.job.Job$$EnhancerByCGLIB$$72c1f597.execute(<generated>)
at org.jbpm.ejb.impl.ExecuteJobCommand.executeJob(ExecuteJobCommand.java:78)
at org.jbpm.ejb.impl.ExecuteJobCommand.execute(ExecuteJobCommand.java:53)
at org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java:147)
at org.jbpm.ejb.EJSLocalStatelessCommandServiceBean_04d87f85.execute(Unknown Source)
at org.jbpm.ejb.impl.CommandListenerBean.onMessage(CommandListenerBean.java:111)
at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1092)
at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:777)
at $Proxy97.onMessage(Unknown Source)
at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:233)
at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:900)
at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:550)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:399)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

[9/30/10 19:58:34:977 EDT] 00000094 ProxyWarnLog  W org.hibernate.engine.StatefulPersistenceContext narrowProxy Narrowing proxy to class org.jbpm.graph.node.State - this operation breaks ==

[9/30/10 19:58:35:008 EDT] 00000094 EntitySchedul E org.jbpm.scheduler.ejbtimer.EntitySchedulerService createTimer failed to retrieve entity for Timer(Wait2Min,2010-09-30 20:00:34,992,Token(/))

                                 javax.ejb.ObjectNotFoundException: 308

at com.ibm.ejs.container.EJSHome.activateBean_Common(EJSHome.java:2097)

at com.ibm.ejs.container.EJSHome.activateBean_Local(EJSHome.java:1954)

at org.jbpm.ejb.EJSCMPTimerEntityBeanHomeBean_a0ee9f83.findByPrimaryKey_Local(Unknown Source)

at org.jbpm.ejb.EJSLocalCMPTimerEntityBeanHome_a0ee9f83.findByPrimaryKey(Unknown Source)

at org.jbpm.scheduler.ejbtimer.EntitySchedulerService.createTimer(EntitySchedulerService.java:44)

at org.jbpm.scheduler.def.CreateTimerAction.execute(CreateTimerAction.java:80)

at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:280)

at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:237)

at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:207)

at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:190)

at org.jbpm.graph.def.Node.enter(Node.java:358)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

at java.lang.reflect.Method.invoke(Method.java:600)

at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)

at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$de44cfb4.enter(<generated>)

at org.jbpm.graph.def.Transition.take(Transition.java:151)

at org.jbpm.graph.def.Node.leave(Node.java:453)

at org.jbpm.graph.def.Node.leave(Node.java:415)

at org.jbpm.graph.def.Node.execute(Node.java:407)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

at java.lang.reflect.Method.invoke(Method.java:600)

at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)

at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$de44cfb4.execute(<generated>)

at org.jbpm.job.ExecuteNodeJob.execute(ExecuteNodeJob.java:28)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

at java.lang.reflect.Method.invoke(Method.java:600)

at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:157)

at org.jbpm.job.Job$$EnhancerByCGLIB$$72c1f597.execute(<generated>)

at org.jbpm.ejb.impl.ExecuteJobCommand.executeJob(ExecuteJobCommand.java:78)

at org.jbpm.ejb.impl.ExecuteJobCommand.execute(ExecuteJobCommand.java:53)

at org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java:147)

at org.jbpm.ejb.EJSLocalStatelessCommandServiceBean_04d87f85.execute(Unknown Source)

at org.jbpm.ejb.impl.CommandListenerBean.onMessage(CommandListenerBean.java:111)

at com.ibm.ejs.container.MessageEndpointHandler.invokeMdbMethod(MessageEndpointHandler.java:1092)

at com.ibm.ejs.container.MessageEndpointHandler.invoke(MessageEndpointHandler.java:777)

at $Proxy97.onMessage(Unknown Source)

at com.ibm.ws.sib.api.jmsra.impl.JmsJcaEndpointInvokerImpl.invokeEndpoint(JmsJcaEndpointInvokerImpl.java:233)

at com.ibm.ws.sib.ra.inbound.impl.SibRaDispatcher.dispatch(SibRaDispatcher.java:900)

at com.ibm.ws.sib.ra.inbound.impl.SibRaSingleProcessListener$SibRaWork.run(SibRaSingleProcessListener.java:550)

at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:399)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)

 

Reply to this message by going to Community

Start a new discussion in jBPM at Community