Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Setting up a CDO Server"

(Install all CDO bundles)
Line 7: Line 7:
 
Install all CDO features and bundles and dependencies listed on the [http://wiki.eclipse.org/CDO_Project_Resources#Downloads resources] page in the CDO wiki.<br>
 
Install all CDO features and bundles and dependencies listed on the [http://wiki.eclipse.org/CDO_Project_Resources#Downloads resources] page in the CDO wiki.<br>
 
You may either download [http://www.eclipse.org/modeling/emf/downloads/index.php?project=cdo&showAll=0&showMax=5 zips ] or direct your update manager to the [http://www.eclipse.org/modeling/emf/updates/ EMF update site] to install these bundles and features.
 
You may either download [http://www.eclipse.org/modeling/emf/downloads/index.php?project=cdo&showAll=0&showMax=5 zips ] or direct your update manager to the [http://www.eclipse.org/modeling/emf/updates/ EMF update site] to install these bundles and features.
 +
 +
== Checkout org.eclipse.emf.cdo.server.product ==
 +
Checkout the whole [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/ org.eclipse.emf.cdo.server.product feature]. You may use the [org.eclipse.emf.cdo.server.product.psf team project set file] or do it manually:
 +
 +
[[Image:cvs-org.eclipse.emf.cdo.server.product.png]]
  
 
== Configure your server ==
 
== Configure your server ==
  
An examplary [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/rootfiles/configuration/cdo-server.xml?root=Modeling_Project&view=markup server setup] and a [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/CDOServer.product?logsort=date&root=Modeling_Project&view=markup launch configuration] are availbale in the cvs.  
+
An examplary [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/rootfiles/configuration/cdo-server.xml?root=Modeling_Project&view=markup server configration] is included in the feature you now have in your workspace.<br>
You may download the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/rootfiles/configuration/cdo-server.xml?root=Modeling_Project&view=co cdo-server.xml] to a '''configuration''' folder in your '''home-directory''':
+
Change at least the location for the db files:
 +
<br><br>
 +
[[Image:change-db-file-cdo-server-xml.png]]
 +
 
 +
In the next step you have to copy it to a '''configuration''' folder in your '''home-directory''':
 
   
 
   
 
  linux:  '''/home/yoda/configuration/cdo-server.xml''' or
 
  linux:  '''/home/yoda/configuration/cdo-server.xml''' or
 
   
 
   
 
  windows: '''C:\Documents and Settings\Yoda\configuration\cdo-server.xml'''
 
  windows: '''C:\Documents and Settings\Yoda\configuration\cdo-server.xml'''
 
 
You'll then have to edit '''cdo-server.xml''' to your own needs by changing the path where derby stores its files:
 
 
[[Image:change-db-file-cdo-server-xml.png]]
 
  
 
== Launch your server ==
 
== Launch your server ==
  
To launch the server you may use the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/CDOServer.product?logsort=date&root=Modeling_Project&view=markup launch configuration] held in the server product feature. [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/CDOServer.product?root=Modeling_Project&view=co Download] it and import it to your eclipse instance
+
To launch the server you may use the [http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.emf/org.eclipse.emf.cdo/features/org.eclipse.emf.cdo.server.product/CDOServer.product?logsort=date&root=Modeling_Project&view=markup launch configuration] held in the server product feature.  
 
+
[[Image:import-launch-configuration.png]]
+
 
+
== Checkout org.eclipse.emf.cdo.server.product ==
+
 
+
Alternatively you may checkout the whole feature. You may use the [org.eclipse.emf.cdo.server.product.psf team project set file] or do it manually:
+
 
+
[[Image:cvs-org.eclipse.emf.cdo.server.product.png]]
+
  
 
----
 
----
 
Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]]
 
Wikis: [[CDO]] | [[Net4j]] | [[EMF]] | [[Eclipse]]

Revision as of 11:14, 24 July 2008

Quickstart

In this section you'll be told how get a running server quickly. Most likely there are setups that fit your needs better. This sections tries to get you up and running as quickly as possible.

Install all CDO bundles

Install all CDO features and bundles and dependencies listed on the resources page in the CDO wiki.
You may either download zips or direct your update manager to the EMF update site to install these bundles and features.

Checkout org.eclipse.emf.cdo.server.product

Checkout the whole org.eclipse.emf.cdo.server.product feature. You may use the [org.eclipse.emf.cdo.server.product.psf team project set file] or do it manually:

Cvs-org.eclipse.emf.cdo.server.product.png

Configure your server

An examplary server configration is included in the feature you now have in your workspace.
Change at least the location for the db files:

Change-db-file-cdo-server-xml.png

In the next step you have to copy it to a configuration folder in your home-directory:

linux:   /home/yoda/configuration/cdo-server.xml or

windows: C:\Documents and Settings\Yoda\configuration\cdo-server.xml

Launch your server

To launch the server you may use the launch configuration held in the server product feature.


Wikis: CDO | Net4j | EMF | Eclipse

Back to the top