aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-07-02 10:10:27 +0200
committerDavid Gageot <david@gageot.net>2012-07-03 10:57:02 +0200
commit25e954167dc467546cc555e78b607423afbaaa48 (patch)
treea764e082f2b79a1178ddade993d6090aa82c50f1 /sonar-application/src
parentc8e75f24ad4cecedc7227cbda85e8989487aff28 (diff)
downloadsonarqube-25e954167dc467546cc555e78b607423afbaaa48.tar.gz
sonarqube-25e954167dc467546cc555e78b607423afbaaa48.zip
Replacing Derby with H2
Diffstat (limited to 'sonar-application/src')
-rw-r--r--sonar-application/src/main/assembly/conf/sonar.properties17
1 files changed, 7 insertions, 10 deletions
diff --git a/sonar-application/src/main/assembly/conf/sonar.properties b/sonar-application/src/main/assembly/conf/sonar.properties
index 9bf7f10b465..e48cda0d6d5 100644
--- a/sonar-application/src/main/assembly/conf/sonar.properties
+++ b/sonar-application/src/main/assembly/conf/sonar.properties
@@ -26,7 +26,7 @@
#-----------------------------------------------------------------------
# DATABASE
#
-# IMPORTANT : the embedded database Derby is used by default.
+# IMPORTANT : the embedded database H2 is used by default.
# It is recommended for tests only. Please use an external database
# for production environment (MySQL, Oracle, Postgresql, SQLServer)
#
@@ -38,22 +38,19 @@
sonar.jdbc.username: sonar
sonar.jdbc.password: sonar
-#----- Embedded database Derby
+#----- Embedded database H2
# Note : it does not accept connections from remote hosts, so the
# sonar server and the maven plugin must be executed on the same host.
# Comment the following line to deactivate the default embedded database.
-sonar.jdbc.url: jdbc:derby://localhost:1527/sonar;create=true
-#sonar.jdbc.driverClassName: org.apache.derby.jdbc.ClientDriver
+sonar.jdbc.url: jdbc:h2:tcp://localhost:9092/sonar
+#sonar.jdbc.driverClassName: org.h2.Driver
#sonar.jdbc.validationQuery: values(1)
-# directory containing Derby database files. By default it's the /data directory in the sonar installation.
+# directory containing H2 database files. By default it's the /data directory in the sonar installation.
#sonar.embeddedDatabase.dataDir:
-# derby embedded database server listening port, defaults to 1527
-#sonar.derby.drda.portNumber: 1527
-
-# uncomment to accept connections from remote hosts. Ba default it only accepts localhost connections.
-#sonar.derby.drda.host: 0.0.0.0
+# H2 embedded database server listening port, defaults to 9092
+#sonar.embeddedDatabase.port: 9092
#----- MySQL 5.x/6.x