IDEMPIERE-3653 Hazelcast improvements / synchronize with latest default xml - fix warning about wrong schema in hazelcast.xml

This commit is contained in:
Carlos Ruiz 2018-12-23 19:01:27 +01:00
parent b74ed53357
commit a9eb122e3a
2 changed files with 20 additions and 13 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
~ Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved. ~ Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
~ ~
~ Licensed under the Apache License, Version 2.0 (the "License"); ~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License. ~ you may not use this file except in compliance with the License.
@ -17,18 +17,19 @@
<!-- <!--
The default Hazelcast configuration. This is used when no hazelcast.xml is present. The default Hazelcast configuration. This is used when no hazelcast.xml is present.
Please see the schema for how to configure Hazelcast at https://hazelcast.com/schema/config/hazelcast-config-3.9.xsd Please see the schema for how to configure Hazelcast at https://hazelcast.com/schema/config/hazelcast-config-3.10.xsd
or the documentation at https://hazelcast.org/documentation/ or the documentation at https://hazelcast.org/documentation/
--> -->
<!--suppress XmlDefaultAttributeValue --> <!--suppress XmlDefaultAttributeValue -->
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.9.xsd" <hazelcast xmlns="http://www.hazelcast.com/schema/config"
xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xsi:schemaLocation="http://www.hazelcast.com/schema/config
http://www.hazelcast.com/schema/config/hazelcast-config-3.10.xsd">
<group> <group>
<name>@ADEMPIERE_DB_USER@.@ADEMPIERE_DB_NAME@/@ADEMPIERE_DB_SERVER@</name> <name>@ADEMPIERE_DB_USER@.@ADEMPIERE_DB_NAME@/@ADEMPIERE_DB_SERVER@</name>
<password>@ADEMPIERE_DB_PASSWORD@</password> <password>@ADEMPIERE_DB_PASSWORD@</password>
</group> </group>
<management-center enabled="false">http://localhost:8080/mancenter</management-center> <management-center enabled="false">http://localhost:8080/hazelcast-mancenter</management-center>
<properties> <properties>
<property name="hazelcast.discovery.enabled">false</property> <property name="hazelcast.discovery.enabled">false</property>
</properties> </properties>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
~ Copyright (c) 2008-2017, Hazelcast, Inc. All Rights Reserved. ~ Copyright (c) 2008-2018, Hazelcast, Inc. All Rights Reserved.
~ ~
~ Licensed under the Apache License, Version 2.0 (the "License"); ~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License. ~ you may not use this file except in compliance with the License.
@ -17,18 +17,19 @@
<!-- <!--
The default Hazelcast configuration. This is used when no hazelcast.xml is present. The default Hazelcast configuration. This is used when no hazelcast.xml is present.
Please see the schema for how to configure Hazelcast at https://hazelcast.com/schema/config/hazelcast-config-3.9.xsd Please see the schema for how to configure Hazelcast at https://hazelcast.com/schema/config/hazelcast-config-3.10.xsd
or the documentation at https://hazelcast.org/documentation/ or the documentation at https://hazelcast.org/documentation/
--> -->
<!--suppress XmlDefaultAttributeValue --> <!--suppress XmlDefaultAttributeValue -->
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.9.xsd" <hazelcast xmlns="http://www.hazelcast.com/schema/config"
xmlns="http://www.hazelcast.com/schema/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xsi:schemaLocation="http://www.hazelcast.com/schema/config
http://www.hazelcast.com/schema/config/hazelcast-config-3.10.xsd">
<group> <group>
<name>dev</name> <name>dev</name>
<password>dev-pass</password> <password>dev-pass</password>
</group> </group>
<management-center enabled="false">http://localhost:8080/mancenter</management-center> <management-center enabled="false">http://localhost:8080/hazelcast-mancenter</management-center>
<properties> <properties>
<property name="hazelcast.discovery.enabled">false</property> <property name="hazelcast.discovery.enabled">false</property>
</properties> </properties>
@ -42,7 +43,7 @@
<ports>0</ports> <ports>0</ports>
</outbound-ports> </outbound-ports>
<join> <join>
<multicast enabled="true"> <multicast enabled="false">
<multicast-group>224.2.2.3</multicast-group> <multicast-group>224.2.2.3</multicast-group>
<multicast-port>54327</multicast-port> <multicast-port>54327</multicast-port>
</multicast> </multicast>
@ -211,6 +212,11 @@
--> -->
<cache-deserialized-values>INDEX-ONLY</cache-deserialized-values> <cache-deserialized-values>INDEX-ONLY</cache-deserialized-values>
<near-cache name="localNearCache">
<in-memory-format>OBJECT</in-memory-format>
<cache-local-entries>true</cache-local-entries>
</near-cache>
</map> </map>
<!-- <!--