[
http://jira.jboss.com/jira/browse/JBESB-1236?page=comments#action_12384594 ]
Kevin Conner commented on JBESB-1236:
-------------------------------------
This is Tom's reply.
"after serialization and deserialization, a process instance is not auto-connectable
to hibernate session.
serialize the token.getId() or processInstance.getId(). on the other end, load the
process instance or token in another JbpmContext block."
bpm_orchestration4 - LazyInitializationException
------------------------------------------------
Key: JBESB-1236
URL:
http://jira.jboss.com/jira/browse/JBESB-1236
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2.1
Reporter: Jaroslaw Kijanowski
Assigned To: Kevin Conner
I clicked on "Save & close" in the jbpm console and after the Discount
Services finished I got:
12:45:51,012 INFO [STDOUT] ************ END ORDER DISCOUNT FIXER ************
12:45:51,148 WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.TaskNode -
this operation breaks ==
12:45:51,332 ERROR [LazyInitializationException] could not initialize proxy - no Session
org.hibernate.LazyInitializationException: could not initialize proxy - no Session
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira