tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17609] New: - Multiple IllegalStateExceptions (from exceeding maxActiveSessions) not handled
Date Mon, 03 Mar 2003 17:32:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17609>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17609

Multiple IllegalStateExceptions (from exceeding maxActiveSessions) not handled

           Summary: Multiple IllegalStateExceptions (from exceeding
                    maxActiveSessions) not handled
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jochim@itc.it


I want to control the number of maxActiveSessions so set I the attribute in 
server.xml for my context and then added the appropriate <error-page> tags to 
the application's web.xml.  The first browser window that exceeds the limit 
shows the error page which is defined in web.xml and it works correctly.  
Every subsequent browser window shows the Tomcat's default error page and the 
stack trace.
Both errors are exactly the same but one goes to the page specified by web.xml 
and one does not.
The application is on Tomcat 4.1.12.

To test this behavior I started Tomcat 4.0.3 and used the SessionExample 
servlet provided with Tomcat.  The only changes I made were to add the <error-
page> tags in the web.xml, add an html page that it points to, and set the 
maxActiveSessions limit.  On Tomcat 4.0.3 it all worked perfectly.  Every page 
after exceeding the maxActiveSession limit showed the error page correctly.
I duplicated this exact test in Tomcat 4.1.12, using SessionExample.java, 
changing web.xml, adding the maxActiveSessions in server.xml, and adding the 
html.
With Tomcat 4.1.12 the first page over the limit showed the error page 
correctly, but every one after shows the stack trace for the 
IllegalStateException.
I also downloaded 4.1.18 and tried it but it was the same at Tomcat 4.1.12.

This is also the behavior from IE 6.0.  All browsers malfuntion but in 
different ways it seems.  With Netscape 7 if I press reload it alternates 
between the correct error page and the stack trace with each click on 'reload.'
Thank you in advance for any help.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message