From d8b08fe8124866b692e7b886ae3f133a4cbb5dc4 Mon Sep 17 00:00:00 2001 From: Tara Drwenski Date: Mon, 22 Jan 2024 15:30:10 -0700 Subject: [PATCH] EpsgDatabasePath should not be a URI and add log info --- tds/src/main/java/thredds/server/config/TdsInit.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tds/src/main/java/thredds/server/config/TdsInit.java b/tds/src/main/java/thredds/server/config/TdsInit.java index 5fb007afa4..dfba33dd63 100644 --- a/tds/src/main/java/thredds/server/config/TdsInit.java +++ b/tds/src/main/java/thredds/server/config/TdsInit.java @@ -149,8 +149,8 @@ public void onApplicationEvent(ContextRefreshedEvent event) { configCatalogInitializer.init(readMode, (PreferencesExt) mainPrefs.node("configCatalog")); // set epsg database location for edal-java (comes from apache-sis) - EpsgDatabasePath.DB_PATH = - (new File(tdsContext.getThreddsDirectory(), "/cache/edal-java/epsg/").toURI().toString()); + EpsgDatabasePath.DB_PATH = (new File(tdsContext.getThreddsDirectory(), "/cache/edal-java/epsg/").getPath()); + startupLog.info("EPSG database path: " + EpsgDatabasePath.DB_PATH); startupLog.info("TdsInit complete"); } }