Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-16630

Mixed domain tests error traces due to unknown Infinispan module name

    XMLWordPrintable

Details

    Description

      The following error trace is thrown on the mixed domain tests when the secondary hos starts the 'server-one':

      [Server:server-one] 09:45:41,165 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-container-configuration.server.modules: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-container-configuration.server.modules: java.lang.IllegalArgumentException: org.jboss.modules.ModuleNotFoundException: org.wildfly.clustering.singleton.server
      [Server:server-one] 	at org.wildfly.clustering.service@7.4.0.GA-redhat-00005//org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:66)
      [Server:server-one] 	at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
      [Server:server-one] 	at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
      [Server:server-one] 	at org.jboss.msc@1.4.12.Final-redhat-00001//org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
      [Server:server-one] 	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
      [Server:server-one] 	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
      [Server:server-one] 	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
      [Server:server-one] 	at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
      [Server:server-one] 	at java.base/java.lang.Thread.run(Thread.java:834)
      [Server:server-one] Caused by: java.lang.IllegalArgumentException: org.jboss.modules.ModuleNotFoundException: org.wildfly.clustering.singleton.server
      [Server:server-one] 	at org.jboss.as.clustering.common@7.4.0.GA-redhat-00005//org.jboss.as.clustering.controller.AbstractModulesServiceConfigurator.get(AbstractModulesServiceConfigurator.java:88)
      [Server:server-one] 	at org.jboss.as.clustering.common@7.4.0.GA-redhat-00005//org.jboss.as.clustering.controller.AbstractModulesServiceConfigurator.get(AbstractModulesServiceConfigurator.java:52)
      [Server:server-one] 	at org.wildfly.clustering.service@7.4.0.GA-redhat-00005//org.wildfly.clustering.service.FunctionalService.start(FunctionalService.java:63)
      [Server:server-one] 	... 8 more
      [Server:server-one] Caused by: org.jboss.modules.ModuleNotFoundException: org.wildfly.clustering.singleton.server
      [Server:server-one] 	at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:301)
      [Server:server-one] 	at org.jboss.as.clustering.common@7.4.0.GA-redhat-00005//org.jboss.as.clustering.controller.AbstractModulesServiceConfigurator.get(AbstractModulesServiceConfigurator.java:86)
      [Server:server-one] 	... 10 more
      [Server:server-one]
      

      The problem is the Domain controller configures the following module name on the infinispan subsystem:

      // Some comments here
      <cache-container name="server" default-cache="default"  marshaller="PROTOSTREAM" aliases="singleton cluster" modules="org.wildfly.clustering.singleton.server">
                          <transport lock-timeout="60000"/>
                          <replicated-cache name="default">
                              <transaction mode="BATCH"/>
                              <expiration interval="0"/>
                          </replicated-cache>
                      </cache-container>
      

      "org.wildfly.clustering.singleton.server" is an alias for "org.wildfly.clustering.server", however, the former module name is unknown on the legacy host.

      This issue doesn't affect to the test execution, however, it could be problematic doing other tasks reducing the test stability.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            yborgess1@redhat.com Yeray Borges Santana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: