camel-avro and camel-hbase features cannot be installed on RHEL 5

Solution In Progress - Updated -

Issue

camel-avro and camel-hbase features failed to install on JBoss Fuse 6.1 on RHEL 5 due to UnsatisfiedLinkError.

2014-10-01 13:42:14,453 | INFO  | Thread-452       | Console                          | ?                                   ? | 17 - org.apache.karaf.shell.console - 2.3.0.redhat-610379 | Exception caught while executing command
java.lang.Exception: Could not start bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.snappy-java/1.0.4.1.redhat-001 in feature(s) camel-hbase-2.12.0.redhat-610379, camel-avro-2.12.0.redhat-610379: Activator start error in bundle org.apache.servicemix.bundles.snappy-java [1162].
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:477)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:404)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:400)
        at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)
        at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)
        at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)
        at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
        at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
        at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
        at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
        at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
        at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
        at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
        at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)
        at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.doRun(ShellFactoryImpl.java:158)[49:org.apache.karaf.shell.ssh:2.3.0.redhat-610379]
        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4$1.run(ShellFactoryImpl.java:149)
        at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_45]
        at org.apache.karaf.jaas.modules.JaasHelper.doAs(JaasHelper.java:47)[27:org.apache.karaf.jaas.modules:2.3.0.redhat-610379]
        at org.apache.karaf.shell.ssh.ShellFactoryImpl$ShellImpl$4.run(ShellFactoryImpl.java:147)[49:org.apache.karaf.shell.ssh:2.3.0.redhat-610379]
Caused by: org.osgi.framework.BundleException: Activator start error in bundle org.apache.servicemix.bundles.snappy-java [1162].
        at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2437)
        at org.apache.felix.framework.Felix$7.call(Felix.java:2325)
        at org.apache.felix.framework.Felix.runInContext(Felix.java:2188)
        at org.apache.felix.framework.Felix.activateBundle(Felix.java:2323)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2090)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
        at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:474)
        ... 20 more
Caused by: java.lang.UnsatisfiedLinkError: /apps/jboss-fuse-6.1.0.redhat-379/data/cache/bundle1162/version0.0/bundle.jar-lib/0/org/xerial/snappy/native/Linux/amd64/libsnappyjava.so: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /apps/jboss-fuse-6.1.0.redhat-379/data/cache/bundle1162/version0.0/bundle.jar-lib/0/org/xerial/snappy/native/Linux/amd64/libsnappyjava.so)
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)[:1.7.0_45]
        at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)[:1.7.0_45]
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)[:1.7.0_45]
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1864)[:1.7.0_45]
        at java.lang.Runtime.loadLibrary0(Runtime.java:849)[:1.7.0_45]
        at java.lang.System.loadLibrary(System.java:1088)[:1.7.0_45]
        at org.xerial.snappy.SnappyBundleActivator.start(SnappyBundleActivator.java:33)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:645)
        at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2387)
        ... 27 more

Environment

JBoss Fuse 6.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.