Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-03-20 07:26:33 +0000
committerEike Stepper2012-03-20 07:26:33 +0000
commitd5a7e6401cacf86c72a3b57ba9a7cf73a8f311ca (patch)
treec422f18bf9de66a65793c8cc5f0b8cc7576c3d01 /plugins/org.eclipse.emf.cdo.server.product
parent91e8f03da5490579758e70f554d5864eb5716fe9 (diff)
downloadcdo-d5a7e6401cacf86c72a3b57ba9a7cf73a8f311ca.tar.gz
cdo-d5a7e6401cacf86c72a3b57ba9a7cf73a8f311ca.tar.xz
cdo-d5a7e6401cacf86c72a3b57ba9a7cf73a8f311ca.zip
[367148] SSL launch config broken
https://bugs.eclipse.org/bugs/show_bug.cgi?id=367148
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.product')
-rw-r--r--plugins/org.eclipse.emf.cdo.server.product/config-ssl/cdo-server.xml114
1 files changed, 114 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.product/config-ssl/cdo-server.xml b/plugins/org.eclipse.emf.cdo.server.product/config-ssl/cdo-server.xml
new file mode 100644
index 0000000000..37e24110ee
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.server.product/config-ssl/cdo-server.xml
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<cdoServer>
+
+ <!-- ============================================================== -->
+ <!-- See http://wiki.eclipse.org/CDO/Server_Configuration_Reference -->
+ <!-- ============================================================== -->
+
+ <acceptor type="ssl" listenAddr="0.0.0.0" port="2036"/>
+
+ <repository name="repo1">
+
+ <property name="overrideUUID" value=""/>
+ <property name="supportingAudits" value="true"/>
+ <property name="supportingBranches" value="true"/>
+ <property name="supportingEcore" value="false"/>
+ <property name="ensureReferentialIntegrity" value="false"/>
+ <property name="allowInterruptRunningQueries" value="true"/>
+ <property name="idGenerationLocation" value="STORE"/> <!-- Possible values: STORE | CLIENT -->
+
+ <!-- Example (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=302775):
+ <userManager type="file" description="_database/repo1.users"/>
+ -->
+
+ <!-- Example (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=345835):
+ <userManager type="TestRepository" description="repo1"/>
+ -->
+
+ <!-- Example (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=345431):
+ <initialPackage nsURI="http://www.eclipse.org/emf/CDO/examples/company/1.0.0"/>
+ -->
+
+ <store type="db">
+
+ <!-- Period at which to execute an SQL statement to keep DB connection alive, in minutes -->
+ <property name="connectionKeepAlivePeriod" value="60"/>
+
+ <mappingStrategy type="horizontal"> <!-- callout -->
+ <property name="qualifiedNames" value="true"/>
+ <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
+ <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
+
+ <!--
+ Per default, the objectTypeCache is in-memory and contains
+ 100,000 cache entries. If you want to change the size,
+ uncomment the following line and set the desired size.
+ The cache can be disabled by setting a size of 0.
+ -->
+
+ <!-- Optional:
+ <property name="objectTypeCacheSize" value="100000" />
+ -->
+
+ </mappingStrategy>
+
+ <dbAdapter name="h2"/>
+ <dataSource class="org.h2.jdbcx.JdbcDataSource"
+ uRL="jdbc:h2:database/repo1"/>
+
+ <!-- Example:
+ <dbAdapter name="derby-embedded"/>
+ <dataSource class="org.apache.derby.jdbc.EmbeddedDataSource"
+ databaseName="/temp/repo1"
+ createDatabase="create"/>
+ -->
+
+ <!-- Example:
+ <dbAdapter name="hsqldb"/>
+ <dataSource class="org.eclipse.net4j.db.hsqldb.HSQLDBDataSource"
+ database="jdbc:hsqldb:mem:repo1"
+ user="sa"/>
+ -->
+
+ <!-- Example:
+ <dbAdapter name="mysql"/>
+ <dataSource class="com.mysql.jdbc.jdbc2.optional.MysqlDataSource"
+ url="jdbc:mysql://localhost/repo1"
+ user="sa"/>
+ -->
+
+ <!-- Example:
+ <dbAdapter name="postgresql"/>
+ <dataSource class="org.postgresql.ds.PGSimpleDataSource"
+ url="jdbc:postgresql://localhost:5432/repo1"
+ databaseName="repo1"
+ user="cdo"
+ password="cdo"/>
+ -->
+
+ </store>
+
+ <!-- ONLY THE FIRST CONFIGURED STORE IS USED FOR THE REPOSITORY!!! -->
+
+ <store type="mongodb">
+ <property name="uri" value="mongodb://localhost"/>
+ <property name="db" value="cdodb"/>
+ <!-- Optional:
+ <property name="drop" value="true"/>
+ -->
+ </store>
+
+ </repository>
+
+ <!-- Example of a DB4O repo/store:
+ <repository name="repo1">
+ <property name="supportingAudits" value="false"/>
+ <property name="supportingBranches" value="false"/>
+ <store type="db4o">
+ <property name="path" value="/tmp/cdodb4.db4o"/>
+ <property name="port" value="50032"/>
+ </store>
+ </repository>
+ -->
+
+</cdoServer>

Back to the top