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

[GSS](7.4.z) max-active-sessions=-1 causes ISPN000424 error

XMLWordPrintable

    • False
    • None
    • False
    • Release Notes, User Experience
    • +
    • 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.

      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>.

            pferraro@redhat.com Paul Ferraro
            rhn-support-dereed Dennis Reed
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: