Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] How to run a CDO Server continously (incl. a Hibernate store)
[CDO] How to run a CDO Server continously (incl. a Hibernate store) [message #710694] Fri, 05 August 2011 10:07 Go to next message
Goetz Botterweck is currently offline Goetz BotterweckFriend
Messages: 71
Registered: July 2009
Member
Hi,

I am looking for a solution to run CDO with the Hibernate Store on a server.

Currently, what I do is login to the server machine, execute Eclipse and
launch the *.launch configuration provided in the project
org.eclipse.emf.cdo.examples.hibernate.server

Is there a better way to do this, for a server that should be
continously up and running?


I noted that
http://www.eclipse.org/cdo/downloads/
now contains CDO Server executables as announced here
news://news.eclipse.org:119/ivet3t$l9o$1@news.eclipse.org
by Eike.

Would these work with the Hibernate store?

I assume that I would have to add the Hibernate store on source level
and then recompile the CDO Server executable (?)

Thanks,
Goetz
Re: [CDO] How to run a CDO Server continously (incl. a Hibernate store) [message #710755 is a reply to message #710694] Fri, 05 August 2011 11:02 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 05.08.2011 12:07, schrieb Goetz Botterweck:
> Hi,
>
> I am looking for a solution to run CDO with the Hibernate Store on a server.
>
> Currently, what I do is login to the server machine, execute Eclipse and
> launch the *.launch configuration provided in the project
> org.eclipse.emf.cdo.examples.hibernate.server
>
> Is there a better way to do this, for a server that should be
> continously up and running?
>
>
> I noted that
> http://www.eclipse.org/cdo/downloads/
> now contains CDO Server executables as announced here
> news://news.eclipse.org:119/ivet3t$l9o$1@news.eclipse.org
> by Eike.
>
> Would these work with the Hibernate store?
Definitely.

> I assume that I would have to add the Hibernate store on source level
> and then recompile the CDO Server executable (?)
I suggest you checkout the features/org.eclipse.emf.cdo.server.product and plugins/org.eclipse.emf.cdo.server.product.
There you find the server product definition and the server config file. Adjust them to use HibernateStore and export
the product.

Does that work for you?

Cheers
/Eike

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


Re: [CDO] How to run a CDO Server continously (incl. a Hibernate store) [message #710887 is a reply to message #710694] Fri, 05 August 2011 13:55 Go to previous message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Hi Goetz,

We have the exact same setup. What I do is create a build of the server
which contains all the plugins from CDO server side and Hibernate /
teneo plugins.

The build can be created by having a server .product and include all the
plugins as features into the .product. From this I can generate an
executable (In our case it's Solaris). (You could also create a build
using a build management system like Hudson).

The executable is then used as a service using the solaris service
management.

http://www.fujitsu.com/global/services/computing/server/sparcenterprise/products/software/solaris10/self-healing/ssm/


Of course we also have a DB (postgres) which also runs a Solaris service.

Cheers Christophe


On 05-08-11 12:07, Goetz Botterweck wrote:
> Hi,
>
> I am looking for a solution to run CDO with the Hibernate Store on a server.
>
> Currently, what I do is login to the server machine, execute Eclipse and
> launch the *.launch configuration provided in the project
> org.eclipse.emf.cdo.examples.hibernate.server
>
> Is there a better way to do this, for a server that should be
> continously up and running?
>
>
> I noted that
> http://www.eclipse.org/cdo/downloads/
> now contains CDO Server executables as announced here
> news://news.eclipse.org:119/ivet3t$l9o$1@news.eclipse.org
> by Eike.
>
> Would these work with the Hibernate store?
>
> I assume that I would have to add the Hibernate store on source level
> and then recompile the CDO Server executable (?)
>
> Thanks,
> Goetz
Previous Topic:loading a list of options for an EAttribute in emf.editor
Next Topic:[Databinding] ObservableMapLabelProvider and multi value changes
Goto Forum:
  


Current Time: Sat Apr 20 03:57:39 GMT 2024

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

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

Back to the top