2 Replies Latest reply: Aug 26, 2013 12:42 PM by 791a2396-c577-4dbd-abc1-76c0f44b80c5 RSS

    How to connect my Glassfish server to a Coherence Cluster

    791a2396-c577-4dbd-abc1-76c0f44b80c5

      I need 2 Coherence clusters, one for PRODUCTION and one for our TEST system.  I have created one TEST cluster by giving the cluster a name and multicast-listener address and port using the tangosol-coherence-override-dev.xml file.  So now this cluster does not see my other cluster, which is what I want.  But my applications running in my glassfish application server does not see it either.  What do I need to do to my application or glassfish for it to see the TEST coherence cluster, or am I creating the test coherence cluster incorretly.  Here is my tangosol-coherence-override-dev.xml file.

       

      <?xml version='1.0'?>

      <coherence  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                  xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"

                  xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-operational-config coherence-operational-config.xsd"

                  xml-override="/tangosol-coherence-override.xml">   

       

        <cluster-config>

            <member-identity>

                 <cluster-name system-property="tangosol.coherence.cluster">Coherence_Test

                 </cluster-name>

               <role-name system-property="tangosol.coherence.role">Server</role-name>

            </member-identity>

            <multicast-listener>

            <address system-property="tangosol.coherence.clusteraddress">239.0.0.9

                     </address>

               <port system-property="tangosol.coherence.clusterport">3059</port>

               <time-to-live system-property="tangosol.coherence.ttl">4</time-to-live>

            <join-timeout-milliseconds>30000</join-timeout-milliseconds>

          </multicast-listener>

        </cluster-config>

       

        <logging-config>

          <severity-level system-property="tangosol.coherence.log.level">5</severity-level>

          <character-limit system-property="tangosol.coherence.log.limit">1048576</character-limit>

        </logging-config>

      </coherence>