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

Infinispan subsystem cache configuration is lost when cache is created

    XMLWordPrintable

Details

    • Hide

      1- Clone my test project from https://github.com/arielcarrera/test-infinispan-wildfly10
      2- Install Wildfly 8 and Wildfly 10
      3- Compile my test project.
      5- Start wildfly 10.
      6- Run my-project/config.cli to add infinispan subystem configuration to standalone-full.xml (or standalone.xml).
      7- Restart wildfly.
      8- Deploy my test project into wildfly 10
      9- Test open a browser with this get url: http://localhost:8080/test-infinispan-wildfly10/test
      10- Check the output.
      11- Repeat the process with Wildfly 8.
      12- Compare outputs (expected behavior like wildfly 8).

      Show
      1- Clone my test project from https://github.com/arielcarrera/test-infinispan-wildfly10 2- Install Wildfly 8 and Wildfly 10 3- Compile my test project. 5- Start wildfly 10. 6- Run my-project/config.cli to add infinispan subystem configuration to standalone-full.xml (or standalone.xml). 7- Restart wildfly. 8- Deploy my test project into wildfly 10 9- Test open a browser with this get url: http://localhost:8080/test-infinispan-wildfly10/test 10- Check the output. 11- Repeat the process with Wildfly 8. 12- Compare outputs (expected behavior like wildfly 8).
    • Compatibility/Configuration, User Experience
    • Workaround Exists
      • Embedded cache container instead of container managed.
      • Put entities into cache using lifespan parameter, etc

    Description

      Infinispan subsystem configuration is lost when cache is created.

      If it is helpful, I made a simple test project to validate the problem. It is prepared to run with Wildfly 8 and 10.
      https://github.com/arielcarrera/test-infinispan-wildfly10

      After startup and created the cache, it is not configured with the specified settings in Wildfly's Infinispan Subsystem.
      This can be verified by monitoring the jboss.infinispan nodes with JConsole retrieving the cache settings or running my simple test project.
      Entities never expire/invalidate. The lifespan/max-entries are set to -1.

      I found an old issue (https://issues.jboss.org/browse/WFLY-3858) about wildfly 8 but this problem talks about a security config problem and is a little different. It is a problem about wildfly 10 configuration and it is working OK on wildfly 8.2.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            arielcarrera Ariel Carrera (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: