Hi!

I configured the Manager's maxActiveSessions attribute in context.xml. If the 
configured value is exceeded an IllegalStateException "createSession: Too many 
active sessions" is thrown in ManagerBase class. In our application we catch 
this exception around httpServletRequest.getSession(true) and redirect to an 
customized error page. Works!

Now I activated form based authentication via securiy constraint in web.xml. If 
I try to open the web application with my browser by sending the first request, 
the response is empty (status 200 OK).

Is there any way to map a static customized error page in this scenario?

If not: Is there any other approach to limit the number of sessions?

Thanks!
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to