Uploaded image for project: 'Elytron Web'
  1. Elytron Web
  2. ELYWEB-247

FormAuthenticationWithClusteredSSOTest failing in GitHub

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.9.5.CR1
    • None
    • Testsuite
    • None

      The test is failing with errors similar to?

      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jgroups.logging.Slf4jLogImpl
          at org.jgroups.logging.LogFactory.getLog(LogFactory.java:101)
          at org.jgroups.conf.XmlConfigurator.<clinit>(XmlConfigurator.java:33)
          at org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(ConfiguratorFactory.java:62)
          at org.jgroups.JChannel.<init>(JChannel.java:122)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:562)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.initChannel(JGroupsTransport.java:405)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:389)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.infinispan.commons.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:192)
          ... 45 more
      
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.jgroups.conf.XmlConfigurator
          at org.jgroups.conf.ConfiguratorFactory.getStackConfigurator(ConfiguratorFactory.java:62)
          at org.jgroups.JChannel.<init>(JChannel.java:122)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.buildChannel(JGroupsTransport.java:562)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.initChannel(JGroupsTransport.java:405)
          at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:389)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
          at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.base/java.lang.reflect.Method.invoke(Method.java:566)
          at org.infinispan.commons.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:192)
          ... 45 more
      

      The difference in the second error may be due to the first failed class load being cached.

      After some tracking one workaround was to make sure the user.language and user.country systsem properties are set before running the test, on GitHub the latter wat not set.

      The alternative was to use -Djgroups.use.jdk_logger=true

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: