0 Replies Latest reply on May 17, 2005 6:00 AM by Laurent Joubert

    Tomcat session checkInterval

    Laurent Joubert Newbie

      Hi

      I am trying to configure Tomcat sessions checkInterval under JBoss 3.2.3. By default, this parameter is set to 60 seconds and I need to put it to 2 seconds.

      I modified deploy/jbossweb-tomcat41.sar/META-INF/jboss-service.xml in the following way :

      <DefaultContext cookies="true" crossContext="true" override="true">
       <Manager className="org.apache.catalina.session.StandardManager"
       checkInterval="2" debug="1"/>
      </DefaultContext>


      The paramater has been taken into account since the following message appears in server.log :

      2005-05-17 11:23:54,007 DEBUG [org.apache.commons.beanutils.BeanUtils] BeanUtils.populate(org.apache.catalina.session.StandardManager@22d166, {debug=4, checkInterval=2, className=org.apache.catalina.session.StandardManager})


      However, sessions on timeout are still being flushed every 60 seconds, and not every 2 seconds as expected.

      Any idea ?
      Thanks in advance.