Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-1521

Management Console will not work if there are multiple cache-containers and or endpoints

    • ER3
    • Hide

      Used a standard clustered.xml (7.1.1)
      Step 1 - add container:
      <cache-container name="clustered2" default-cache="mycache" statistics="true">
      <transport lock-timeout="60000"/>
      <global-state/>
      <distributed-cache name="mycache"/>
      </cache-container>
      Step 2 - add connector and binding:
      <hotrod-connector socket-binding="hotrod" cache-container="clustered">
      <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/>
      </hotrod-connector>
      <hotrod-connector name="hr2" socket-binding="hotrod2" cache-container="clustered2">
      <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/>
      </hotrod-connector>

      <socket-binding name="hotrod2" port="11333"/>

      Step 3 - add a name for the hotrod connector:
      <hotrod-connector name="hr1" socket-binding="hotrod" ....

      Show
      Used a standard clustered.xml (7.1.1) Step 1 - add container: <cache-container name="clustered2" default-cache="mycache" statistics="true"> <transport lock-timeout="60000"/> <global-state/> <distributed-cache name="mycache"/> </cache-container> Step 2 - add connector and binding: <hotrod-connector socket-binding="hotrod" cache-container="clustered"> <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/> </hotrod-connector> <hotrod-connector name="hr2" socket-binding="hotrod2" cache-container="clustered2"> <topology-state-transfer lazy-retrieval="false" lock-timeout="1000" replication-timeout="5000"/> </hotrod-connector> <socket-binding name="hotrod2" port="11333"/> Step 3 - add a name for the hotrod connector: <hotrod-connector name="hr1" socket-binding="hotrod" ....

      If a second cache contiainer is configured with the necesarry endpoint the management console shows

      1.) wrong information
      If the endpoint is not configured or the (1. default) enpoint does not use the name attribute
      -> both containers shows the same enpoint configuration which is wrong

      2.) blank page
      If both endpoints use a name attribute the console is not longer working

            [JDG-1521] Management Console will not work if there are multiple cache-containers and or endpoints

            rhn-support-wfink vblagoje Do we also want this on the 7.1.x branch if it's affecting a customer? It's currently only backported to 7.2.x.

            Ryan Emerson added a comment - rhn-support-wfink vblagoje Do we also want this on the 7.1.x branch if it's affecting a customer? It's currently only backported to 7.2.x.

            rhn-support-wfink I am hoping that this fix is what you/we wanted. I tried it with and without naming the connectors. But I am sure when it lands in your hands you'll thoroughly verify it once again to make sure it is exactly what we wanted. Attaching the screenshot of the fixed cache container page.

            Vladimir Blagojevic (Inactive) added a comment - rhn-support-wfink I am hoping that this fix is what you/we wanted. I tried it with and without naming the connectors. But I am sure when it lands in your hands you'll thoroughly verify it once again to make sure it is exactly what we wanted. Attaching the screenshot of the fixed cache container page.

            I think you are right remerson@redhat.com, looking into this one now.

            Vladimir Blagojevic (Inactive) added a comment - - edited I think you are right remerson@redhat.com , looking into this one now.

            vblagoje I think backporting ISPN-7477 should fix this issue. We will also need to backport 7.2.x to prevent a regression.

            Ryan Emerson added a comment - vblagoje I think backporting ISPN-7477 should fix this issue. We will also need to backport 7.2.x to prevent a regression.

              vblagoje Vladimir Blagojevic (Inactive)
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: