users@glassfish.java.net

Re: deployment type osgi

From: Sahoo <Sahoo_at_Sun.COM>
Date: Fri, 10 Apr 2009 10:30:45 +0530

Jerome Dochez wrote:
>
> On Apr 9, 2009, at 9:15 PM, Sahoo wrote:
>
>> Jerome Dochez wrote:
>>>
>>> On Apr 9, 2009, at 1:07 PM, Sahoo wrote:
>>>
>>>> What exact command are you using to deploy? I can provide you an
>>>> alternative way to deploy OSGi bundles in GFv3 if you use the
>>>> latest nightly build. Just do the following:
>>>>
>>>> copy this attached cfg file to glassfish/modules dir and then
>>>> copy your OSGi bundles to domains/domain1/autodeploy-modules dir.
>>> yeah but it is not a managed operation, meaning you cannot
>>> "undeploy" them by removing them without again having to go to the
>>> directory structure.
>> That's the whole idea of using fileinstall to work as a management
>> agent. autodeploy-modules works like autodeploy dir. You drop a
>> bundle, it gets deployed; you remove the bundle and it gets undeployed.
>
> and we have autodeploy-modules working today ?
User can configure it by adding a cfg file in modules dir.
>
> In any case, I am not arguing against it, more choices, the better. I
> still think we need to have it through a normal administration command...
Yes, I agree.

Thanks,
Sahoo