[jboss-user] [JBoss jBPM] - Re: SOAP Fault Exception - BPEL ATM Example

KVAK_TNT do-not-reply at jboss.com
Mon Sep 4 04:28:05 EDT 2006


JUnit-Log:

  | org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.graph.exe.Token#192]
  |         at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:372)
  |         at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:79)
  |         at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:68)
  |         at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
  |         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:160)
  |         at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$1ac30be4.getProcessInstance(<generated>)
  |         at org.jbpm.JbpmContext.addAutoSaveToken(JbpmContext.java:470)
  |         at org.jbpm.JbpmContext.loadTokenForUpdate(JbpmContext.java:239)
  |         at org.jbpm.bpel.relation.jms.RequestListener.onMessage(RequestListener.java:92)
  |         at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
  |         at java.lang.Thread.run(Thread.java:595)
  | 10:14:48,868 ERROR [RequestListener] could not resume process execution
  | org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.graph.exe.Token#213]
  |         at org.hibernate.impl.SessionFactoryImpl$1.handleEntityNotFound(SessionFactoryImpl.java:372)
  |         at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:79)
  |         at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:68)
  |         at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
  |         at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:160)
  |         at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$1ac30be4.getProcessInstance(<generated>)
  |         at org.jbpm.JbpmContext.addAutoSaveToken(JbpmContext.java:470)
  |         at org.jbpm.JbpmContext.loadTokenForUpdate(JbpmContext.java:239)
  |         at org.jbpm.bpel.relation.jms.RequestListener.onMessage(RequestListener.java:92)
  |         at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
  |         at java.lang.Thread.run(Thread.java:595)
  | 10:15:43,602 ERROR [AbstractFlushingEventListener] Could not synchronize database state with session
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was incorrect): [org.jbpm.graph.e
  | xe.Token#232]
  |         at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1680)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2272)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2180)
  |         at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2450)
  |         at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:91)
  |         at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:248)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:232)
  |         at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
  |         at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:297)
  |         at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  |         at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:993)
  |         at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:340)
  |         at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  |         at org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:161)
  |         at org.jbpm.svc.Services.close(Services.java:211)
  |         at org.jbpm.JbpmContext.close(JbpmContext.java:141)
  |         at org.jbpm.bpel.relation.jms.RequestListener.onMessage(RequestListener.java:122)
  |         at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
  |         at java.lang.Thread.run(Thread.java:595)
  | 
In my environment none of the tests is functional without a sleep of at least 200ms. My JBOSS 4.0.4GA is running in a DOS-Box.
I use Eclipse as developmentenvironment and also tried to start JBOSS inside Eclipse - same effect.


Last point: I allways get the failure "[Fatal Error] :-1:-1: Premature end of file." when I disconnect / logoff. Do you know why?

So thanks in advance for your help!



P.S. Sorry for the bad postings, but the forum cuts of ...

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969171#3969171

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969171



More information about the jboss-user mailing list