[jira] [Resolved] (KARAF-4578) Fileinstaller does not install bundle to root region after clean start

2016-09-25 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-4578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved KARAF-4578.

   Resolution: Fixed
 Assignee: Guillaume Nodet  (was: Jean-Baptiste Onofré)
Fix Version/s: 4.0.8
   4.1.0

> Fileinstaller does not install bundle to root region after clean start
> --
>
> Key: KARAF-4578
> URL: https://issues.apache.org/jira/browse/KARAF-4578
> Project: Karaf
>  Issue Type: Bug
>  Components: karaf-core, karaf-feature
>Affects Versions: 4.0.5
>Reporter: Benjamin Graf
>Assignee: Guillaume Nodet
>Priority: Critical
> Fix For: 4.1.0, 4.0.8
>
>
> The file installer is starting to work in parallel to the activation of 
> org.apache.karaf.features.core which does the region hook initialization. 
> This causes that bundles are installed to no region causing them not to get 
> sucessfully resolved. Might also be the cause of KARAF-4498.



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


[jira] [Resolved] (KARAF-4498) Fileinstall polls too early on clean start

2016-09-25 Thread Guillaume Nodet (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet resolved KARAF-4498.

   Resolution: Fixed
 Assignee: Guillaume Nodet
Fix Version/s: 4.0.8
   4.1.0

> Fileinstall polls too early on clean start
> --
>
> Key: KARAF-4498
> URL: https://issues.apache.org/jira/browse/KARAF-4498
> Project: Karaf
>  Issue Type: Bug
>Affects Versions: 4.0.4
> Environment: Windows 7
>Reporter: Volker Althaus
>Assignee: Guillaume Nodet
> Fix For: 4.1.0, 4.0.8
>
> Attachments: bug-screencast.mp4, bug-setup.zip
>
>
> In the deploy folder is a bundle with a Spring driven Camel route. As boot 
> features "camel-spring" and "spring-dm" are given.
> On a clean Karaf start in nearly 9 out of 10 times the CamelContext is 
> started, but the "context-list" command output is empty, the Camel route 
> itself however is started and running correctly.
> Is looks like fileinstall does not regard the property 
> "felix.fileinstall.active.level=80" and polls too early, so likely some 
> BundleListeners like the one which registers the CamelContext for the 
> "context-list" command are not available yet.
> A real hot deploy at runtime works all time, the context appears correctly.
> In Karaf 2 and 3 this issue did not appear.
> Attached to this issue is a setup with the hot deploy folder and a customized 
> features.cfg. Simple extract into a vanilla Karaf 4.0.4. Because it is a 
> timing problem and it could be not reproducible, on demand I can also attach 
> a screencast which shows the bug on my system.



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


[jira] [Commented] (KARAF-4714) shell (so also ssh) not working anymore on ARM

2016-09-25 Thread JIRA

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

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

I didn't see a vote on 4.0.7 and I already provided the explanation on the vote 
thread.

> 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.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.(CLibrary.java:42)
> at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
> at org.fusesource.jansi.AnsiConsole.(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)


[jira] [Updated] (KARAF-4714) shell (so also ssh) not working anymore on ARM

2016-09-25 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KARAF-4714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated KARAF-4714:

Priority: Blocker  (was: Major)

> 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.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.(CLibrary.java:42)
> at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
> at org.fusesource.jansi.AnsiConsole.(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)


[jira] [Commented] (KARAF-4714) shell (so also ssh) not working anymore on ARM

2016-09-25 Thread Achim Nierbeck (JIRA)

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

Achim Nierbeck commented on KARAF-4714:
---

we love contribution :-)
it has been addressed on the ml 
https://lists.apache.org/thread.html/d19fda54132fbe9f16ee1caf621122c8e3a8feea1d2bc501d725a9ff@%3Cdev.karaf.apache.org%3E


> 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é
> Fix For: 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.(CLibrary.java:42)
> at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
> at org.fusesource.jansi.AnsiConsole.(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)


[jira] [Commented] (KARAF-4714) shell (so also ssh) not working anymore on ARM

2016-09-25 Thread Kai Kreuzer (JIRA)

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

Kai Kreuzer commented on KARAF-4714:


And a not working distro is no reason to vote against it?
I personally would consider this to be a blocking issue, unless you say that 
Karaf isn't supported on ARM at all.

> 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é
> Fix For: 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.(CLibrary.java:42)
> at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
> at org.fusesource.jansi.AnsiConsole.(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)


[jira] [Commented] (KARAF-4714) shell (so also ssh) not working anymore on ARM

2016-09-25 Thread Achim Nierbeck (JIRA)

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

Achim Nierbeck commented on KARAF-4714:
---

It should be tackled with 4.0.8, as 4.0.7 is on vote already

> 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é
> Fix For: 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.(CLibrary.java:42)
> at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
> at org.fusesource.jansi.AnsiConsole.(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)


[jira] [Updated] (KARAF-4714) shell (so also ssh) not working anymore on ARM

2016-09-25 Thread Achim Nierbeck (JIRA)

 [ 
https://issues.apache.org/jira/browse/KARAF-4714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Achim Nierbeck updated KARAF-4714:
--
Fix Version/s: 4.0.8

> 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é
> Fix For: 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.(CLibrary.java:42)
> at org.fusesource.jansi.AnsiConsole.wrapOutputStream(AnsiConsole.java:48)
> at org.fusesource.jansi.AnsiConsole.(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)