quality@glassfish.java.net

Re: reintroduced support for glassfish runner

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 08 Sep 2008 11:51:17 -0400

Salut,

Jerome Dochez wrote:
> Hi All
>
> I have re-introduced support for the GlassFish runner. It's basically
> the ability to run applications without deploying them, so you just do
>
> java -jar glassfish-10.0-SNAPSHOT MyApp
>
> where MyApp is a directory (works also with archive but it's more
> efficient with a directory) containing your application (like a web app
> for instance). Your application will be loaded and run but not deployed
> so if you find yourself doing often :
>
> asadmin start-domain
> deploy MyApp
> undeploy MyApp
> asadmin stop-domain
>
> you can replace all of that with
>
> java -jar glassfish-10.0-SNAPSHOT.jar MyApp
> ^C to end...

If you can, I would support more than one deployment using the command line:

% java -jar glassfish-10.0-SNAPSHOT.jar MyApp1 MyApp2 ...

Tomcat-Lite (7.0) and Jetty supports such use case.

A+

-- Jeanfrancois


>
> As usual, it uses the sniffers to find the application type, so you can
> run anything this way as long as your sniffer/container is installed
> correctly. Let me know if you find issues/problems or ideas with it.
>
> PS : we will be looking at extending its support asadmin start-domain.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>