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=41664>. 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=41664 ------- Additional Comments From [EMAIL PROTECTED] 2007-02-20 19:24 ------- This (the getResources returning a complete enumeration) seems like a reasonable request. I don't have the bandwidth right now to delve into it and create a patch, but if you care to provide one I'll try to evaluate and commit it quickly. You'll probably want to look at org.apache.catalina.loader.WebappClassloader#findResources, http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/apache/catalina/loader/WebappClassLoader.java, to start with. The getResources method itself in that class is not overridden, using the java.net.URLClassloader default. One other thing to consider is behavior when running inside a security manager. WebappClassloader already has a privileged findResource section, which is good. findResources should also probably check for the same permissions / run in a similar privileged action. I'm not sure what you mean with respect to "partially" unpacking WAR files. If you specify that the WAR should be unpacked, it's fully unpacked. Finally, if it's really urgent for you and you don't want to wait for one of us to review a patch and/or a Tomcat release that includes the patch, you can easily provide a Tapestry 5-suitable classloader by specifying the Loader element of the Context to be your own class name, as documented at http://tomcat.apache.org/tomcat-5.5-doc/config/loader.html -- 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]