Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Running openHAB2 on Concierge needs update of Felix FileInstall from 3.2.6 to 3.4.0 #1295

Closed
JochenHiller opened this issue Jul 27, 2014 · 3 comments

Comments

@JochenHiller
Copy link

I am trying to run openHAB2 and Eclipse SmartHome on Concierge, a new OSGi framework developed at Eclipse.
For details about porting see https://github.com/JochenHiller/concierge-tests

During debugging I saw that Apache Felix FileInstall bundle 3.2.6 does NOT work on Concierge (raises NullPointerException), as it is using StartLevel service from OSGi, which is not supported by Concierge.
The latest version of FileInstall 3.4.0 is working fine, as it does not require anymore this StartLevel service.
Kai: can you update Apache Felix FileInstall to 3.4.0?
Meanwhile I will use in Concierge environment the version 3.4.0. as part of a patch to Eclipse SmartHome.

@teichsta
Copy link
Member

Hi Jochen,

thanks for investigating this. Can you confirm that bundles from the addons folder are installed/Started properly after upgrading?

Best, Thomas

  • sent from a mobile device -

Am 27.07.2014 um 07:41 schrieb Jochen Hiller notifications@github.com:

I am trying to run openHAB2 and Eclipse SmartHome on Concierge, a new OSGi framework developed at Eclipse.
For details about porting see https://github.com/JochenHiller/concierge-tests

During debugging I saw that Apache Felix FileInstall bundle 3.2.6 does NOT work on Concierge (raises NullPointerException), as it is using StartLevel service from OSGi, which is not supported by Concierge.
The latest version of FileInstall 3.4.0 is working fine, as it does not require anymore this StartLevel service.
Kai: can you update Apache Felix FileInstall to 3.4.0?
Meanwhile I will use in Concierge environment the version 3.4.0. as part of a patch to openHAB2.


Reply to this email directly or view it on GitHub.

@JochenHiller
Copy link
Author

Yes, I can confirm: just run it again some seconds ago (with FileInstall 3.4.0)

103 Apache Felix File Install

Concierge> RESOLVING org.eclipse.smarthome.binding.yahooweather - 0.7.0.201407241506 /.//JarBundleResource {storage/default/104/bundle0 of bundle [org.eclipse.smarthome.binding.yahooweather-0.7.0.201407241506]}
Solution: MultiMap {...}
10:05:35.161 DEBUG o.e.s.c.t.i.ThingManager[:292] - Thing handler factory 'YahooWeatherHandlerFactory' added

@kaikreuzer
Copy link
Member

Thanks for the info, Jochen. Please note that this is about openHAB 2.x, not 1.x, so I have opened an issue for openHAB 2 here: openhab/openhab-addons#6
Closing this - @teichsta, if you also want to upgrade FileInstall for openHAB 1.x, please just reopen it.

johgoe pushed a commit to johgoe/openhab that referenced this issue Jan 16, 2017
…hab#1499 (openhab#1510)

and hopefully openhab#1295.

Implements pattern for equipmentID and moduleID in order to avoid badly
formatted configuration but will need correction of ESH issue openhab#2556.

Test access to the API while initializing bridge in order to address
issue openhab#1472.

Improves discovery service in order to avoid discovery of already known
modules and devices

Signed-off-by: Gaël L'hopital <glhopital@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants