ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raul Kripalani <ra...@apache.org>
Subject Re: OSGi Support?
Date Sat, 20 Feb 2016 19:24:25 GMT
Hey John,

Yeah, this is expected. Ignite uses some packages only available in the
Oracle JDK (proprietary Sun packages).

Karaf doesn't export the sun.nio.ch package by default from bundle 0
(system bundle).

You need to add it to the jre.properties file manually in the Karaf etc
directory. Then you restart Karaf and it should be exported by the system
bundle (0).

I'll add these instructions to the Ignite Docs, and also to the Camel wiki,
over the weekend.

Thanks for digging into this, John. I had missed the Camel ticket.

Cheers,
Raúl.
On 20 Feb 2016 15:03, "John D. Ament" <johndament@apache.org> wrote:

> Hey guys
>
> I was looking at a Camel issue this morning.
>
> https://issues.apache.org/jira/browse/CAMEL-9458
>
> It appears that camel-ignite doesn't install properly in Karaf.  Looking at
> it further, it seems that Ignite's OSGi module doesn't install in Karaf,
> directly.  I've copied the output from that ticket here for reference
>
> *karaf*@root()> feature:repo-add ignite 1.5.0.final
>
> Adding feature url
> mvn:org.apache.ignite/ignite-osgi-karaf/1.5.0.final/xml/features
>
> *karaf*@root()> feature:install ignite-core
>
> Error executing command: Unable to resolve root: missing requirement [root]
> osgi.identity; osgi.identity=ignite-core; type=karaf.feature;
> version="[1.5.0.final,1.5.0.final]";
>
> filter:="(&(osgi.identity=ignite-core)(type=karaf.feature)(version>=1.5.0.final)(version<=1.5.0.final))"
> [caused by: Unable to resolve ignite-core/1.5.0.final: missing requirement
> [ignite-core/1.5.0.final] osgi.identity;
> osgi.identity=org.apache.ignite.ignite-core; type=osgi.bundle;
> version="[1.5.0.final,1.5.0.final]"; resolution:=mandatory [caused by:
> Unable to resolve org.apache.ignite.ignite-core/1.5.0.final: missing
> requirement [org.apache.ignite.ignite-core/1.5.0.final]
> osgi.wiring.package; filter:="(osgi.wiring.package=sun.nio.ch)"]]
>
>
> So I was wondering, is your OSGi manifest valid?
>
>
> John
>

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