Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3927

EAP 6.4 is setting up JGroups property that is affecting JGroups in deployment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 6.4.0.GA
    • None
    • None

      During the startup of EAP 6.4, the JGroups property "jgroups.logging.log_factory_class" in JGroupsExtension, see the code below:

      // Workaround for JGRP-1475
          // Configure JGroups to use jboss-logging.
          static {
              PrivilegedAction<Void> action = new PrivilegedAction<Void>() {
                  @Override
                  public Void run() {
                      if (System.getProperty(Global.CUSTOM_LOG_FACTORY) == null) {
                          System.setProperty(Global.CUSTOM_LOG_FACTORY, LogFactory.class.getName());
                      }
                      return null;
                  }
              };
              AccessController.doPrivileged(action);
          }
      

      If the deployment uses other version of JGroups (for instance because of Infinispan), it might cause troubles (and it actually does) that you are affected by the property being set, therefore even your deployed JGroups picks it up.

              vtunka Václav Tunka
              jholusa Jiří Holuša (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: