[
https://issues.apache.org/jira/browse/IGNITE-7670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maxim Muzafarov updated IGNITE-7670:
------------------------------------
Labels: ignite-osgi (was: )
> Errors Installing Ignite OSGi Karaf features on JBoss fuse
> ----------------------------------------------------------
>
> Key: IGNITE-7670
> URL: https://issues.apache.org/jira/browse/IGNITE-7670
> Project: Ignite
> Issue Type: Bug
> Components: osgi
> Affects Versions: 2.3
> Environment: jboss-fuse-6.2.1.redhat-159
> Reporter: Stefano Violi
> Priority: Critical
> Labels: ignite-osgi
>
> Installing Ignite's features repository on JBoss Fuse generates the following
> error:
> *Karaf shell command:*
> JBossFuse:karaf@root18007> features:addurl
> mvn:org.apache.ignite/ignite-osgi-karaf/2.3.0/xml/features
> *Error:*
> Error executing command: Unable to add repositories:
> Unrecognized root element:
> \{http://karaf.apache.org/xmlns/features/v1.3.0}features
>
> I also generated a new feature repository compliant with Fuse, adding the
> ignite-core and ignite-indexing features: in this way i installed them on
> JBoss Fuse.
> By the way, when i use these features from my component and I start Ignite
> with the following Java code
> Ignition.start();
> I get the following error:
> Caused by: java.lang.NoClassDefFoundError: org/h2/server/Service
> at java.lang.Class.forName0(Native Method)[:1.8.0_112]
> at java.lang.Class.forName(Class.java:264)[:1.8.0_112]
> at
> org.apache.ignite.internal.IgniteComponentType.inClassPath(IgniteComponentType.java:153)
>
> I think there is some OSGi package import/export problem on Ignite features
> and boundles.
> Below the feature:
>
> feature name="ignite-core" version="2.3.0" description="Apache Ignite ::
> Core">
> <details><![CDATA[The Apache Ignite core module. This feature also
> installs the JCache 1.0 specification API.]]></details>
> <bundle start="true"
> dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax-cache-api/1.0.0_1</bundle>
> <bundle
> dependency="true">mvn:org.apache.ignite/ignite-osgi/2.5.0-SNAPSHOT</bundle>
> <bundle
> start="true">mvn:org.apache.ignite/ignite-core/2.5.0-SNAPSHOT</bundle>
> </feature>
>
> <feature name="ignite-indexing" version="2.3.0" description="Apache
> Ignite :: Indexing">
> <details>
> <![CDATA[The Apache Ignite Indexing module + dependencies. This
> module is a fragment of ignite-core.
>
> Be sure to refresh ignite-core manually in case it is not
> refreshed automatically.]]>
> </details>
> <bundle start="true"
> dependency="true">mvn:org.osgi/org.osgi.enterprise/5.0.0</bundle>
> <bundle start="true"
> dependency="true">mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.lucene/5.5.2_1</bundle>
> <bundle start="true"
> dependency="true">mvn:com.h2database/h2/1.4.195</bundle>
> <bundle
> start="false">mvn:org.apache.ignite/ignite-indexing/2.3.0</bundle>
> </feature>
>
> Thanks
> Kind regards
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)