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

Bug 312120

Summary: Let the org.eclipse.emf.cdo.server.app application be run on any thread
Product: [Modeling] EMF Reporter: Michal Tkacz <Michal.Tkacz>
Component: cdo.coreAssignee: Eike Stepper <stepper>
Status: CLOSED FIXED QA Contact: Eike Stepper <stepper>
Severity: enhancement    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch that lets the application be run on any thread none

Description Michal Tkacz CLA 2010-05-07 15:48:30 EDT
Build Identifier: 

Definition of org.eclipse.emf.cdo.server.app extension requires that the CDOServerApplication is run on the main thread. In some circumstances, e.g. when the CDO server is deployed inside servlet container with servletbridge, this is not feasible. Possibly it is not necessary either (to be checked).

Reproducible: Always
Comment 1 Michal Tkacz CLA 2010-05-07 15:53:01 EDT
Created attachment 167557 [details]
Patch that lets the application be run on any thread

Following discussion on eclipse.tools.emf I'm attaching a patch. It works against both HEAD and R2_0_maintenance branch.
Comment 2 Eike Stepper CLA 2010-05-09 06:34:12 EDT
There doesn't seem to be any negative impact on existing setups.
Comment 3 Eike Stepper CLA 2010-05-09 06:34:46 EDT
Committed to HEAD
Comment 4 Eike Stepper CLA 2010-06-29 04:40:43 EDT
Available in 3.0 GA:
http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/