3 Replies Latest reply on Oct 7, 2010 6:51 AM by Greg T.

    [JBoss 4.2.3] Problem with maxActiveSessions

    Greg T. Newbie

      Hey mates,

       

      I have a problem with the configuration of my server. I have to limit the number of active sessions (http) but there is someting I don't understand I guess.

       

      Here what I have added in my /path/to/jboss/server/default/deploy/jboss-web.deployer/server.xml (just after the HTTP Connector) :

       

      <Engine name="jboss.web" defaultHost="localhost">

           <Host name="localhost">

              <Context className="org.apache.catalina.core.StandardContext" override="true">

                 <Manager className="org.apache.catalina.session.StandardManager" maxActiveSessions="20" />

              </Context>

           </Host>

      </Engine>

       

      But with that piece of configuration, nothing change, I always have a lot of active sessions (> 200).  Do I have miss something ?

       

      I'm on this problem for several hours and I don't understand, so you are my only hope !

       

      Thank you a lot !

       

      P.S : Sorry for my english, I'm french, unfortunately