Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Kura » kura crashing when loading web ui(just installed 1.2.1 on beagle bone and it constantly crashes - every time the web ui is requested)
icon13.gif  kura crashing when loading web ui [message #1706961] Tue, 01 September 2015 08:07 Go to next message
paul stanton is currently offline paul stantonFriend
Messages: 87
Registered: July 2009
Member
I've gone with what I thought was a clean install of the latest release:
kura_1.2.1_beaglebone_debian_armv7.deb

I've followed this procedure:

rm -fr /opt/eclipse/kura*
rm -fr /tmp/.kura/
rm /etc/init.d/firewall
rm /etc/dhcpd-*.conf
rm /etc/named.conf
rm /etc/wpa_supplicant.conf
rm /etc/hostapd.conf
rm /tmp/coninfo-*
rm /var/log/kura.log
killall java hostapd named dhcpd

systemctl disable cloud9.service
systemctl disable gateone.service
systemctl disable bonescript.service
systemctl disable bonescript.socket
systemctl disable bonescript-autorun.service
systemctl disable avahi-daemon.service
systemctl disable gdm.service
systemctl disable mpd.service

sudo apt-get update

sudo apt-get install hostapd
sudo apt-get install bind9
sudo apt-get install isc-dhcp-server
sudo apt-get install iw
sudo apt-get install monit
sudo apt-get install dos2unix
sudo apt-get install telnet

wget https://s3.amazonaws.com/kura_downloads/debian/release/1.2.1/kura_1.2.1_beaglebone_debian_armv7.deb
sudo dpkg -i kura_1.2.1_beaglebone_debian_armv7.deb
sudo apt-get install -f

reboot


After reboot, I can see the process running, access osgi via telnet etc, however once I try to load the web ui in a browser, the web page half loads and then kura crashes. I guess it's configured to restart its self, because that is the next thing that happens.

Nothing obvious in the logs, no warnings, exceptions, errors.

Any tips?

kura-console.log:
Kura Started (pid=1515) ...
crash!
Kura Started (pid=1827) ...


kura.log:
2015-09-01 08:03:14,057 [qtp2646999-34 - /denali/skin/skin.js?v=1] DEBUG o.e.j.s.h.ContextHandler - context=||/denali/skin/skin.js @ o.e.j.s.ServletContextHandler{/,null}
2015-09-01 08:03:14,050 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.h.ContextHandler - scope null||/denali/skin/skin.css @ o.e.j.s.ServletContextHandler{/,null}
2015-09-01 08:03:14,061 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.h.ContextHandler - scope null||/denali/device @ o.e.j.s.ServletContextHandler{/,null}
2015-09-01 08:03:14,077 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.h.ContextHandler - context=||/denali/device @ o.e.j.s.ServletContextHandler{/,null}
2015-09-01 08:03:14,073 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.h.ContextHandler - context=||/denali/skin/skin.css @ o.e.j.s.ServletContextHandler{/,null}
2015-09-01 08:03:14,073 [qtp2646999-34 - /denali/skin/skin.js?v=1] DEBUG o.e.j.s.session - Got Session ID bni39ikmd57l113wh8wv9snm7 from cookie
2015-09-01 08:03:14,089 [qtp2646999-34 - /denali/skin/skin.js?v=1] DEBUG o.e.j.s.session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@eaf0d7
2015-09-01 08:03:14,092 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.session - Got Session ID bni39ikmd57l113wh8wv9snm7 from cookie
2015-09-01 08:03:14,091 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.session - Got Session ID bni39ikmd57l113wh8wv9snm7 from cookie
2015-09-01 08:03:14,104 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@eaf0d7
2015-09-01 08:03:14,099 [qtp2646999-34 - /denali/skin/skin.js?v=1] DEBUG o.e.j.s.session - session=org.eclipse.jetty.server.session.HashedSession:bni39ikmd57l113wh8wv9snm7@21235139
2015-09-01 08:03:14,106 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.session - sessionManager=org.eclipse.jetty.server.session.HashSessionManager@eaf0d7
2015-09-01 08:03:14,118 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.session - session=org.eclipse.jetty.server.session.HashedSession:bni39ikmd57l113wh8wv9snm7@21235139
2015-09-01 08:03:14,117 [qtp2646999-34 - /denali/skin/skin.js?v=1] DEBUG o.e.j.s.ServletHandler - servlet ||/denali/skin/skin.js -> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-17712909
2015-09-01 08:03:14,128 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.ServletHandler - servlet ||/denali/device -> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-17712909
2015-09-01 08:03:14,122 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.session - session=org.eclipse.jetty.server.session.HashedSession:bni39ikmd57l113wh8wv9snm7@21235139
2015-09-01 08:03:14,132 [qtp2646999-34 - /denali/skin/skin.js?v=1] DEBUG o.e.j.s.ServletHandler - chain=null
2015-09-01 08:03:14,143 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.ServletHandler - chain=null
2015-09-01 08:03:14,140 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.ServletHandler - servlet ||/denali/skin/skin.css -> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-17712909
2015-09-01 08:03:14,155 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.ServletHandler - chain=null
2015-09-01 08:03:14,224 [qtp2646999-34 - /denali/skin/skin.js?v=1] WARN  o.e.k.w.s.s.SkinServlet - Resource Directory /opt/eclipse/kura/console/skin does not exist
2015-09-01 08:03:14,229 [qtp2646999-32 - /denali/skin/skin.css?v=1] WARN  o.e.k.w.s.s.SkinServlet - Resource Directory /opt/eclipse/kura/console/skin does not exist
2015-09-01 08:03:14,244 [qtp2646999-34 - /denali/skin/skin.js?v=1] DEBUG o.e.j.s.Server - RESPONSE /denali/skin/skin.js  200
2015-09-01 08:03:14,251 [qtp2646999-32 - /denali/skin/skin.css?v=1] DEBUG o.e.j.s.Server - RESPONSE /denali/skin/skin.css  200
2015-09-01 08:03:14,279 [qtp2646999-34] DEBUG o.e.j.s.AsyncHttpConnection - Enabled read interest SCEP@9e0cdc{l(/10.0.0.100:63323)<->r(/10.0.0.103:80),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@5e6cf7,g=HttpGenerator{s=4,h=0,b=-1,c=-1},p=HttpParser{s=0,l=10,c=0},r=4}
2015-09-01 08:03:14,285 [qtp2646999-34] DEBUG o.e.j.h.HttpParser - filled 0/0
2015-09-01 08:03:14,284 [qtp2646999-32] DEBUG o.e.j.s.AsyncHttpConnection - Enabled read interest SCEP@f4234b{l(/10.0.0.100:63325)<->r(/10.0.0.103:80),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@39409a,g=HttpGenerator{s=4,h=0,b=-1,c=-1},p=HttpParser{s=0,l=9,c=0},r=2}
2015-09-01 08:03:14,291 [qtp2646999-32] DEBUG o.e.j.h.HttpParser - filled 0/0
2015-09-01 08:03:14,433 [qtp2646999-33 - /denali/device] INFO  / - org.eclipse.kura.web.server.GwtDeviceServiceImpl: Trying www resource2: /www/denali/AAC68F551702B7B015A9BD9B6C88670D.gwt.rpc
2015-09-01 08:03:14,892 [qtp2646999-33 - /denali/device] DEBUG o.e.j.s.Server - RESPONSE /denali/device  200
2015-09-01 08:03:14,899 [qtp2646999-33] DEBUG o.e.j.s.AsyncHttpConnection - Enabled read interest SCEP@b961d6{l(/10.0.0.100:63324)<->r(/10.0.0.103:80),d=true,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=1r}-{AsyncHttpConnection@c62e1a,g=HttpGenerator{s=4,h=0,b=0,c=-1},p=HttpParser{s=0,l=8,c=149},r=2}
2015-09-01 08:03:14,902 [qtp2646999-33] DEBUG o.e.j.h.HttpParser - filled 0/0
2015-09-01 08:03:15,529 [qtp2646999-34] DEBUG o.e.j.h.HttpParser - filled 659/659
2015-09-01 08:03:15,546 [qtp2646999-32] DEBUG o.e.j.h.HttpParser - filled 681/681
2015-09-01 08:03:15,551 [qtp2646999-30] DEBUG o.e.j.h.HttpParser - filled 674/674
crash!
2015-09-01 08:03:29,364 [UdevHotplugThread] INFO  o.e.k.l.u.LinuxUdevNative - Starting LinuxUdevNative Thread ...
2015-09-01 08:03:29,558 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Loaded URL kura.properties: file:/opt/eclipse/kura/kura/kura.properties
2015-09-01 08:03:29,562 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Loaded URL kura_custom.properties: file:/opt/eclipse/kura/kura/kura_custom.properties
2015-09-01 08:03:29,565 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Kura has net admin? true
2015-09-01 08:03:29,566 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Kura has web interface? true
2015-09-01 08:03:29,567 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Kura version? KURA_1.2.1
2015-09-01 08:03:29,570 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Kura home directory is /opt/eclipse/kura/kura
2015-09-01 08:03:29,571 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Kura snapshots directory is /opt/eclipse/kura/data/snapshots
2015-09-01 08:03:29,574 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Kura tmp directory is /tmp/.kura
2015-09-01 08:03:29,576 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.s.SystemServiceImpl - Kura version KURA_1.2.1 is starting
2015-09-01 08:03:29,632 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.c.CertificatesManager - Bundle org.eclipse.kura.core.certificates.CertificatesManager has started!
2015-09-01 08:03:29,805 [Component Resolve Thread (Bundle 6)] INFO  o.e.k.c.c.ConfigurationServiceImpl - activate...
Re: kura crashing when loading web ui [message #1706966 is a reply to message #1706961] Tue, 01 September 2015 08:19 Go to previous messageGo to next message
paul stanton is currently offline paul stantonFriend
Messages: 87
Registered: July 2009
Member
Just tried installing 1.2.0 and get the same result.
Re: kura crashing when loading web ui [message #1707085 is a reply to message #1706966] Wed, 02 September 2015 08:04 Go to previous messageGo to next message
Alessandro Da Rugna is currently offline Alessandro Da RugnaFriend
Messages: 43
Registered: December 2014
Member
Which JVM is installed? I suspect the JVM crashes as I already mentioned in this post.
As a workaround I removed the -xss128k flag from start scripts.


My project: Kura web log level changer https://github.com/darugnaa/kura-web-log
My blog: http://darugnaa.github.io

[Updated on: Thu, 03 September 2015 08:19]

Report message to a moderator

Re: kura crashing when loading web ui [message #1707190 is a reply to message #1707085] Thu, 03 September 2015 01:12 Go to previous messageGo to next message
paul stanton is currently offline paul stantonFriend
Messages: 87
Registered: July 2009
Member
That's absolutely it! thanks. Quite surprised firstly that this has not been fixed within Kura, secondly that I could not find any information searching.

In the post you referenced the OP describes my issue in his second post, not his first - maybe why nothing came up in my searches.

cheers!
Re: kura crashing when loading web ui [message #1707724 is a reply to message #1707190] Tue, 08 September 2015 19:22 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Thanks to all for finding and addressing this issue. I have added it as an item to be fixed in the next release of Kura.

Thanks,
--Dave
Re: kura crashing when loading web ui [message #1710292 is a reply to message #1707724] Mon, 05 October 2015 18:10 Go to previous messageGo to next message
David Woodard is currently offline David WoodardFriend
Messages: 420
Registered: July 2014
Senior Member
Hello,

We are looking into this issue for the next release. Can you please provide more information on your environment? I have run Kura with Java 7 and Java 8 on a BeagleBone black (rev C) and have not seen this issue. Can you provide:

Java version
Hardware Version

Thanks,
--Dave
Re: kura crashing when loading web ui [message #1710313 is a reply to message #1710292] Tue, 06 October 2015 03:30 Go to previous messageGo to next message
paul stanton is currently offline paul stantonFriend
Messages: 87
Registered: July 2009
Member
Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l GNU/Linux

java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-1~deb7u1)
OpenJDK Zero VM (build 24.79-b02, mixed mode)

does that help?
Re: kura crashing when loading web ui [message #1710328 is a reply to message #1710313] Tue, 06 October 2015 07:07 Go to previous messageGo to next message
Alessandro Da Rugna is currently offline Alessandro Da RugnaFriend
Messages: 43
Registered: December 2014
Member
# uname -a
Linux custom 3.12.30 #1 Thu Sep 3 07:59:06 UTC 2015 armv7l GNU/Linux

# java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (75b13-2.5.4)
OpenJDK Zero VM (build 24.80-b07, mixed mode)

# file /usr/lib/jvm/java-7-openjdk/jre/bin/java
/usr/lib/jvm/java-7-openjdk/jre/bin/java: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=6e995ef226dd8faff3faf4cc4b8bfc333eef18b8, stripped

As far as I know this issue only happens with OpenJDK.


My project: Kura web log level changer https://github.com/darugnaa/kura-web-log
My blog: http://darugnaa.github.io
Re: kura crashing when loading web ui [message #1712756 is a reply to message #1710328] Wed, 28 October 2015 05:05 Go to previous message
paul stanton is currently offline paul stantonFriend
Messages: 87
Registered: July 2009
Member
I can confirm, this is fixed in Kura 1.3.0

[Updated on: Wed, 28 October 2015 18:49]

Report message to a moderator

Previous Topic:Add multiple users to WebUI
Next Topic:To Configure WEB UI of KURA
Goto Forum:
  


Current Time: Fri Apr 19 14:04:06 GMT 2024

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

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

Back to the top