dev@glassfish.java.net

Re: Glassfish API to start/stop

From: Byron Nevins <Byron.Nevins_at_Sun.COM>
Date: Tue, 27 Mar 2007 10:18:30 -0700

This is probably obvious, but just to be absolutely clear:

these techniques are not officially supported.

Byron Nevins wrote:
> package: com.sun.enterprise.admin.servermgmt.launch
> module: admin/servermgmt
>
> I wrote DASLauncher and DASLauncherInfo a while ago. You can start
> DAS with them. Someday soon when I have some time I will document
> them thoroughly. You can take a look at them and try them out if you
> like. If you go this route and have questions or problems let me know...
>
> Also -- you can run the startserv script in the domain's bin directory.
>
>
> Ashish Sahni wrote:
>> DAS I suppose. In a bit more detail -
>> I'm trying to write maven tests that test out the application on
>> GlassFish.
>> The tests would run something like this
>> #1 download glassfish binary (as a maven test dependency)
>> #2 do minimal setup/configuration, start GF server
>> #3 deploy app, run tests, tear down
>>
>> I'm primarily looking for doing #2 programmatically.
>>
>> Thanks
>> Ashish
>>
>>
>>
>> Byron Nevins wrote:
>>> Are you asking about applications or DAS?
>>>
>>> Ashish Sahni wrote:
>>>> Hi,
>>>> I'm looking for an example on howto programmatically
>>>> start/stop (and then deploy/undeploy) the GlassFish server.
>>>> I'm sure this API and its usage is documented/blogged somewhere
>>>> but I can't seem to locate it.
>>>>
>>>> Thanks
>>>> Ashish
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>
>