karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Re: Bundle startup
Date Wed, 04 May 2016 05:43:04 GMT
Maybe it is also an issue of a duplicate package export. Does your bundle
maybe export but not import the UserAdmin package? In this case it would
see a different instance of the package and would not be able to see the
original UserAdmin.

Christian


2016-05-04 7:24 GMT+02:00 David Leangen <apache@leangen.net>:

>
> Thanks for the tips.
>
> This is what I found:
>
>  FrameworkEvent ERROR - net.leangen.expedition.platform.web.provider
> org.osgi.framework.ServiceException: ServiceFactory.getService() resulted
> in a cycle.
>
> Unfortunately, this doesn’t really tell me much.
>
> I think this may be related to the fact that the bundle in question also
> implements and exports UserAdmin. It is intended to be an OAuth
> implementation. It requires a UserAdmin before it can work.
>
> Likely, DS tries the UserAdmin that is implemented in the same bundle,
> detects a cycle (which is not incorrect), then gives up, and does not retry
> when the independent UserAdmin gets activated.
>
> I suppose that I could try an exclusive filter so that, I assume, DS does
> not try to use the internal UserAdmin for wiring.
>
>
> Cheers,
> =David
>
>
>


-- 
-- 
Christian Schneider
http://www.liquid-reality.de
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.liquid-reality.de>

Open Source Architect
http://www.talend.com
<https://owa.talend.com/owa/redir.aspx?C=3aa4083e0c744ae1ba52bd062c5a7e46&URL=http%3a%2f%2fwww.talend.com>

Mime
View raw message