Hi there,
we use JMS/MDB instead of the scheduler servlet. After creating a new process instance and
if the first process step is asynchronous, a
org.hibernate.ObjectNotFoundException: No row with the given identifier exists:
[org.jbpm.graph.exe.Token#677214]
at
org.hibernate.ObjectNotFoundException.throwIfNull(ObjectNotFoundException.java:27)
at
org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:65)
at
org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:133)
at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$85898e65.getProcessInstance()
at org.jbpm.command.MessageWrapper.toString(MessageWrapper.java:65)
at java.lang.String.valueOf(String.java:2131)
at java.lang.StringBuffer.append(StringBuffer.java:370)
at
de.tonline.ccms.msg.mdb.JbpmMessageListener.onMessage(JbpmMessageListener.java:62)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:370)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:262)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2678)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2598)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
occurs. As work- around, we added a sleep of 10 secs in JbpmMessageListener onMessage.
Is there a better solution avaliable for this issue?
Thanks
Heiko
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044901#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...