Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312632

Summary: Local repository was not gracefully shut down
Product: [Modeling] EMF Reporter: Erwin Betschart <erwin>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: normal    
Priority: P3 CC: cyril.jaquier
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard: offline-06
Attachments:
Description Flags
Patch for future reference none

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/