Try "features:install camel-jpa"

On Tue, Apr 8, 2014 at 4:29 PM, John Dubchak <[email protected]> wrote:

> Hi,
>
> I just downloaded a fresh copy of the SMX 5.0.0 deploy from the website
> and started it up with:
>
>      $ bin/servicemix
>
> Then I attempted to install camel-jpa and received the following error:
>
> karaf@root> osgi:install camel-jpa
> Bundle IDs:
> Error executing command: Error installing bundles:
>     Unable to install bundle camel-jpa
>
> Displaying log:display-exception:
>
> org.apache.karaf.shell.console.MultiException: Error installing bundles:
>     Unable to install bundle camel-jpa
>     at org.apache.karaf.shell.console.MultiException.
> throwIf(MultiException.java:91)
>     at org.apache.karaf.shell.osgi.InstallBundle.doExecute(
> InstallBundle.java:70)[39:org.apache.karaf.shell.osgi:2.3.4]
>     at org.apache.karaf.shell.console.OsgiCommandSupport.
> execute(OsgiCommandSupport.java:38)[15:org.apache.karaf.
> shell.console:2.3.4]
>     at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(
> AbstractCommand.java:35)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.CommandProxy.execute(
> CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.
> java:474)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.executeStatement(
> Closure.java:400)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:
> org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:
> 183)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:
> 120)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(
> CommandSessionImpl.java:89)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.karaf.shell.console.jline.Console.run(
> Console.java:183)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.karaf.shell.console.jline.DelayedStarted.
> run(DelayedStarted.java:79)[15:org.apache.karaf.shell.console:2.3.4]
> Caused by: java.lang.Exception: Unable to install bundle camel-jpa
>     at org.apache.karaf.shell.osgi.InstallBundle.doExecute(
> InstallBundle.java:45)[39:org.apache.karaf.shell.osgi:2.3.4]
>     ... 11 more
> Caused by: org.osgi.framework.BundleException: Unable to cache bundle:
> camel-jpa
>     at org.apache.felix.framework.Felix.installBundle(Felix.
> java:2703)[org.apache.felix.framework-4.0.3.jar:]
>     at org.apache.felix.framework.BundleContextImpl.installBundle(
> BundleContextImpl.java:165)[org.apache.felix.framework-4.0.3.jar:]
>     at org.apache.karaf.shell.osgi.InstallBundle.doExecute(
> InstallBundle.java:43)[39:org.apache.karaf.shell.osgi:2.3.4]
>     ... 11 more
> Caused by: java.net.MalformedURLException: no protocol: camel-jpa
>     at java.net.URL.<init>(URL.java:585)[:1.7.0_45]
>     at org.apache.felix.framework.util.SecureAction.createURL(
> SecureAction.java:254)[org.apache.felix.framework-4.0.3.jar:]
>     at org.apache.felix.framework.cache.JarRevision.initialize(
> JarRevision.java:148)[org.apache.felix.framework-4.0.3.jar:]
>     at org.apache.felix.framework.cache.JarRevision.<init>(
> JarRevision.java:77)[org.apache.felix.framework-4.0.3.jar:]
>     at org.apache.felix.framework.cache.BundleArchive.
> createRevisionFromLocation(BundleArchive.java:878)[org.
> apache.felix.framework-4.0.3.jar:]
>     at org.apache.felix.framework.cache.BundleArchive.
> reviseInternal(BundleArchive.java:550)[org.apache.felix.
> framework-4.0.3.jar:]
>     at org.apache.felix.framework.cache.BundleArchive.<init>(
> BundleArchive.java:153)[org.apache.felix.framework-4.0.3.jar:]
>     at org.apache.felix.framework.cache.BundleCache.create(
> BundleCache.java:277)[org.apache.felix.framework-4.0.3.jar:]
>     at org.apache.felix.framework.Felix.installBundle(Felix.
> java:2699)[org.apache.felix.framework-4.0.3.jar:]
>     ... 13 more
>
> Am I doing things in the correct order?  I also notice that trying to
> install the JNDI feature produces the following error as well:
>
> karaf@root> features:install jndi
> Error executing command: Can not resolve feature:
> Unsatisfied requirement(s):
> ---------------------------
>    service:(service=org.apache.aries.proxy.ProxyManager)
>       Apache Karaf :: JNDI :: Core
>
> Exception for the above:
>
>     at org.apache.karaf.features.obr.internal.ObrResolver.resolve(
> ObrResolver.java:129)[34:org.apache.karaf.features.obr:2.3.4]
>     at org.apache.karaf.features.internal.FeaturesServiceImpl.
> resolve(FeaturesServiceImpl.java:657)[26:org.apache.karaf.
> features.core:2.3.4]
>     at org.apache.karaf.features.internal.FeaturesServiceImpl.
> doInstallFeature(FeaturesServiceImpl.java:620)[
> 26:org.apache.karaf.features.core:2.3.4]
>     at org.apache.karaf.features.internal.FeaturesServiceImpl.
> installFeatures(FeaturesServiceImpl.java:417)[
> 26:org.apache.karaf.features.core:2.3.4]
>     at org.apache.karaf.features.internal.FeaturesServiceImpl.
> installFeature(FeaturesServiceImpl.java:405)[26:org.apache.karaf.features.
> core:2.3.4]
>     at org.apache.karaf.features.internal.FeaturesServiceImpl.
> installFeature(FeaturesServiceImpl.java:401)[26:org.apache.karaf.features.
> core:2.3.4]
>     at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(
> InstallFeatureCommand.java:62)[28:org.apache.karaf.features.command:2.3.4]
>     at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(
> FeaturesCommandSupport.java:41)[28:org.apache.karaf.
> features.command:2.3.4]
>     at org.apache.karaf.shell.console.OsgiCommandSupport.
> execute(OsgiCommandSupport.java:38)[15:org.apache.karaf.
> shell.console:2.3.4]
>     at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(
> AbstractCommand.java:35)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.CommandProxy.execute(
> CommandProxy.java:78)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.
> java:474)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.executeStatement(
> Closure.java:400)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:
> org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:
> 183)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:
> 120)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(
> CommandSessionImpl.java:89)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.karaf.shell.console.jline.Console.run(
> Console.java:183)[15:org.apache.karaf.shell.console:2.3.4]
>     at org.apache.karaf.shell.console.jline.DelayedStarted.
> run(DelayedStarted.java:79)[15:org.apache.karaf.shell.console:2.3.4]
>
> Any thoughts are appreciated.
>
> Thanks,
> John
>



-- 
Cheers,
Jon
---------------
Red Hat, Inc.
Email: [email protected]
Web: http://redhat.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Reply via email to