This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git commit 799b1c473ac19abb1597f02610c1882efe1626bc Author: Tony CHEMIT <chemit@codelutin.com> Date: Tue Aug 23 18:57:56 2016 +0200 Ajout d'un FIXME qu'il faudrait mieux gérer --- .../fr/ird/observe/services/service/DataSourceServiceTopia.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/observe-services-topia/src/main/java/fr/ird/observe/services/service/DataSourceServiceTopia.java b/observe-services-topia/src/main/java/fr/ird/observe/services/service/DataSourceServiceTopia.java index 46c08ce..39a989c 100644 --- a/observe-services-topia/src/main/java/fr/ird/observe/services/service/DataSourceServiceTopia.java +++ b/observe-services-topia/src/main/java/fr/ird/observe/services/service/DataSourceServiceTopia.java @@ -110,7 +110,11 @@ public class DataSourceServiceTopia extends ObserveServiceTopia implements DataS if (databaseLockFile.exists()) { String message = l(getApplicationLocale(), "observe.services.topia.error.h2.database.locked"); - throw new DatabaseConnexionNotAuthorizedException(message, dataSourceConfiguration); + if (log.isWarnEnabled()) { + log.warn(message); + } + // FIXME even if file is lock we still authorize to connect, + //throw new DatabaseConnexionNotAuthorizedException(message, dataSourceConfiguration); } // On tente une connection à la base -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.