jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Cohen <oleg.co...@assurebridge.com>
Subject Re: Running Oak 1.8.2 in an OSGi container
Date Tue, 13 Feb 2018 14:40:35 GMT

Thank you for replying and providing suggestions!

I do have oak-store-composite in my list


but I still have an issue with
missing when loading oak-core.

2018-02-13T09:33:04,620 | ERROR | pool-1-thread-2  | BootFeaturesInstaller
          | 34 - org.apache.karaf.features.core - 4.1.4 | Error installing
boot features
org.osgi.service.resolver.ResolutionException: Unable to resolve root:
missing requirement [root] osgi.identity;
osgi.identity=empower.document.library.dev; type=karaf.feature;
[caused by: Unable to resolve empower.document.library.dev/1.0.1.SNAPSHOT:
missing requirement [empower.document.library.dev/1.0.1.SNAPSHOT]
osgi.identity; osgi.identity=empower.oak.tar; type=karaf.feature;
version="[1.0.1.SNAPSHOT,1.0.1.SNAPSHOT]" [caused by: Unable to resolve
empower.oak.tar/1.0.1.SNAPSHOT: missing requirement
[empower.oak.tar/1.0.1.SNAPSHOT] osgi.identity;
osgi.identity=empower.jackrabbit.oak; type=karaf.feature;
version="[1.0.1.SNAPSHOT,1.0.1.SNAPSHOT]" [caused by: Unable to resolve
empower.jackrabbit.oak/1.0.1.SNAPSHOT: missing requirement
[empower.jackrabbit.oak/1.0.1.SNAPSHOT] osgi.identity;
osgi.identity=org.apache.jackrabbit.oak-core; type=osgi.bundle;
version="[1.8.2,1.8.2]"; resolution:=mandatory [caused by: Unable to
resolve org.apache.jackrabbit.oak-core/1.8.2: missing requirement
[org.apache.jackrabbit.oak-core/1.8.2] osgi.service;

I tried to load oak-store-composite without oak-core and it didn't work
because oak-store-composite requires oak-core. Do these two need each other
and the way I load these bundles causes the issue. Is there a workaround?
Perhaps I can create my own
in a custom bundle?

Also, I have reported it before. I get another error for a
missing com.codahale.metrics.MetricRegistry service. Anyone else is running
into the same? Oliver, did it work fine for you in Sling? For the time
being I created my own bundle and added this to Provide-Capability.

Again, really appreciate you all chiming in on this!

Thank you,

On Tue, Feb 13, 2018 at 4:34 AM, Robert Munteanu <rombert@apache.org> wrote:

> Hi Oleg,
> On Mon, 2018-02-12 at 22:09 -0500, Oleg Cohen wrote:
> > caused by: Unable to resolve org.apache.jackrabbit.oak-core/1.8.2:
> > missing requirement [org.apache.jackrabbit.oak-core/1.8.2]
> > osgi.service;
> > filter:="(objectClass=org.apache.jackrabbit.oak.spi.mount.MountInfoPr
> > ovider)"; effective:=active
> For now you need to also deploy the oak-store-composite bundle. This
> may change, see OAK-7203 [1].
> Robert
> [1]: https://issues.apache.org/jira/browse/OAK-7203

*Oleg Cohen  |  Principal  |  **A S S U R E B R I D G E*
*Office: +1 617 564 0737  |  Mobile: +1 617 455 7927  |  Fax: +1 888 409
*Email: Oleg.Cohen@assurebridge.com <Oleg.Cohen@assurebridge.com>  **|
 www.assurebridge.com <http://www.assurebridge.com>*

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message