Greetings,

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

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to