https://bz.apache.org/bugzilla/show_bug.cgi?id=54741
--- Comment #2 from Mark Thomas <ma...@apache.org> --- The JAR URL format does not support the concept of nested archives. This means that Tomcat has already had to implement a special URL handling scheme to support referencing a resource inside a JAR inside a WAR. The special WAR URL handling went through several iterations as we worked to avoid various conflicts until we ended up with the current scheme. It would not be possible to run a WAR from within a JAR file without completely replacing the JREs jar URL handling (and adding support for nesting) so URLs of the form "jar:war:jar:..." were supported. Based on past experience with "war:...", that approach would be extremely fragile and very likely to conflict with other tools. To be fair, I don't think this enhancement request is asking for the above. However, I wanted to set out the difficulties of a generic "deploy a WAR from within a JAR" feature. The specific request to deploy a WAR in unpacked mode from a JAR should be less complicated. I'll take a look. Assuming deployment in unpacked mode is possible, an attempt to deploy a WAR from a JAR in packed mode will result in an error. -- 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