[
http://jira.jboss.com/jira/browse/JBPM-1289?page=all ]
Alejandro Guizar resolved JBPM-1289.
------------------------------------
Resolution: Done
Request for reporters and watchers of this issue: because of the variety of scenarios
(e.g. Seam, Spring, Portal) where this issue has been detected, I am unable to determine
whether the solution described in JBPM-1130 actually applies to all environments. Please
build the product from source and let me know if this solution works and performs well in
your environment. See
http://jbpm.dyndns.org/jbpmwiki/index.php?title=JBPM3BuildingFromSource for instructions
on building from source.
'session is closed' error, when letting jbpm create an
hibernate session in a transactional environment
-------------------------------------------------------------------------------------------------------
Key: JBPM-1289
URL:
http://jira.jboss.com/jira/browse/JBPM-1289
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Core Engine
Affects Versions: jPDL 3.2.2
Reporter: Thomas Heute
Assigned To: Alejandro Guizar
The following scenario seems to fail:
1) Open a Tx
2) Open a jbpmSession
--> jbpm will create a new Hibernate session in DBPersistenceService, and mark it to
be close
3) do jbpm operation(s)
4) close the jbpm session
--> jbpm closes the Hibernate session
5) close the Tx
--> This will fail because of JobSession$DeleteJobsSynchronization which tries to
execute operations with the now closed Hibernate session
org.hibernate.SessionException: Session is closed!
at org.hibernate.impl.AbstractSessionImpl.errorIfClosed(AbstractSessionImpl.java:49)
at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1258)
at
org.jbpm.db.JobSession$DeleteJobsSynchronization.beforeCompletion(JobSession.java:190)
This is a major issue for jbpm upgrade in JBoss Portal
--
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