users@glassfish.java.net

Re: Glassfish & OSGI

From: Sahoo <sanjeeb.sahoo_at_oracle.com>
Date: Mon, 19 Mar 2012 19:53:28 +0530

On Monday 19 March 2012 07:16 PM, Mihael Schmidt wrote:
> Am 19.03.2012 12:10, schrieb Sahoo:
>> On Monday 19 March 2012 04:29 PM, Mihael Schmidt wrote:
>>> Am 16.03.2012 17:26, schrieb Sahoo:
>>>> A service is not a management end point, so no, you can't start and
>>>> stop a service. You have to stop and start a bundle registering the
>>>> service and that will in turn unregister and register the service.
>>> With the Felix Webconsole you have a Tab "Components" which lists your
>>> (declarative) services. You can activate/deactivate your services there.
>>>
>> Is that not limited to services written using DS only?
> I think so.
>
So, it is upto the service framework to make the service restartable.
There is not much GlassFish can do here. We encourage users to leverage
existing tools and I am glad you are already using Felix web console.

Thanks,
Sahoo