Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Kura installation issue on Raspberian Virtualbox image
Kura installation issue on Raspberian Virtualbox image [message #1776849] Wed, 22 November 2017 09:20 Go to next message
fatih ayvaz is currently offline fatih ayvazFriend
Messages: 10
Registered: October 2017
Junior Member
I am unable to install Kura on Raspberian Virtualbox image. I guess the root cause of this problem is that UnsatisfiedLinkError for no EurotechLinuxUdev in java.library.path. However, I dont know hot to solve this. Appreciated if you could help.

thanks


!ENTRY org.eclipse.equinox.ds 4 0 2017-11-22 08:26:49.626
!MESSAGE [SCR] Exception while activating instance org.eclipse.kura.linux.usb.UsbServiceImpl@1b4dd09 of component org.eclipse.kura.usb.UsbService
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
Caused by: java.lang.UnsatisfiedLinkError: no EurotechLinuxUdev in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.eclipse.kura.linux.usb.LinuxUdevNative$1.run(LinuxUdevNative.java:51)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.kura.linux.usb.LinuxUdevNative.<clinit>(LinuxUdevNative.java:45)
at org.eclipse.kura.linux.usb.UsbServiceImpl.activate(UsbServiceImpl.java:52)
... 15 more
Root exception:
java.lang.UnsatisfiedLinkError: no EurotechLinuxUdev in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.eclipse.kura.linux.usb.LinuxUdevNative$1.run(LinuxUdevNative.java:51)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.kura.linux.usb.LinuxUdevNative.<clinit>(LinuxUdevNative.java:45)
at org.eclipse.kura.linux.usb.UsbServiceImpl.activate(UsbServiceImpl.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)

!ENTRY org.eclipse.equinox.ds 4 0 2017-11-22 08:26:49.631
!MESSAGE [SCR] Exception while activating instance org.eclipse.kura.linux.usb.UsbServiceImpl@1b4dd09 of component org.eclipse.kura.usb.UsbService
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
Caused by: java.lang.UnsatisfiedLinkError: no EurotechLinuxUdev in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.eclipse.kura.linux.usb.LinuxUdevNative$1.run(LinuxUdevNative.java:51)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.kura.linux.usb.LinuxUdevNative.<clinit>(LinuxUdevNative.java:45)
at org.eclipse.kura.linux.usb.UsbServiceImpl.activate(UsbServiceImpl.java:52)
... 15 more
Root exception:
java.lang.UnsatisfiedLinkError: no EurotechLinuxUdev in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at org.eclipse.kura.linux.usb.LinuxUdevNative$1.run(LinuxUdevNative.java:51)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.kura.linux.usb.LinuxUdevNative.<clinit>(LinuxUdevNative.java:45)
at org.eclipse.kura.linux.usb.UsbServiceImpl.activate(UsbServiceImpl.java:52)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:235)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473)
at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217)
at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816)
at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783)
at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89)
at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70)
Re: Kura installation issue on Raspberian Virtualbox image [message #1776906 is a reply to message #1776849] Wed, 22 November 2017 16:36 Go to previous messageGo to next message
Benjamin Cabé is currently offline Benjamin CabéFriend
Messages: 201
Registered: July 2009
Location: Toulouse, France
Senior Member

I am not sure what you mean by Raspbian virtualbox image. Since raspbian is meant to run on Arm, you need more than just virtualbox to emulate the Arm processor from your host laptop. You would need to use something like qemu.

Re: Kura installation issue on Raspberian Virtualbox image [message #1777240 is a reply to message #1776906] Mon, 27 November 2017 11:31 Go to previous messageGo to next message
fatih ayvaz is currently offline fatih ayvazFriend
Messages: 10
Registered: October 2017
Junior Member
Hi Benjamin -

Thanks for your answer. I am using the image given below link:
http://rpf.io/x86iso

Actually, what the rasbian image on virtualbox means that.

I found in the following link there is something similar experienced in the past:
https://dev.eclipse.org/mhonarc/lists/kura-dev/msg00407.html

I could access Kura via webUI by means of not network image as mentioned in the link. However, still have an issue related to native library. It looks like the method mentioned in the link addresses my issue. Hope it will solve my issue.

thanks,
-fatih


Re: Kura installation issue on Raspberian Virtualbox image [message #1777262 is a reply to message #1777240] Mon, 27 November 2017 16:54 Go to previous message
Matteo Maiero is currently offline Matteo MaieroFriend
Messages: 279
Registered: July 2015
Location: Italy
Senior Member
Hi,
x86 architecture is currently not supported by Kura.
That's the reason why the native libraries do not load in your environment,

Best regards,
Matteo
Previous Topic:Kura example Modbus: org.eclipse.kura.demo.modbus
Next Topic:Kura Wires - bug ??
Goto Forum:
  


Current Time: Sat Nov 17 05:09:07 GMT 2018

Powered by FUDForum. Page generated in 0.02106 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top