quality@glassfish.java.net

Re: reintroduced support for glassfish runner

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Mon, 08 Sep 2008 11:18:20 -0700

Kedar Mhaswade wrote:
> Just to confirm --- will applications deployed this way
> appear in admin console and/or domain.xml?

I don't quite remember which API the gui is using (my hunch is that it
will not). However, I am sure they will not appear in the domain.xml
which mean if you restart the application server normally (asadmin
start-domain), these applications will be not reloaded.

This is really not a environment in which I would expect any type of
administration happening, it's a pure developer feature.

Jerome
>
> -Kedar
>
> Jerome Dochez wrote:
>> Jeanfrancois Arcand wrote:
>>> 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 ...
>> let me think a good old for (String : ...) should suffice here...
>>
>> I will look into it...
>>
>> jerome
>>>
>>> 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
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>