Make sure you're getting the syntax of the war file correct:
http://java.sun.com/j2se/1.4.2/docs/api/java/net/JarURLConnection.html
URL url = new URL(jar:file:/home/duke/myApp.war!/);
Note: the jar: at the beginning.
Still not sure how this will work from within a jar though.
-Ben
On Tue,
Hello,
Is it possible to install a war file which is inside a jar file to an
embedded tomcat? The goal is to produce a single jar that contains both our
application server with tomcat embedded along with a war file I want to
install. Before jarring the entire application, I can successfully