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

Invalidation-cache creation fails with Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000343: Must have a transport set in the global configuration

    XMLWordPrintable

Details

    • Hide

      Steps to reproduce are:

      1. start EAP with ha => ./standalone.sh -c standalone-ha.xml
      2. add cache container => /subsystem=infinispan/cache-container=mycachecontainer:add()
      3. try to add invalidation cache => /subsystem=infinispan/cache-container=mycachecontainer/invalidation-cache=mycache:add(mode=SYNC)
      Show
      Steps to reproduce are: start EAP with ha => ./standalone.sh -c standalone-ha.xml add cache container => /subsystem=infinispan/cache-container=mycachecontainer:add() try to add invalidation cache => /subsystem=infinispan/cache-container=mycachecontainer/invalidation-cache=mycache:add(mode=SYNC)

    Description

      When creating cache in newly creating cache container, it fails with [1].

      This fails with EAP 7.1.0.DR11 even though this works with EAP 7.0. As this is regression in comparison to EAP 7.0 setting priority to critical.

      [1]

      16:24:10,561 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service org.wildfly.clustering.infinispan.cache-configuration.xxx.aaa: org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.xxx.aaa: Failed to start service
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000343: Must have a transport set in the global configuration in order to define a clustered cache
      	at org.infinispan.configuration.cache.ClusteringConfigurationBuilder.validate(ClusteringConfigurationBuilder.java:115)
      	at org.infinispan.configuration.cache.ConfigurationBuilder.validate(ConfigurationBuilder.java:229)
      	at org.infinispan.configuration.cache.ConfigurationBuilder.build(ConfigurationBuilder.java:240)
      	at org.infinispan.configuration.ConfigurationManager.putConfiguration(ConfigurationManager.java:80)
      	at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:390)
      	at org.infinispan.manager.DefaultCacheManager.defineConfiguration(DefaultCacheManager.java:353)
      	at org.jboss.as.clustering.infinispan.DefaultCacheContainer.defineConfiguration(DefaultCacheContainer.java:73)
      	at org.wildfly.clustering.infinispan.spi.service.ConfigurationBuilder.start(ConfigurationBuilder.java:88)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
      	... 3 more
      
      16:24:10,562 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([
          ("subsystem" => "infinispan"),
          ("cache-container" => "xxx"),
          ("invalidation-cache" => "aaa")
      ]) - failure description: {
          "WFLYCTL0080: Failed services" => {"org.wildfly.clustering.infinispan.cache-configuration.xxx.aaa" => "org.jboss.msc.service.StartException in service org.wildfly.clustering.infinispan.cache-configuration.xxx.aaa: Failed to start service
          Caused by: org.infinispan.commons.CacheConfigurationException: ISPN000343: Must have a transport set in the global configuration in order to define a clustered cache"},
          "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.clustering.infinispan.cache-configuration.xxx.aaa"]
      }
      

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: