From b616df166b73b7b628d0590d9657c21b5c308f90 Mon Sep 17 00:00:00 2001 From: Alfonso Altamirano Date: Thu, 9 Nov 2023 14:22:45 -0600 Subject: [PATCH] FISH-7959: fixing path to localize hazelcast configuration file --- .../src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java b/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java index 63fe4223a18..889b61e7805 100644 --- a/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java +++ b/appserver/extras/payara-micro/payara-micro-core/src/main/java/fish/payara/micro/impl/PayaraMicroImpl.java @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright (c) [2016-2022] Payara Foundation and/or its affiliates. All rights reserved. + * Copyright (c) [2016-2023] Payara Foundation and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development @@ -2045,7 +2045,7 @@ private void configureHazelcast() { } if (alternateHZConfigFile != null) { - preBootCommands.add(new BootCommand("set", "hazelcast-runtime-configuration.hazelcast-configuration-file=" + alternateHZConfigFile.getName())); + preBootCommands.add(new BootCommand("set", "hazelcast-runtime-configuration.hazelcast-configuration-file=" + alternateHZConfigFile.getPath())); } preBootCommands.add(new BootCommand("set", "configs.config.server-config.hazelcast-config-specific-configuration.lite=" + liteMember));