|Summary:||ExceptionUtils class missing from bootstrap.jar|
|Product:||Tomcat 7||Reporter:||Tim Whittington <timw>|
|Component:||Catalina||Assignee:||Tomcat Developers Mailing List <dev>|
Description Tim Whittington 2010-09-29 03:43:11 UTC
o.a.c.startup.Bootstrap uses o.a.jasper.util.ExceptionUtils, but this class is not placed in bootstrap.jar, causing rather nasty failures if anything goes wrong during initial bootstrapping. This should be a fairly simple matter of updating build.xml to include it, but I wasn't sure whether including Jasper classes in the bootstrap was the done thing. There's an o.a.tomcat.util.ExceptionUtils that is identical, but that too looks like the wrong thing to grab.
Comment 1 Mark Thomas 2010-09-29 05:52:55 UTC
It shouldn't be using the Jasper version of this class, it should be using the Catalina one if any. For a similar situation previously we copied the method to the affected class so bootstrap remained as minimal as possible. I'll try and take a look since it was almost certainly my recent changes that broke this.
Comment 2 Mark Thomas 2010-09-29 06:16:17 UTC
Fixed the wider issue of using the wrong ExceptionUtils as well as this specific issue. Will be in 7.0.3 onwards.