Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » CDO as running a server from a java class
CDO as running a server from a java class [message #1230421] Sun, 12 January 2014 00:11 Go to next message
oscar salazar is currently offline oscar salazarFriend
Messages: 7
Registered: December 2013
Junior Member
hello ...
I would like to know how I can run a CDO server from a java class which would treat so call and run the server.

I try to run the class and get this error:

[WARN] Detected crash of repository repo_library

!ENTRY org.eclipse.emf.cdo.server.db 2 0 2014-01-11 19:41:13.338
!MESSAGE Detected crash of repository repo_library
[INFO] Repaired crash of repository repo_library: lastObjectID=OID1, nextLocalObjectID=OID9223372036854775807, lastBranchID=0, lastCommitTime=1.389.483.054.970, lastNonLocalCommitTime=1.389.483.054.970

!ENTRY org.eclipse.emf.cdo.server.db 1 0 2014-01-11 19:41:13.418
!MESSAGE Repaired crash of repository repo_library: lastObjectID=OID1, nextLocalObjectID=OID9223372036854775807, lastBranchID=0, lastCommitTime=1.389.483.054.970, lastNonLocalCommitTime=1.389.483.054.970

[Updated on: Sun, 12 January 2014 00:43]

Report message to a moderator

Re: CDO as running a server from a java class [message #1234742 is a reply to message #1230421] Wed, 22 January 2014 18:01 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6444
Registered: July 2009
Senior Member
Am 12.01.2014 01:11, schrieb oscar salazar:
> hello ...
> I would like to know how I can run a CDO server from a java class which would treat so call and run the server.
Here's some example code that may help:
http://git.eclipse.org/c/cdo/cdo.git/tree/plugins/org.eclipse.emf.cdo.examples.server/src/org/eclipse/emf/cdo/examples/server

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Dynamic EMF with EditingDomain
Next Topic:[CDO] Procedure for shutting down CDO when running in Tomcat
Goto Forum:
  


Current Time: Thu Sep 19 00:51:58 GMT 2019

Powered by FUDForum. Page generated in 0.02268 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top