commit | 7cb419c89dfa8f6fa15bdeb9dc53ae6601e9737f | [log] [tgz] |
---|---|---|
author | margaretha <margaretha@ids-mannheim.de> | Wed Sep 18 09:31:18 2024 +0200 |
committer | margaretha <margaretha@ids-mannheim.de> | Wed Sep 18 09:31:18 2024 +0200 |
tree | ded8245983b9dceeb69d13da747e210684926598 | |
parent | 4f2b0c3411b9ff4654684f49424763fcf75e5e90 [diff] |
Change default port to 8089 Change-Id: Ie0108112b5f8edc9e07c386a8bc3f69c12832607
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 0482d7e..cb1cde5 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 () {} 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 eb09557..269adb6 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 @@ server.setConnectors(new Connector[] { connector }); try { + log.info("Starting server on port" + kargs.port); server.start(); server.join(); }