Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335666 - Jubula termination when using h2-database sometimes lead to multiple exceptions during shutdown process
Summary: Jubula termination when using h2-database sometimes lead to multiple exceptio...
Status: CLOSED FIXED
Alias: None
Product: Jubula
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Zeb Ford-Reitz CLA
QA Contact: Tim Winselmann CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-28 04:58 EST by Markus Tiede CLA
Modified: 2011-03-14 10:12 EDT (History)
1 user (show)

See Also:


Attachments
H2 database shutdown exceptions (9.01 KB, text/plain)
2011-01-28 04:59 EST, Markus Tiede CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Tiede CLA 2011-01-28 04:58:16 EST
The termination of Jubula sometimes lead to multiple exceptions during shutdown process when using the h2-database (see the attached logs for further details).
Comment 1 Markus Tiede CLA 2011-01-28 04:59:03 EST
Created attachment 187819 [details]
H2 database shutdown exceptions
Comment 2 Achim Loerke CLA 2011-03-08 04:23:57 EST
Check for a racing condition between bundle stop and app shutdown.
Comment 3 Zeb Ford-Reitz CLA 2011-03-09 08:16:15 EST
fixed with http://git.eclipse.org/c/jubula/org.eclipse.jubula.core.git/commit/?id=d156e1b30a4191c05540f62c99176b634f6c5d56

H2's "CLOSE_ON_EXIT" shutdown hook was consistently winning out over Jubula's "Close Session Factory" shutdown hook, so we now make use of H2's "DB_CLOSE_ON_EXIT=FALSE" option in order to prevent the racing condition.
Comment 4 Markus Tiede CLA 2011-03-14 10:12:35 EDT
Log files do not contain any shutdown problems with the h2-db any more.