tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Farinacci <>
Subject Re: Tomcat v7 Embedded
Date Mon, 21 Mar 2011 12:55:39 GMT
Bump! :-)

On Thu, Mar 17, 2011 at 5:12 PM, Jesse Farinacci <> 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,


There are 10 types of people in this world, those
that can read binary and those that can not.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message