karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-4714) shell (so also ssh) not working anymore on ARM
Date Mon, 12 Dec 2016 20:17:58 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15743026#comment-15743026
] 

Jean-Baptiste Onofré commented on KARAF-4714:
---------------------------------------------

I think I found the root cause of the problem: in Karaf 4.0.6, jansi has been "externalized"
from jline and we use jna loading. This changed the way the native libraries are loaded, and
breaks the ARM and Solaris support (and basically any platform not x86).
I'm evaluating the revert of this change.

> shell (so also ssh) not working anymore on ARM
> ----------------------------------------------
>
>                 Key: KARAF-4714
>                 URL: https://issues.apache.org/jira/browse/KARAF-4714
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 4.0.6
>            Reporter: Markus Rathgeb
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 4.1.0, 4.0.8
>
>         Attachments: karaf.log.k405.txt, karaf.log.k406.txt
>
>
> The official Karaf 4.0.6 distribution (the archive "apache-karaf-4.0.6.tar.gz" from your
homepage) does not work correctly on ARM systems.
> I unpacked and started the official distribution (bin/karaf).
> The log file shows this content:
> {noformat}
> 2016-09-14 19:25:16,104 | ERROR | pool-7-thread-1  |
> BootFeaturesInstaller            | 8 - org.apache.karaf.features.core
> - 4.0.6 | Error installing boot features
> org.apache.karaf.features.internal.util.MultiException: Error restarting bundles
>     at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:854)[8:org.apache.karaf.features.core:4.0.6]
>     at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[8:org.apache.karaf.features.core:4.0.6]
>     at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[8:org.apache.karaf.features.core:4.0.6]
>     at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
>     at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
> Caused by: org.osgi.framework.BundleException: Activator start error
> in bundle org.apache.karaf.shell.core [43].
>     at org.apache.felix.framework.Felix.activateBundle(Felix.java:2276)[org.apache.felix.framework-5.4.0.jar:]
>     at org.apache.felix.framework.Felix.startBundle(Felix.java:2144)[org.apache.felix.framework-5.4.0.jar:]
>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)[org.apache.felix.framework-5.4.0.jar:]
>     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)[org.apache.felix.framework-5.4.0.jar:]
>     at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1286)[8:org.apache.karaf.features.core:4.0.6]
>     at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:846)[8:org.apache.karaf.features.core:4.0.6]
>     ... 6 more
> Caused by: java.lang.UnsatisfiedLinkError: Could not load library.
> Reasons: [no jansi in java.library.path,
> /home/alarm/apache-karaf-4.0.6/data/tmp/libjansi-32-1562974624645500249.so:
> /home/alarm/apache-karaf-4.0.6/data/tmp/libjansi-32-1562974624645500249.so:
> cannot open shared object file: No such file or directory (Possible
> cause: can't load IA 32-bit .so on a ARM-bit platform)]
>     at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
>     at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
>     at org.fusesource.jansi.internal.CLibrary.<clinit>(CLibrary.java:42)
>     at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
>     at org.fusesource.jansi.AnsiConsole.<clinit>(AnsiConsole.java:38)
>     at org.apache.karaf.shell.impl.console.osgi.StreamWrapUtil.wrap(StreamWrapUtil.java:62)
>     at org.apache.karaf.shell.impl.console.osgi.StreamWrapUtil.reWrap(StreamWrapUtil.java:89)
>     at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager$2.run(LocalConsoleManager.java:81)
>     at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager$2.run(LocalConsoleManager.java:76)
>     at java.security.AccessController.doPrivileged(Native Method)[:1.8.0_65]
>     at org.apache.karaf.util.jaas.JaasHelper.doAs(JaasHelper.java:93)
>     at org.apache.karaf.shell.impl.console.osgi.LocalConsoleManager.start(LocalConsoleManager.java:76)
>     at org.apache.karaf.shell.impl.console.osgi.Activator.start(Activator.java:112)
>     at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
>     at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226)
>     ... 11 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message