Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8651

Typo in ClusteringDefaultsDeployer make the global passivationMaxIdleTime prop not being picked up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • No Release
    • JBossAS-5.1.0.GA
    • Web (Tomcat) service
    • None
    • Compatibility/Configuration
    • Low
    • Hide

      configure war-deployers-jboss-beans.xml with
      <property name="useSessionPassivation">true</property>
      <property name="passivationMaxIdleTime">25</property>
      <property name="passivationMinIdleTime">15</property>

      passivationMaxIdleTime is not picked and is equals to -1

      Show
      configure war-deployers-jboss-beans.xml with <property name="useSessionPassivation">true</property> <property name="passivationMaxIdleTime">25</property> <property name="passivationMinIdleTime">15</property> passivationMaxIdleTime is not picked and is equals to -1

      in addPassivationConfigDefaults method of ClusteringDefaultsDeployer

      line 246 contains a bad copy paste

      if (passCfg.getPassivationMinIdleTime() == null)
      passCfg.setPassivationMaxIdleTime(new Integer(this.passivationMaxIdleTime));

      it should be

      if (passCfg.getPassivationMaxIdleTime() == null)
      passCfg.setPassivationMaxIdleTime(new Integer(this.passivationMaxIdleTime));

      It affects EAP 5 version as well

              rmaucher Remy Maucherat
              deruelle_jean_jira Jean Deruelle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: