https://issues.apache.org/bugzilla/show_bug.cgi?id=53230

          Priority: P2
            Bug ID: 53230
          Assignee: dev@tomcat.apache.org
           Summary: Allow custom error mapping when Manager's
                    maxActiveSessions is exceeded
          Severity: enhancement
    Classification: Unclassified
          Reporter: t...@ordix.de
          Hardware: PC
            Status: NEW
           Version: 7.0.27
         Component: Catalina
           Product: Tomcat 7

Tomcat 7.0.27

In ManagerBase an IllegalStateException is thrown when the configured
maxActiveSessions attribute is exceeded.

This allows no customized error handling via configuration in web.xml.

See discussion: http://markmail.org/thread/xqjgdhf32gjrzjz2

Can be reproduced with the sample application:
http://localhost:8080/examples/jsp/security/protected/index.jsp

Just set maxActiveSession="0" in ${catalina.base}/conf/context.xml

A configuration like this would be very useful:

<error-page>
  
<exception-type>org.apache.catalina.session.MaxActiveSessionsExceededException</exception-type>
   <location>/maxSessions.html</location>
</error-page>

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to