From 7cb419c89dfa8f6fa15bdeb9dc53ae6601e9737f Mon Sep 17 00:00:00 2001 From: margaretha Date: Wed, 18 Sep 2024 09:31:18 +0200 Subject: [PATCH] Change default port to 8089 Change-Id: Ie0108112b5f8edc9e07c386a8bc3f69c12832607 --- .../de/ids_mannheim/korap/config/KustvaktConfiguration.java | 2 +- .../java/de/ids_mannheim/korap/server/KustvaktBaseServer.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/ids_mannheim/korap/config/KustvaktConfiguration.java b/src/main/java/de/ids_mannheim/korap/config/KustvaktConfiguration.java index 0482d7ee..cb1cde59 100644 --- a/src/main/java/de/ids_mannheim/korap/config/KustvaktConfiguration.java +++ b/src/main/java/de/ids_mannheim/korap/config/KustvaktConfiguration.java @@ -129,7 +129,7 @@ public KustvaktConfiguration (Properties properties) throws Exception { public KustvaktConfiguration () {} public void loadBasicProperties (Properties properties) { - port = Integer.valueOf(properties.getProperty("server.port", "8095")); + port = Integer.valueOf(properties.getProperty("server.port", "8089")); baseURL = properties.getProperty("kustvakt.base.url", "/api/*"); setSecureRandomAlgorithm( properties.getProperty("security.secure.random.algorithm", "")); diff --git a/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java b/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java index eb095571..269adb63 100644 --- a/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java +++ b/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java @@ -170,6 +170,7 @@ protected void start () server.setConnectors(new Connector[] { connector }); try { + log.info("Starting server on port" + kargs.port); server.start(); server.join(); }