> How are you looking up the LogServiceReader ? > > I would guess you're looking it up in the start method of an Activator.
You are right (I'm basically following the examples in http://felix.apache.org/site/apache-felix-log.html , but maybe I'm not getting it properly). > An important concept in OSGi is to try and not be dependant on the order of > bundle activation. What you need to do is use a more robust way of handling > the dynamic nature of the services you need, for instance by using > Declarative Services (or, a bit more complicated, a ServiceTracker if you > don't want to have SCR in your container for some reason). > > Here's a few related links: > www.aqute.biz/Snippets/HelloWorldComponent > www.eclipsezone.com/eclipse/forums/t97690.rhtml > www.knopflerfish.org/osgi_service_tutorial.html Ok, thanks for the help! I guess is a typical beginners mistake. I'll read those links and try to follow your suggestion. > Cheers, > Chris Best regards, Luis Rodero-Merino --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

