Bug 57431 - Enable custom context implementation when using embedded tomcat
Summary: Enable custom context implementation when using embedded tomcat
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Catalina (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-11 13:12 UTC by Felix Schumacher
Modified: 2015-01-13 20:02 UTC (History)
0 users



Attachments
Enable custom context class when using embedded tomcat (7.88 KB, patch)
2015-01-11 13:12 UTC, Felix Schumacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Schumacher 2015-01-11 13:12:03 UTC
Created attachment 32362 [details]
Enable custom context class when using embedded tomcat

When creating a context with the embedded tomcat it will always use the StandardContext and ignore the context class that was setup in the host.

The attached patch will try to use the configured class from the host.
Comment 1 Felix Schumacher 2015-01-13 20:02:10 UTC
Included in trunk (r1651116). Will be included in 8.0.18 (r165142) and 7.0.58 (r1651437).