Please ignore this.

It's working after I've updated the xml namespace from 1.0.0 to 1.3.0.

Regards,
Allan C.


On Fri, Jul 1, 2016 at 8:15 AM, Allan C. <[email protected]> wrote:
> Hi,
>
> I am trying to get my feature installed but encountered this exception:
>
> 08:10:49,424 | ERROR | ShellUtil:149 | 44 | Exception caught while executing
> command
> org.osgi.service.resolver.ResolutionException: Unable to resolve
> org.apache.karaf.features.core/4.0.5: missing requirement
> [org.apache.karaf.features.core/4.0.5] osgi.wiring.package;
> filter:="(osgi.wiring.package=org.eclipse.equinox.region.management)"
>         at
> org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42)[org.apache.felix.framework-5.4.0.jar:]
>         at
> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:404)[org.apache.felix.framework-5.4.0.jar:]
>         at
> org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:179)[org.apache.felix.framework-5.4.0.jar:]
>         at
> org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)[9:org.apache.karaf.features.core:4.0.5]
>         at
> org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[9:org.apache.karaf.features.core:4.0.5]
>         at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152)[9:org.apache.karaf.features.core:4.0.5]
>         at
> org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048)[9:org.apache.karaf.features.core:4.0.5]
>         at
> java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_101]
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_101]
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_101]
>         at java.lang.Thread.run(Thread.java:745)[:1.7.0_101]
>
> This is my features.xml.
>
> <features name="custom-features-1.0.0"
> xmlns="http://karaf.apache.org/xmlns/features/v1.0.0";>
> <repository>mvn:org.apache.karaf.features/framework/4.0.5/xml/features</repository>
> <repository>mvn:org.apache.karaf.features/standard/4.0.5/xml/features</repository>
> <repository>mvn:org.apache.karaf.features/enterprise/4.0.5/xml/features</repository>
> <repository>mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.8.0/xml/features</repository>
> <repository>mvn:org.apache.camel.karaf/apache-camel/2.15.1/xml/features</repository>
> <repository>mvn:org.apache.cxf.karaf/apache-cxf/3.0.4/xml/features</repository>
>
> <feature name="feature-rest" version="1.0.0">
> <feature version="1.3.0">transaction</feature>
> <feature version="1.0.4">jpa</feature>
> <feature version="4.0.5">jndi</feature>
> <feature version="4.3.6.Final">hibernate</feature>
>
> <feature version="2.15.1">camel-core</feature>
> <feature version="2.15.1">camel-blueprint</feature>
> <feature version="2.15.1">camel-bindy</feature>
> <feature version="2.15.1">camel-jpa</feature>
> <feature version="2.15.1">camel-cxf</feature>
> <feature version="2.15.1">camel-spring</feature>
> <feature version="2.15.1">camel-jetty</feature>
>
> <feature version="0.8.0">pax-jdbc-mysql</feature>
> <feature version="0.8.0">pax-jdbc-pool-dbcp2</feature>
> <feature version="0.8.0">pax-jdbc-config</feature>
>
> <bundle>mvn:net.sf.ehcache/ehcache/2.9.1</bundle>
> <bundle>mvn:org.apache.shiro/shiro-core/1.2.3</bundle>
> <bundle>mvn:org.apache.shiro/shiro-ehcache/1.2.3</bundle>
> <bundle>mvn:com.fasterxml.jackson.core/jackson-core/2.4.3</bundle>
> <bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/2.4.3</bundle>
> <bundle>mvn:com.fasterxml.jackson.core/jackson-databind/2.4.3</bundle>
> <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-json-provider/2.4.3</bundle>
> <bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.4.3</bundle>
> <bundle>mvn:javax.ws.rs/javax.ws.rs-api/2.0.1</bundle>
> <bundle>mvn:org.apache.geronimo.specs/geronimo-jpa_2.0_spec/1.1</bundle>
> <bundle>wrap:mvn:org.hibernate.javax.persistence/hibernate-jpa-2.0-api/1.0.1.Final</bundle>
> </feature>
> </features>
>
> Does anyone know which bundle or feature I am missing?
>
> Regards,
> Allan C.

Reply via email to