Products | Versions |
---|---|
TIBCO BusinessEvents Enterprise Edition | - |
Not Applicable | - |
Resolution:
Resolution:
=========
There are two options to solve the issue:
1). Add the properties java.property.tangosol.coherence.wka<nn> and java.property.tangosol.coherence.wka<nn>.port for each engine.
java.property.tangosol.coherence.wka1=10.2.23.11
java.property.tangosol.coherence.wka1.port=35900
java.property.tangosol.coherence.wka2=10.2.23.12
java.property.tangosol.coherence.wka2.port=35901
java.property.tangosol.coherence.wka3=10.2.23.13
java.property.tangosol.coherence.wka3.port=35902
…
java.property.tangosol.coherence.wka16=10.2.23.18
java.property.tangosol.coherence.wka16.port=35916
2). Use an override file for the WKA1...n settings. Specify the local port in the TRA files only.
Example:
Add following records to TRA file:
java.property.tangosol.coherence.override=/tmp/tangosol-coherence-override-prod.xml
java.property.tangosol.coherence.localhost=10.2.23.11
java.property.tangosol.coherence.localport=35901
------------------------------------------------------------------------------
Contents of the file /tmp/tangosol-coherence-override-prod.xml
------------------------------------------------------------------------------
<?xml version='1.0'?>
<!--
Copyright 2001-2007 by Oracle. All rights reserved.
Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
This software is the confidential and proprietary information of
Oracle Corporation. You shall not disclose such confidential and
proprietary information and shall use it only in accordance with the
terms of the license agreement you entered into with Oracle.
This notice may not be removed or altered.
-->
<!DOCTYPE coherence PUBLIC
"-//Oracle Corporation//DTD Oracle Coherence 3.3//EN"
"http://www.tangosol.com/dtd/coherence_3_3.dtd">
<!--
Note: This XML is set up for a development mode; search for "Note:"
to find specific notes on changes suggested for production use.
-->
<coherence>
<cluster-config>
<!--
Note: All members of the cluster must specify the same cluster name in
order to be allowed to join the cluster.
<cluster-name system-property="tangosol.coherence.clustername"></cluster-name>
-->
<unicast-listener>
<!--
Note: Specifying one or more "well known" addresses (WKA) will disable
all multicast communication. In this case, for a member to join the cluster
it will either have to be a WKA or there will have to be at least one WKA
member running.
-->
<well-known-addresses>
<socket-address id="1">
<address system-property="tangosol.coherence.wka">10.2.23.11</address>
<port system-property="tangosol.coherence.wka.port">31337</port>
</socket-address>
<socket-address id="2">
<address system-property="tangosol.coherence.wka1">10.2.23.12</address>
<port system-property="tangosol.coherence.wka1.port">35900</port>
</socket-address>
<socket-address id="3">
<address system-property="tangosol.coherence.wka2">10.2.23.13</address>
<port system-property="tangosol.coherence.wka2.port">35901</port>
</socket-address>
<socket-address id="4">
<address system-property="tangosol.coherence.wka3">10.2.23.14</address>
<port system-property="tangosol.coherence.wka3.port">35902</port>
</socket-address>
<socket-address id="5">
<address system-property="tangosol.coherence.wka4">10.2.23.15</address>
<port system-property="tangosol.coherence.wka4.port">35903</port>
</socket-address>
</well-known-addresses>
<machine-id></machine-id>
</unicast-listener>
</cluster-config>
</coherence>