DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39355>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39355 Summary: PageContext pool not resetting pages fully before returning to pool Product: Tomcat 5 Version: Unknown Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Jasper AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I couldn't find a bugzilla for tomcat/jasper 6 so I'm posting this here instead. I found a bug whereby the BeanELResolver maps and caches classnames to class instances, which in and of itself is fine, but the PageContextImpl class also uses a pool for PageContexts, and the whole resolver hierarchy wasn't being cleaned out when a PageContext is put back in the pool. The reported symptom was ClassCast exceptions after a webapp was stopped and restarted and an expression using a class from the webapp was evaluated. Attached is the simple test case and the patch file. Actually, looks like I can't attach anything. I'll try putting it in as another comment. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]