Skip to content

Commit 1aff21a

Browse files
committed
Avoid opening TCP port while migrating metastore
1 parent 2237199 commit 1aff21a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

geowebcache/core/src/main/java/org/geowebcache/storage/MetastoreRemover.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,7 @@ private File getDefaultH2Path(File root) {
315315
private String getDefaultJDBCURL(File root) {
316316
String path = root.getPath() + File.separator + "meta_jdbc_h2";
317317
String jdbcString =
318-
"jdbc:h2:file:"
319-
+ path
320-
+ File.separator
321-
+ "gwc_metastore"
322-
+ ";TRACE_LEVEL_FILE=0;AUTO_SERVER=TRUE";
318+
"jdbc:h2:file:" + path + File.separator + "gwc_metastore" + ";TRACE_LEVEL_FILE=0";
323319
return jdbcString;
324320
}
325321
}

0 commit comments

Comments
 (0)