dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32528
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16600: only listen to 127.0.0.1 by default for hazelcast
------------------------------------------------------------
revno: 16600
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-09-01 20:08:32 +0700
message:
only listen to 127.0.0.1 by default for hazelcast
modified:
dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml 2014-05-11 12:02:11 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/resources/hazelcast.xml 2014-09-01 13:08:32 +0000
@@ -1,30 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
<hazelcast xsi:schemaLocation="http://www.hazelcast.com/schema/config hazelcast-config-3.2.xsd"
- xmlns="http://www.hazelcast.com/schema/config"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <!--
- <group>
- <name>dhis-hz-cluster</name>
- <password>dhis-hz-cluster</password>
- </group>
- <network>
- <port auto-increment="true" port-count="100">5701</port>
- <outbound-ports>
- <ports>0</ports>
- </outbound-ports>
- <join>
- <multicast enabled="false">
- <multicast-group>224.2.2.3</multicast-group>
- <multicast-port>54327</multicast-port>
- </multicast>
- <tcp-ip enabled="true">
- <member>127.0.0.1</member>
- </tcp-ip>
- </join>
- </network>
- -->
- <map name="default">
- <time-to-live-seconds>720</time-to-live-seconds>
- <max-size policy="PER_NODE">800000</max-size>
- <eviction-policy>LRU</eviction-policy>
- </map>
+ xmlns="http://www.hazelcast.com/schema/config"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <!--
+ <group>
+ <name>dhis-hz-cluster</name>
+ <password>dhis-hz-cluster</password>
+ </group>
+ <network>
+ <port auto-increment="true" port-count="100">5701</port>
+ <outbound-ports>
+ <ports>0</ports>
+ </outbound-ports>
+ <join>
+ <multicast enabled="false">
+ <multicast-group>224.2.2.3</multicast-group>
+ <multicast-port>54327</multicast-port>
+ </multicast>
+ <tcp-ip enabled="true">
+ <member>127.0.0.1</member>
+ </tcp-ip>
+ </join>
+ </network>
+ -->
+ <network>
+ <interfaces enabled="true">
+ <interface>127.0.0.1</interface>
+ </interfaces>
+ </network>
+ <map name="default">
+ <time-to-live-seconds>720</time-to-live-seconds>
+ <max-size policy="PER_NODE">800000</max-size>
+ <eviction-policy>LRU</eviction-policy>
+ </map>
</hazelcast>
\ No newline at end of file