Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » Kura 2.0.1 webui on BeagleboneBlack Problem(org.eclipse.kura.web.shared.GwtKuraException: INTERNAL_ERROR)
Kura 2.0.1 webui on BeagleboneBlack Problem [message #1741441] Thu, 25 August 2016 07:57 Go to next message
giuseppe ferro is currently offline giuseppe ferroFriend
Messages: 34
Registered: August 2016
Member
Hi,
someone can tell me how to fix this?
(See attached image)

kura 2.0.1 on BeagleBone black
BeagleBone Linux 4.4.15-bone11 # 1 Sun Jul 17 13:24:37 UTC 2016 armv7l GNU / Linux.

below even the kura log file attached

Thanks for your help
  • Attachment: webui.png
    (Size: 124.51KB, Downloaded 212 times)
  • Attachment: kura.log
    (Size: 130.45KB, Downloaded 134 times)
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1741637 is a reply to message #1741441] Fri, 26 August 2016 13:38 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

Since we have not released Kura v2.0.1 yet, I assume you are building this yourself. Which branch are you building from? Have you run your build in an emulator in Eclipse?

The error indicates the web bundle cannot locate a needed service. Can you login to the OSGi console and provide the output of the 'ls' and 'ss' commands?

Thanks,
--Dave

Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1741737 is a reply to message #1741637] Mon, 29 August 2016 07:56 Go to previous messageGo to next message
giuseppe ferro is currently offline giuseppe ferroFriend
Messages: 34
Registered: August 2016
Member
Hi,
Thanks for the answer.
I'm building from "release 2.0.1" branch.
I choose to install on BBB the kura_2.0.1_NONET because the v2.0.0(with and without net) officially released, NOT work.

here is the log that you asked me:
ls
All Components:
ID State Component Name Located in bundle
1 Active org.eclipse.equinox.event org.eclipse.equinox.event(bid=8)
2 Active org.eclipse.kura.data.DataService org.eclipse.kura.core(bid=47)
3 Active org.eclipse.kura.db.DbService org.eclipse.kura.core(bid=47)
4 Active org.eclipse.kura.core.data.transport.mqtt.MqttDataTransport org.eclipse.kura.core(bid=47)
5 Active org.eclipse.kura.ssl.SslManagerService org.eclipse.kura.core(bid=47)
6 Active org.eclipse.kura.system.SystemService org.eclipse.kura.core(bid=47)
7 Active org.eclipse.kura.system.SystemAdminService org.eclipse.kura.core(bid=47)
8 Active org.eclipse.kura.certificate.CertificatesService org.eclipse.kura.core.certificates(bid=48)
9 Active org.eclipse.kura.core.cloud.factory.DefaultCloudServiceFactory org.eclipse.kura.core.cloud(bid=49)
10 Active org.eclipse.kura.cloud.app.command.CommandCloudApp org.eclipse.kura.core.cloud(bid=49)
11 Active org.eclipse.kura.cloud.CloudCallService org.eclipse.kura.core.cloud(bid=49)
12 Active org.eclipse.kura.cloud.CloudService org.eclipse.kura.core.cloud(bid=49)
13 Active org.eclipse.kura.core.comm.CommConnectionFactory org.eclipse.kura.core.comm(bid=50)
14 Active org.eclipse.kura.core.configuration.CloudConfigurationHandler org.eclipse.kura.core.configuration(bid=51)
15 Active org.eclipse.kura.configuration.ConfigurationService org.eclipse.kura.core.configuration(bid=51)
16 Active org.eclipse.kura.crypto.CryptoService org.eclipse.kura.core.crypto(bid=52)
17 Active org.eclipse.kura.core.deployment.CloudDeploymentHandlerV2 org.eclipse.kura.core.deployment(bid=53)
18 Active org.eclipse.kura.log.LoggerService org.eclipse.kura.core.log(bid=54)
19 Active org.eclipse.kura.status.CloudConnectionStatusService org.eclipse.kura.core.status(bid=56)
20 Active org.eclipse.kura.deployment.agent org.eclipse.kura.deployment.agent(bid=57)
21 Active org.eclipse.kura.clock.ClockService org.eclipse.kura.linux.clock(bid=58)
22 Active org.eclipse.kura.command.CommandService org.eclipse.kura.linux.command(bid=59)
23 Unsatisfied org.eclipse.kura.position.PositionService org.eclipse.kura.linux.position(bid=60)
24 Unsatisfied org.eclipse.kura.usb.UsbService org.eclipse.kura.linux.usb(bid=61)
25 Active org.eclipse.kura.bluetooth.BluetoothService org.eclipse.kura.linux.bluetooth(bid=62)
26 Active org.eclipse.kura.watchdog.WatchdogService org.eclipse.kura.linux.watchdog(bid=63)
27 Active org.eclipse.kura.web.Console org.eclipse.kura.web(bid=70)
28 Active org.eclipse.kura.gpio.GPIOService org.eclipse.kura.linux.gpio(bid=71)
29 Active org.eclipse.kura.emulator.Emulator org.eclipse.kura.emulator(bid=72)
30 Active org.eclipse.kura.net.NetworkService org.eclipse.kura.emulator.net(bid=73)

osgi> ss
"Framework is launched."


id State Bundle
0 ACTIVE org.eclipse.osgi_3.8.1.v20120830-144521
Fragments=2
1 ACTIVE org.eclipse.equinox.cm_1.0.400.v20120522-1841
2 RESOLVED org.eclipse.kura.sun.misc_1.0.0
Master=0
3 ACTIVE org.eclipse.equinox.common_3.6.100.v20120522-1841
4 ACTIVE org.eclipse.equinox.registry_3.5.200.v20120522-1841
5 ACTIVE org.eclipse.equinox.http.registry_1.1.200.v20120522-2049
6 ACTIVE org.eclipse.equinox.console_1.0.0.v20120522-1841
7 ACTIVE org.eclipse.equinox.ds_1.4.0.v20120522-1841
8 ACTIVE org.eclipse.equinox.event_1.2.200.v20120522-2049
9 ACTIVE org.eclipse.equinox.io_1.0.400.v20120522-2049
10 ACTIVE org.eclipse.equinox.metatype_1.2.0.v20120522-1841
11 ACTIVE org.eclipse.equinox.util_1.0.400.v20120522-2049
12 ACTIVE org.eclipse.osgi.services_3.3.100.v20120522-1822
13 ACTIVE org.eclipse.osgi.util_3.2.300.v20120522-1822
14 ACTIVE org.apache.felix.gogo.command_0.8.0.v201108120515
15 ACTIVE org.apache.felix.gogo.runtime_0.8.0.v201108120515
16 ACTIVE org.apache.felix.gogo.shell_0.8.0.v201110170705
17 ACTIVE org.knowhowlab.osgi.monitoradmin_1.0.2
18 ACTIVE org.apache.felix.dependencymanager_3.0.0
19 ACTIVE org.apache.felix.deploymentadmin_0.9.5
20 ACTIVE osgi.cmpn_4.3.0.201111022214
21 ACTIVE org.eclipse.equinox.http.jetty_3.0.0.v20120522-1841
22 ACTIVE org.eclipse.equinox.http.servlet_1.1.300.v20120522-1841
23 ACTIVE org.eclipse.jetty.continuation_8.1.3.v20120522
24 ACTIVE org.eclipse.jetty.http_8.1.3.v20120522
25 ACTIVE org.eclipse.jetty.io_8.1.3.v20120522
26 ACTIVE org.eclipse.jetty.security_8.1.3.v20120522
27 ACTIVE org.eclipse.jetty.server_8.1.3.v20120522
28 ACTIVE org.eclipse.jetty.servlet_8.1.3.v20120522
29 ACTIVE org.eclipse.jetty.util_8.1.3.v20120522
30 ACTIVE javax.servlet_3.0.0.v201112011016
31 ACTIVE org.apache.commons.fileupload_1.2.2.v20111214-1400
32 ACTIVE org.apache.commons.io_2.4.0
33 ACTIVE slf4j.api_1.6.4
Fragments=34
34 RESOLVED slf4j.log4j12_1.6.0
Master=33
35 RESOLVED log4j_1.2.17
Fragments=36
36 RESOLVED log4j.apache-log4j-extras_1.1.0
Master=35
37 ACTIVE org.json_1.0.0.v201011060100
38 ACTIVE org.hsqldb.hsqldb_2.3.0
39 ACTIVE com.codeminders.hidapi_1.1.1
40 ACTIVE org.eclipse.soda.dk.comm_1.2.2
41 ACTIVE org.apache.commons.lang3_3.4.0
42 ACTIVE org.usb4java_1.0.0
43 ACTIVE usb4java-javax_1.0.0
44 RESOLVED jdk.dio_1.0.5
45 ACTIVE org.apache.commons.net_3.1.0.v201205071737
46 ACTIVE org.eclipse.kura.api_1.0.8
47 ACTIVE org.eclipse.kura.core_1.0.9
48 ACTIVE org.eclipse.kura.core.certificates_1.0.2
49 ACTIVE org.eclipse.kura.core.cloud_1.0.8
50 ACTIVE org.eclipse.kura.core.comm_1.0.2
51 ACTIVE org.eclipse.kura.core.configuration_1.0.8
52 ACTIVE org.eclipse.kura.core.crypto_1.0.4
53 ACTIVE org.eclipse.kura.core.deployment_1.1.1
54 ACTIVE org.eclipse.kura.core.log_1.0.1
55 ACTIVE org.eclipse.kura.core.net_1.0.8
56 ACTIVE org.eclipse.kura.core.status_1.0.1
57 ACTIVE org.eclipse.kura.deployment.agent_1.0.6
58 ACTIVE org.eclipse.kura.linux.clock_1.0.6
59 ACTIVE org.eclipse.kura.linux.command_1.0.4
60 STARTING org.eclipse.kura.linux.position_1.0.6
61 ACTIVE org.eclipse.kura.linux.usb_1.0.7
62 ACTIVE org.eclipse.kura.linux.bluetooth_1.0.5
63 ACTIVE org.eclipse.kura.linux.watchdog_1.0.5
64 RESOLVED org.eclipse.kura.camel.sun.misc_1.0.0
Master=65
65 RESOLVED org.apache.camel.camel-core_2.16.0
Fragments=64
66 RESOLVED org.apache.camel.camel-core-osgi_2.16.0
67 RESOLVED org.apache.camel.camel-kura_2.16.0
68 ACTIVE org.eclipse.kura.camel_1.0.1
69 RESOLVED com.gwt.user_1.0.0
70 ACTIVE org.eclipse.kura.web_2.0.1
71 ACTIVE org.eclipse.kura.linux.gpio_1.0.1
72 ACTIVE org.eclipse.kura.emulator_1.0.7
73 ACTIVE org.eclipse.kura.emulator.net_1.0.1
74 ACTIVE org.tigris.mtoolkit.iagent.rpc_3.0.0.20110411-0918

Thanks,
Giuseppe F.
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1741821 is a reply to message #1741737] Mon, 29 August 2016 21:47 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

Everything looks okay. I have tested on my BBB and everything works as expected. Have you tried the latest changes on that branch? What OS are you running on the BBB?

There was definitely an issue with Kura v2.0.0 on the BBB. Have you tried the installer that includes networking?

Thanks,
--Dave
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1741879 is a reply to message #1741821] Tue, 30 August 2016 11:35 Go to previous messageGo to next message
giuseppe ferro is currently offline giuseppe ferroFriend
Messages: 34
Registered: August 2016
Member
Hello,

Everything looks okay. I have tested on my BBB and everything works as expected. Have you tried the latest changes on that branch? What OS are you running on the BBB?

- The OS is bone-debian-8.4-iot-armhf-2016-05-13-4gb.
-uname -a: BeagleBone Linux 4.4.15-bone11 # 1 Sun Jul 17 13:24:37 UTC 2016 armv7l GNU / Linux.

There was definitely an issue with Kura v2.0.0 on the BBB. Have you tried the installer that includes networking?
- Yes. i tried all the release of kura 2.0.0

Thanks for the answer.
i will try the latest changes on that branch and I 'll let you know!!

bye
-Giuseppe
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1742257 is a reply to message #1741879] Thu, 01 September 2016 07:17 Go to previous messageGo to next message
giuseppe ferro is currently offline giuseppe ferroFriend
Messages: 34
Registered: August 2016
Member
Hi Dave,
nothing is changed!
I still have this problem:

Thu Sep 01 09:18:34 GMT+200 2016 ErrorLogger INFO: : INTERNAL_ERRORorg.eclipse.kura.web.shared.GwtKuraException: INTERNAL_ERROR
at Unknown.gd(http://192.168.0.15/kura)
at Unknown.pd(http://192.168.0.15/kura)
at Unknown.CUb(http://192.168.0.15/kura)
at Unknown.HUb(http://192.168.0.15/kura)
at Unknown.g2(http://192.168.0.15/kura)
at Unknown.c2(http://192.168.0.15/kura)
at Unknown.B0(http://192.168.0.15/kura)
at Unknown.i1(http://192.168.0.15/kura)
at Unknown.eo(http://192.168.0.15/kura)
at Unknown.so(http://192.168.0.15/kura)
at Unknown.onreadystatechange<(http://192.168.0.15/kura)
at Unknown.je(http://192.168.0.15/kura)
at Unknown.me(http://192.168.0.15/kura)
at Unknown.le/<(http://192.168.0.15/kura)
at Unknown.anonymous(Unknown)
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1742524 is a reply to message #1742257] Fri, 02 September 2016 17:55 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

We have just released v2.0.1, can you try the official installer http://www.eclipse.org/kura/downloads.php?

If it is still not working, can you post the output of these commands:
ps aux | grep java
netstat -tulnp | grep 80

Thanks,
--Dave
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1742560 is a reply to message #1742524] Mon, 05 September 2016 08:13 Go to previous messageGo to next message
giuseppe ferro is currently offline giuseppe ferroFriend
Messages: 34
Registered: August 2016
Member
Hi Dave,
thank you for the news.

Unfortunatly kura still not working.
there's some service that i have to disable? i follow the eclipse kura guide.
I have to modify the config.ini file?? (i modify this file for correctly running kura 1.4.0)

root@beaglebone:~# ps aux | grep java
root 676 24.0 26.5 360100 134364 ? Sl 08:07 0:32 java -Xms256m -Xmx256m -XX:MaxPermSize=64m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/kura-heapdump.hprof -XX:ErrorFile=/var/log/kura-error.log -Dkura.os.version=debian -Dkura.arch=armv7_hf -Dtarget.device=beaglebone -Declipse.ignoreApp=true -Dkura.home=/opt/eclipse/kura/kura -Dkura.configuration=file:/opt/eclipse/kura/kura/kura.properties -Dkura.custom.configuration=file:/opt/eclipse/kura/kura/kura_custom.properties -Dkura.data.dir=/opt/eclipse/kura/data -Ddpa.configuration=/opt/eclipse/kura/kura/dpa.properties -Dlog4j.configuration=file:/opt/eclipse/kura/kura/log4j.properties -Djava.security.policy=/opt/eclipse/kura/kura/jdk.dio.policy -Djdk.dio.registry=/opt/eclipse/kura/kura/jdk.dio.properties -Djdk.tls.trustNameService=true -jar /opt/eclipse/kura/plugins/org.eclipse.osgi_3.8.1.v20120830-144521.jar -configuration /tmp/.kura/configuration -console 5002 -consoleLog

root@beaglebone:~# netstat -tulnp | grep 80
tcp6 0 0 :::80 :::* LISTEN 676/java
tcp6 0 0 :::8080 :::* LISTEN 839/apache2

Thanks for help
Giuseppe

[Updated on: Mon, 05 September 2016 08:15]

Report message to a moderator

Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1742718 is a reply to message #1742560] Tue, 06 September 2016 21:13 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
I am running a slightly older version of Debian on the BBB, I will try and update to see if that is causing a problem. I will let you know. Have you tried clearing your browser's cache or trying a different browser entirely?

--Dave
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1742785 is a reply to message #1742718] Wed, 07 September 2016 14:53 Go to previous messageGo to next message
giuseppe ferro is currently offline giuseppe ferroFriend
Messages: 34
Registered: August 2016
Member
Hi Dave,
I've tried Edge,Chrome and Firefox...all the same story!

Thanks for your time.
I look forward for your feedback
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1743256 is a reply to message #1742785] Tue, 13 September 2016 15:51 Go to previous messageGo to next message
giuseppe ferro is currently offline giuseppe ferroFriend
Messages: 34
Registered: August 2016
Member
hello Dave,
I would like to know if you have tried the system after the debian update.
I'm still stuck and waiting for your response.
Thank you

Giuseppe
Re: Kura 2.0.1 webui on BeagleboneBlack Problem [message #1743478 is a reply to message #1743256] Thu, 15 September 2016 19:02 Go to previous message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
We are tracking the issue here: https://github.com/eclipse/kura/issues/548

Thanks,
--Dave
Previous Topic:Need Help : Working With Kura SPI on RPi
Next Topic:Log file Management
Goto Forum:
  


Current Time: Wed Apr 24 20:50:57 GMT 2024

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

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

Back to the top