If I try to close the JbpmSession and create a new one in the middle of a
process running, it pukes (as expected):
ERROR 1208:1345 zationException : failed to lazily initialize a
collection of role: org.jbpm.graph.exe.Token.children - no session or session
was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a
collection of role: org.jbpm.graph.exe.Token.children - no session or session
was closed
at
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:191)
at
org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:183)
at
org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:48)
at org.hibernate.collection.PersistentMap.keySet(PersistentMap.java:165)
... on and on ...
This is a problem. I can't stop a process at join and signal the token later.
Joins shouldn't be signalled.
I don't see a way out of this situation.
I am starting to feel that jBPM is not capable of handling asychronous work on
a single process instance.
I need a way to reload the tokens so that this question in the Join class
answers correctly: concurrentToken.isAbleToReactivateParent()
Sean
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911552#3911552
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911552
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user