diff --git a/org.adempiere.server-feature/hazelcast-template.xml b/org.adempiere.server-feature/hazelcast-template.xml
index f723b9dab6..a38d27f5c6 100644
--- a/org.adempiere.server-feature/hazelcast-template.xml
+++ b/org.adempiere.server-feature/hazelcast-template.xml
@@ -39,7 +39,7 @@
0
-
+
224.2.2.3
54327
diff --git a/org.adempiere.server-feature/server.product.launch b/org.adempiere.server-feature/server.product.launch
index 3a0b841fe0..f3b6932367 100644
--- a/org.adempiere.server-feature/server.product.launch
+++ b/org.adempiere.server-feature/server.product.launch
@@ -19,7 +19,7 @@
-
+
diff --git a/org.idempiere.hazelcast.service/src/org/idempiere/hazelcast/service/Activator.java b/org.idempiere.hazelcast.service/src/org/idempiere/hazelcast/service/Activator.java
index b644e7b80b..bef6450942 100644
--- a/org.idempiere.hazelcast.service/src/org/idempiere/hazelcast/service/Activator.java
+++ b/org.idempiere.hazelcast.service/src/org/idempiere/hazelcast/service/Activator.java
@@ -107,6 +107,17 @@ public class Activator implements BundleActivator {
} catch (Exception e) {}
}
}
+ //try hazelcast.config - to be consistent with hazelcast configuration documentation
+ if (file == null) {
+ dataArea = System.getProperty("hazelcast.config");
+ if (dataArea != null && dataArea.trim().length() > 0) {
+ try {
+ file = new File(dataArea);
+ if (!file.exists())
+ file = null;
+ } catch (Exception e) {}
+ }
+ }
if (file != null && file.exists()) {
try {
Config config = new FileSystemXmlConfig(file);