From 25e954167dc467546cc555e78b607423afbaaa48 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Mon, 2 Jul 2012 10:10:27 +0200 Subject: Replacing Derby with H2 --- .../src/main/assembly/conf/sonar.properties | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'sonar-application/src') 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 -- cgit v1.2.3