Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4198

default value in infinispan subsystem schema is ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 7.1.1.Final
    • Clustering
    • None

    Description

      Because of the way the infinispan subsystem is parsed:
      https://github.com/jbossas/jboss-as/blob/master/clustering/infinispan/src/main/java/org/jboss/as/clustering/infinispan/subsystem/InfinispanSubsystemXMLReader_1_1.java#L297

      The default value for l1-lifespan attribute specified here:
      https://github.com/jbossas/jboss-as/blob/master/build/src/main/resources/docs/schema/jboss-as-infinispan_1_1.xsd#L400

      is ignored.
      Could we changed it to zero in the schema, so that there aren't doubts whether L1 is or is not enabled by default when this attribute is omitted ?

      Correct behaviour IMO should be: L1 is disabled by default.
      And that is the way it is, this default value just adds to confusion.

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            mlinhard Michal Linhard (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: