Hello,

I'm a Jetty newbie.  I'm looking for a servlet container that I can embed
and Jetty sounds like a nice candidate.  However I would like to deploy my
application, containing a web app with JSPs, as an executable WAR file.  And
I would like Jetty not to unpack the WAR when it starts up.  Is this
possible?

My application will be using the Spring framework.  I've played with a
Spring Roo add-on that makes an executable WAR (
http://tzolov.blogspot.com/2010/10/create-executable-wars-with-spring-roo.html).
However when I run it (java -jar mywar.war) Jetty extracts my webapp to a
temp directory.  Can I avoid the unpacking and still run it?

See logs below...

>java -jar execwar.sample-0.1.0.BUILD-
SNAPSHOT-EXECWAR.war
Staring Jetty at: http://<host>:8080/
2011-10-04 08:58:37.578:INFO::jetty-7.x.y-SNAPSHOT
2011-10-04 08:58:37.612:INFO::Extract
jar:file:/C:/Users/Public/Documents/NetBeans/Projects/roo-execwar/target/execwar.sample-0.1.0.BUILD-SNAPSHOT-EXECWAR.war!/
to C:\Users\trogdor\AppData\Local\Temp
\Jetty_0_0_0_0_8080_execwar.sample.0.1.0.BUILD.SNAPSHOT.EXECWAR.war____rcyjz9\webapp
2011-10-04 08:58:53.547:INFO:/:Initializing Spring root
WebApplicationContext null null
2011-10-04 08:58:56.947:INFO:/:Initializing Spring FrameworkServlet
'execwar.sample' null null
2011-10-04 08:58:57.993:INFO::Started [email protected]:8080
Servert started at: http://<host>:8080/


Jerome
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to