Skip to main content



      Home
Home » Eclipse Projects » Kura » Configurable Application not displayed
Configurable Application not displayed [message #1751100] Wed, 04 January 2017 08:16 Go to next message
Eclipse UserFriend
Hello,
I followed this tutorial to add configuration to my application.

I have two RPI installed with Kura, I installed the same deployment package on both but the configuration pannel that I added is displayed in one and not the other!

Both of the Rpi have 2.1.0 of kura release. but I think there is one that is more recent than the other. Cause the web interface is not the same. I dont how to check the detailed version.

I am not running the same Java on both RPI. One has Open jdk and the configuration component is working. The other has Oracle Java. Can the Java distribution be the cause of this issue? Thanks!

On both released this warning is displayed:

2017-01-04 13:13:11,110 [qtp8441249-35] WARN  o.e.k.w.s.s.SkinServlet - Resource Directory /opt/eclipse/kura/console/skin does not exist
2017-01-04 13:13:11,116 [qtp8441249-35] WARN  o.e.k.w.s.s.SkinServlet - Resource Directory /opt/eclipse/kura/console/skin does not exist

Re: Configurable Application not displayed [message #1751101 is a reply to message #1751100] Wed, 04 January 2017 08:29 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sabrina,
could you post a screenshot of the two web Uis?
In general the version can be easily seen having a look at the lower right corner or in the device section of the web ui.

Have you tried to refresh the ui and see if the component configuration is displayed?

Regarding the warning you reported, that is absolutely fine: with Kura you have the possibility to specify a custom appearance for the web ui, defining it in this folder: /opt/eclipse/kura/console/skin.
If none is specified, the default one (the one you are seeing) will be used, but a warn will be printed in the log.

Best regards,
Matteo
Re: Configurable Application not displayed [message #1751113 is a reply to message #1751101] Wed, 04 January 2017 09:55 Go to previous messageGo to next message
Eclipse UserFriend
Well appareantly when I installed a new version of my bundle, the pannel is displayed (waziupCloud), although it is not working properly, the initial values is not taken into consideration and when I try to update it stays blocked on loading...and it does not update the values...

The web UI are attached:
*old web UI: (the one that is not working)
*New web UI (the working one)

oh it is not the same versions at all! I was confused about 2.0.1 and 2.1.0!
But can the old version be the cause of the issue? or may be the Java used?

  • Attachment: oldWebUI.png
    (Size: 75.10KB, Downloaded 135 times)
  • Attachment: NewWebUI.png
    (Size: 88.23KB, Downloaded 154 times)

[Updated on: Wed, 04 January 2017 09:59] by Moderator

Re: Configurable Application not displayed [message #1751114 is a reply to message #1751113] Wed, 04 January 2017 10:02 Go to previous messageGo to next message
Eclipse UserFriend
From what I see, one raspberry uses kura 2.0.1, the other Kura 2.1.0.
Apart from bugs I'm not aware of, the two installations should behave in the same way.
If you are updating your bundle and not installing it for the first time, the values you previously specified and that are stored in Kura's snapshots will be used to valorize the fields of your configuration, instead of the ones specified in the bundle's metatype.
Maybe that is the reason why you are seeing the old values.
If you specify different values in the web ui, are those persisted?

Do you see any particular exception in kura.log or kura-console.log files?
Re: Configurable Application not displayed [message #1751117 is a reply to message #1751114] Wed, 04 January 2017 10:11 Go to previous messageGo to next message
Eclipse UserFriend
No if I specify different value they did not get persist, The UI stays blocked on loading.
Of course in the other RPI, every thing is working and the values are updated.

I dont see any exception in the log files Sad
Re: Configurable Application not displayed [message #1751119 is a reply to message #1751117] Wed, 04 January 2017 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Do you see a snapshot creation message in the log file?
If you restart the Kura installation, are the correct properties displayed?

Matteo
Re: Configurable Application not displayed [message #1751122 is a reply to message #1751119] Wed, 04 January 2017 10:19 Go to previous messageGo to next message
Eclipse UserFriend
Oh I found this warning, I think that is the problem, but I dont know how to correct it Sad :

2017-01-04 15:14:25,880 [Component Resolve Thread (Bundle 7)] WARN  o.e.k.c.c.ConfigurationServiceImpl - Either kura.service.pid null or service.pid org.eclipse.kura.MVPwater.main.MVPwat                                                   erActivator are null

[Updated on: Thu, 05 January 2017 01:46] by Moderator

Re: Configurable Application not displayed [message #1751167 is a reply to message #1751122] Thu, 05 January 2017 04:24 Go to previous message
Eclipse UserFriend
well I installed the new version of kura 2.1.0 along with the open jdk 8 and ity is working!
Thanks!
Previous Topic:Kura in existent OSGi container ?
Next Topic:Enumerating Serial Ports in Kura
Goto Forum:
  


Current Time: Sat Jul 12 22:43:42 EDT 2025

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

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

Back to the top