Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312632 - Local repository was not gracefully shut down
Summary: Local repository was not gracefully shut down
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 3.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard: offline-06
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 10:27 EDT by Erwin Betschart CLA
Modified: 2010-06-29 09:23 EDT (History)
1 user (show)

See Also:


Attachments
Patch for future reference (11.53 KB, patch)
2010-06-13 02:31 EDT, Eike Stepper CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erwin Betschart CLA 2010-05-12 10:27:08 EDT
Build Identifier: 3.0

In case an application with a synchronizable repository crashes or does not shutdown properly the repository is not usable anymore.
During the next start the following exception is shown:

java.lang.IllegalStateException: Local repository was not gracefully shut down
	at org.eclipse.emf.cdo.internal.server.syncing.SynchronizableRepository.doActivate(SynchronizableRepository.java:248)
	at org.eclipse.net4j.util.lifecycle.Lifecycle.activate(Lifecycle.java:70)
	at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:98)
	at org.eclipse.net4j.util.lifecycle.LifecycleUtil.activate(LifecycleUtil.java:88)
	at org.eclipse.emf.cdo.server.CDOServerUtil.addRepository(CDOServerUtil.java:128)

Reproducible: Always
Comment 1 Eike Stepper CLA 2010-06-13 02:31:22 EDT
Created attachment 171795 [details]
Patch for future reference
Comment 2 Eike Stepper CLA 2010-06-13 02:47:46 EDT
Committed to HEAD
Comment 3 Eike Stepper CLA 2010-06-29 04:36:36 EDT
Available in 3.0 GA:
http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/