Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-901

[EAP7] JGroups configuration needs to be updated to not use deprecated protocols

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP70 1.5.0.GA
    • None
    • EAP7
    • None

      Reported here: https://issues.jboss.org/browse/CLOUD-630?focusedCommentId=13289644&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13289644

      When cluster encryption is enabled, the log contains exceptions like

      [0m[31m18:49:07,295 ERROR [org.jgroups.protocols.TCP] (Incoming-2,shared=tcp) failed handling incoming message: java.lang.ArrayIndexOutOfBoundsException: -1
      	at org.jgroups.conf.ClassConfigurator.get(ClassConfigurator.java:153)
      	at org.jgroups.Message.readHeader(Message.java:908)
      	at org.jgroups.Message.readFrom(Message.java:786)
      	at org.jgroups.protocols.TP.readMessage(TP.java:1434)
      	at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1803)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_101]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_101]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_101]
      

      it seems that ENCRYPT protocol in JGroups is deprecated and was replaced with SYM_ENCRYPT and ASYM_ENCRYPT - see https://issues.jboss.org/browse/JGRP-2088
      We need to find out if it was depracated/broken by design or if it violates our backwards compatibility policy.

      More info:

              rhn-engineering-mgoldman Marek Goldmann
              rhn-engineering-mgoldman Marek Goldmann
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: