Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-7644

Administration console - Loader tab allows invalid configuration to be set.

    XMLWordPrintable

Details

    Description

      Click on cache container -> cache -> configuration -> loader tab

      Some options in loader type drop down such as "Async Cache loader" (but there might be more of them) result in following error, after cluster restart:

      ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 19) WFLYCTL0013: Operation ("add") failed - address: ([
      ("subsystem" => "datagrid-infinispan"),
      ("cache-container" => "clustered"),
      ("configurations" => "CONFIGURATIONS"),
      ("distributed-cache-configuration" => "distributedCache")
      ]) - failure description: "DGISPN0102: org.infinispan.persistence.async.AsyncCacheLoader is not a valid cache store"

      Then there are valid options such as "Single File Store" which work if there is a corresponding cache store set up, in this case, File store. But if there isn't a cache store configured, the cache is no longer available after restart and configuration cannot be fixed from the console.

      I suggest we add a restriction when configuring cache loaders in the console which wouldn't allow the users to configure cache loader without having to configure appropriate cache store first.

      Attachments

        Issue Links

          Activity

            People

              remerson@redhat.com Ryan Emerson
              rmacor Roman Macor (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: