From 1aff21a5ba1506a236325c1975d7bad048d00db2 Mon Sep 17 00:00:00 2001 From: Andrea Aime Date: Tue, 20 Apr 2021 09:47:58 +0200 Subject: [PATCH] Avoid opening TCP port while migrating metastore --- .../main/java/org/geowebcache/storage/MetastoreRemover.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/geowebcache/core/src/main/java/org/geowebcache/storage/MetastoreRemover.java b/geowebcache/core/src/main/java/org/geowebcache/storage/MetastoreRemover.java index 92d30c088..da0aeb63f 100644 --- a/geowebcache/core/src/main/java/org/geowebcache/storage/MetastoreRemover.java +++ b/geowebcache/core/src/main/java/org/geowebcache/storage/MetastoreRemover.java @@ -315,11 +315,7 @@ private File getDefaultH2Path(File root) { private String getDefaultJDBCURL(File root) { String path = root.getPath() + File.separator + "meta_jdbc_h2"; String jdbcString = - "jdbc:h2:file:" - + path - + File.separator - + "gwc_metastore" - + ";TRACE_LEVEL_FILE=0;AUTO_SERVER=TRUE"; + "jdbc:h2:file:" + path + File.separator + "gwc_metastore" + ";TRACE_LEVEL_FILE=0"; return jdbcString; } }