https://bz.apache.org/bugzilla/show_bug.cgi?id=63137
Bug ID: 63137 Summary: Ignored second (and next) resources mapped in webAppMount="/WEB-INF/classes" using DirResourceSet Product: Tomcat 8 Version: 8.5.x-trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: marcin.goleb...@verbis.pl Target Milestone: ---- Created attachment 36414 --> https://bz.apache.org/bugzilla/attachment.cgi?id=36414&action=edit the patch fixing the issue of several resources registerd to /WEB-INF/classes When we want to map more than one directory into /WEB-INF/classes resource, there is problem, only first one is taken into account by org.apache.catalina.loader.WebappClassLoaderBase. Context example: <Context path="/webapp"> <Resources> <PostResources base="/path/to/ledge-components/target/classes" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/classes"/> <PostResources base="/path/to/some-api/target/classes" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/WEB-INF/classes"/> </Resources> </Context> The patch attached fixes this issue. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org