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

Bug 434885

Summary: [server] startup failure needs to be improved when starting with legacy metadata
Product: [ECD] Orion Reporter: Anthony Hunter <ahunter.eclipse>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 6.0   
Target Milestone: 6.0 M2   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Anthony Hunter CLA 2014-05-14 13:05:27 EDT
With the ongoing work in Bug 434155 we have removed support for the legacy metadata storage.

When the server detects on an "old" server workspace using this legacy metadata, it now executes:

throw new RuntimeException("Cannot initialize MetaStore - old metadata must be upgraded!");

This results in a massive exception chain and while the server correctly does not start, it is very difficult for the user to know what just happened.

The server should fail to start with the one line message:
Preference orion.core.metastore was not supplied and legacy files exist, see https://wiki.eclipse.org/Orion/Metadata_migration to migrate to the current version
Comment 1 Anthony Hunter CLA 2014-05-28 15:16:42 EDT
This issue has been resolved with commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=740738408ad3aa502e4b0438f8e199ad12ffab3e