0 Replies Latest reply: Dec 2, 2011 4:09 AM by Carlos Oliva RSS

Maximum sessions in JBoss5.1

Carlos Oliva Novice

Should I configure the maximum sessions in a per web application basis with a jboss-web.xml or with a context.xml (Manager element)?  I want to limit the number of sessions to a web application (war file).  I have seen documentation that seems to indicate that one can limit the maximun number of seesions in either one of these to files within the war deployment.

 

My application is FORM secured and already has a jobss-web.xml defining the security entry.  Woudl I just need to add the max-active-sessions element?  When I do that and examine the Manager bean via twiddle, the Mange for the applicaiton still shows -1 for the maxActiveSessions.