On 01/07/2016 16:41, Romain Manni-Bucau wrote: > Hello guys, > > if a jspDestroy() throws an Exception then the instance manager is not > called which can lead to some leaks depending the implementation (see > org.apache.jasper.servlet.JspServletWrapper#destroy) > > Would it be possible to have a way to release/cleanup the jsp context > through the instance manager or to call destroyInstance properly?
I think wrapping the call to destroy in a try/catch would be the way to go. It would be worth a check to see if there are any other places where similar issues could occur with JSPs. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org