quality@glassfish.java.net

Re: reintroduced support for glassfish runner

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Mon, 08 Sep 2008 15:25:09 -0700

If this server has other deployed applications already, would they be
started and available?

Is there way to allow changing of the (first) http and/or (first) https
listener used by the server when it's launched this way?

This could be highly useful to me :)

-Peter

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...
>
> 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: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>