diff --git a/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/PayaraHazelcastTenantFactory.java b/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/PayaraHazelcastTenantFactory.java index 1229aef56a5..65710164c3b 100644 --- a/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/PayaraHazelcastTenantFactory.java +++ b/nucleus/payara-modules/hazelcast-bootstrap/src/main/java/fish/payara/nucleus/hazelcast/PayaraHazelcastTenantFactory.java @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright (c) [2016-2020] Payara Foundation and/or its affiliates. All rights reserved. + * Copyright (c) [2016-2021] 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 @@ -57,7 +57,8 @@ public class PayaraHazelcastTenantFactory implements TenantControlFactory { private final JavaEEContextUtil ctxUtil = Globals.getDefaultHabitat().getService(JavaEEContextUtil.class); private final InvocationManager invocationMgr = Globals.getDefaultHabitat().getService(InvocationManager.class); - static boolean blockingDisabled = Boolean.getBoolean(DISABLE_BLOCKING_PROPERTY); + static boolean blockingDisabled = Boolean.parseBoolean(System.getProperty(DISABLE_BLOCKING_PROPERTY, + Boolean.TRUE.toString())); @Override public TenantControl saveCurrentTenant() {