You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@aries.apache.org by LongkerDandy <lo...@gmail.com> on 2010/09/20 08:57:54 UTC

BluePrint Instances and EventAdmin

Hi

I'm using BluePrint with EventAdmin (from felix).
And when the felix started, I saw two duplicated messages:

*DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true*

I think the eventadmin service start twice but I don't know why.

Before using blueprint, I use iPOJO.
iPOJO has some command like "instances" which can display all the
intances(service) it created.
Is there a similar way in blueprint?

Also iPOJO has a integration with EventAdmin, does BluePrint provides
something like that?

Regards
LongkerDandy

Re: BluePrint Instances and EventAdmin

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

Am 20.09.2010 10:59, schrieb LongkerDandy:
> Thanks Felix.
> 
> Is there any way to see the instances(services) created by the blueprint?
> like a extension for gogo shell.

My preference is using the Web Console ;-)

You can go the bundles page: Check the Event Admin bundle installed.
Click the Event Admin bundle to see the details, which includes the
services registered by that bundle.

Alternatively go to the Services page to see which Event Admin services
are registered.

Regards
Felix

> 
> Regards
> LongkerDandy
> 
> On Mon, Sep 20, 2010 at 3:06 PM, Felix Meschberger <fmeschbe@gmail.com
> <ma...@gmail.com>> wrote:
> 
>     Hi,
> 
>     Am 20.09.2010 08:57, schrieb LongkerDandy:
>     > Hi
>     >
>     > I'm using BluePrint with EventAdmin (from felix).
>     > And when the felix started, I saw two duplicated messages:
>     >
>     > /DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
>     > DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
>     > DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
>     > DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
>     > DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
>     > DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
>     > DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
>     > DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true/
>     >
>     > I think the eventadmin service start twice but I don't know why.
> 
>     Probably not.
> 
>     If you are using a recent version of the Felix EventAdmin these messages
>     are printed on startup and whenever configuration is received from
>     Configuration Admin, which is at least oce when Configuration Admin
>     calls ManagedService.configure with null to indicate there is not
>     configuration.
> 
>     Regards
>     Felix
> 
> 
>     >
>     > Before using blueprint, I use iPOJO.
>     > iPOJO has some command like "instances" which can display all the
>     > intances(service) it created.
>     > Is there a similar way in blueprint?
>     >
>     > Also iPOJO has a integration with EventAdmin, does BluePrint provides
>     > something like that?
>     >
>     > Regards
>     > LongkerDandy
> 
> 

Re: BluePrint Instances and EventAdmin

Posted by LongkerDandy <lo...@gmail.com>.
Thanks Felix.

Is there any way to see the instances(services) created by the blueprint?
like a extension for gogo shell.

Regards
LongkerDandy

On Mon, Sep 20, 2010 at 3:06 PM, Felix Meschberger <fm...@gmail.com>wrote:

> Hi,
>
> Am 20.09.2010 08:57, schrieb LongkerDandy:
> > Hi
> >
> > I'm using BluePrint with EventAdmin (from felix).
> > And when the felix started, I saw two duplicated messages:
> >
> > /DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> > DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> > DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> > DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
> > DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> > DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> > DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> > DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true/
> >
> > I think the eventadmin service start twice but I don't know why.
>
> Probably not.
>
> If you are using a recent version of the Felix EventAdmin these messages
> are printed on startup and whenever configuration is received from
> Configuration Admin, which is at least oce when Configuration Admin
> calls ManagedService.configure with null to indicate there is not
> configuration.
>
> Regards
> Felix
>
>
> >
> > Before using blueprint, I use iPOJO.
> > iPOJO has some command like "instances" which can display all the
> > intances(service) it created.
> > Is there a similar way in blueprint?
> >
> > Also iPOJO has a integration with EventAdmin, does BluePrint provides
> > something like that?
> >
> > Regards
> > LongkerDandy
>

Re: BluePrint Instances and EventAdmin

Posted by Felix Meschberger <fm...@gmail.com>.
Hi,

Am 20.09.2010 08:57, schrieb LongkerDandy:
> Hi
> 
> I'm using BluePrint with EventAdmin (from felix).
> And when the felix started, I saw two duplicated messages:
> 
> /DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=20
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true/
> 
> I think the eventadmin service start twice but I don't know why.

Probably not.

If you are using a recent version of the Felix EventAdmin these messages
are printed on startup and whenever configuration is received from
Configuration Admin, which is at least oce when Configuration Admin
calls ManagedService.configure with null to indicate there is not
configuration.

Regards
Felix


> 
> Before using blueprint, I use iPOJO.
> iPOJO has some command like "instances" which can display all the
> intances(service) it created.
> Is there a similar way in blueprint?
> 
> Also iPOJO has a integration with EventAdmin, does BluePrint provides
> something like that?
> 
> Regards
> LongkerDandy