[jboss-user] [JBoss jBPM] - Re: How Continue Process Execution Using Java (Without the j

Fornachari do-not-reply at jboss.com
Mon Jun 9 16:44:25 EDT 2008


Sorry, sorry..
I am working so hard here that I forget the error. When I execute the code of my last post, I receive this error:


  | org.hibernate.exception.JDBCConnectionException: could not load an entity: [org.jbpm.graph.exe.Token#8]
  | 	at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:74)
  | 	at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | 	at org.hibernate.loader.Loader.loadEntity(Loader.java:1874)
  | 	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
  | 	at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
  | 	at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3042)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
  | 	at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:98)
  | 	at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
  | 	at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:836)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:66)
  | 	at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111)
  | 	at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150)
  | 	at org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$f23ef6ca.hashCode(<generated>)
  | 	at java.util.HashMap.put(Unknown Source)
  | 	at org.hibernate.collection.PersistentMap.readFrom(PersistentMap.java:259)
  | 	at org.hibernate.loader.Loader.readCollectionElement(Loader.java:1008)
  | 	at org.hibernate.loader.Loader.readCollectionElements(Loader.java:646)
  | 	at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:591)
  | 	at org.hibernate.loader.Loader.doQuery(Loader.java:701)
  | 	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | 	at org.hibernate.loader.Loader.loadCollection(Loader.java:1994)
  | 	at org.hibernate.loader.collection.CollectionLoader.initialize(CollectionLoader.java:36)
  | 	at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:565)
  | 	at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
  | 	at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1716)
  | 	at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:344)
  | 	at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
  | 	at org.hibernate.collection.AbstractPersistentCollection.readIndexExistence(AbstractPersistentCollection.java:125)
  | 	at org.hibernate.collection.PersistentMap.containsKey(PersistentMap.java:128)
  | 	at org.jbpm.context.exe.ContextInstance.getTokenVariableMap(ContextInstance.java:363)
  | 	at org.jbpm.context.exe.ContextInstance.getVariable(ContextInstance.java:166)
  | 	at org.jbpm.context.exe.ContextInstance.getVariable(ContextInstance.java:156)
  | 	at ContinuarExecucao.main(ContinuarExecucao.java:74)
  | Caused by: java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Can't start a cloned connection while in manual transaction mode.
  | 	at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
  | 	at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
  | 	at com.microsoft.jdbc.base.BaseConnection.getImplConnection(Unknown Source)
  | 	at com.microsoft.jdbc.base.BaseStatement.setupImplConnection(Unknown Source)
  | 	at com.microsoft.jdbc.base.BaseStatement.<init>(Unknown Source)
  | 	at com.microsoft.jdbc.base.BasePreparedStatement.<init>(Unknown Source)
  | 	at com.microsoft.jdbc.base.BaseConnection.prepareStatement(Unknown Source)
  | 	at com.microsoft.jdbc.base.BaseConnection.prepareStatement(Unknown Source)
  | 	at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)
  | 	at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)
  | 	at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | 	at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
  | 	at org.hibernate.loader.Loader.doQuery(Loader.java:673)
  | 	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | 	at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
  | 	... 33 more
  | ----------------------------> ERROR: could not load an entity: [org.jbpm.graph.exe.Token#8]
  | 

Any help would be appreciate!
Thank you again!

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

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



More information about the jboss-user mailing list