Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312120 - Let the org.eclipse.emf.cdo.server.app application be run on any thread
Summary: Let the org.eclipse.emf.cdo.server.app application be run on any thread
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eike Stepper CLA
QA Contact: Eike Stepper CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-07 15:48 EDT by Michal Tkacz CLA
Modified: 2010-06-29 09:22 EDT (History)
0 users

See Also:


Attachments
Patch that lets the application be run on any thread (714 bytes, patch)
2010-05-07 15:53 EDT, Michal Tkacz CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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/