Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26325

[GSS](8.0.z) max-active-sessions=-1 causes ISPN000424 error for distributable webapp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0 Update 2
    • 8.0.0.GA-CR2
    • Clustering
    • None
    • False
    • None
    • False
    • Release Notes, User Experience
    • +
    • Known Issue
    • Workaround Exists
    • Hide

      Remove the max-active-sessions tag or set it to a very large value instead of -1.

      Show
      Remove the max-active-sessions tag or set it to a very large value instead of -1.
    • Hide

      Configure <max-active-sessions>-1</max-active-sessions> in WEB-INF/jboss-web.xml and <distributable/> in WEB-INF/web.xml.

      Show
      Configure <max-active-sessions>-1</max-active-sessions> in WEB-INF/jboss-web.xml and <distributable/> in WEB-INF/web.xml.

    Description

      Setting <max-active-sessions>-1</max-active-sessions> in WEB-INF/jboss.web.xml causes an exception during deployment in EAP 7.3.0+ for <distributable/> applications:

      org.infinispan.commons.CacheConfigurationException: ISPN000424: Memory eviction is enabled, please specify a maximum size or count greater than zero

      -1 is a valid value as defined in the .xsd and should be treated as no limit, the same as if the tag was left out.

      In practice this is most commonly seen when using property substition to set the property differently in different environments, such as <max-active-sessions>${myprop:-1}</max-active-sessions>.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: