On 21/03/2011 12:55, Jesse Farinacci wrote: > Bump! :-) This feature doesn't (yet) exist. Patches welcome.
Mark > > On Thu, Mar 17, 2011 at 5:12 PM, Jesse Farinacci <jie...@gmail.com> wrote: >> >> I am trying to embed Tomcat v7.0.11 into a self-contained, executable >> jar. The jar is created using Maven (assembly plugin) which packages >> the required Tomcat embedded classes and also an unpacked WAR archive. >> The listed Main-Class does a very simple creation of a Tomcat server >> and launches it. The unpacked WAR exploits Servlet 3.0 classpath >> scanning. >> >> Is there no way to point the docBase at the executable jar itself, >> again which contains the unpacked WAR, and have it auto-extract itself >> or otherwise be useful? Embedded Jetty provides this capability and it >> is exceptionally useful. >> >> So, right now Tomcat 7 is firing up and serving requests. I just can >> not figure out the magic incantation to get it to locate the embedded >> and unpacked WAR where it itself is executing from. Thanks in advance, > > -Jesse > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org