Hi Maurice,
We both belong to a very exclusive club, those who are adventurous
enough to tackle OSGi/Karaf with Vaadin.
Thanks for your link to twelvemonkeys and the spi-fly.html. The
spi-fly.html is a much clearer explanation than previous explanations I
have read.
I have my Karaf/Vaadin project working well with Karaf 4.3.x but the
switch to 4.4.x takes some time due to the move away from the OSGi cmpn
bundle.
Along with the info you have provided, I am now digging deep into the
karaf code to establish why service loader works out of the box in 4.3.x
and not 4.4.x.
Paul
On 7/2/23 23:12, Maurice Betzel wrote:
Hi,
Are you using Aries SPI Fly?
https://aries.apache.org/documentation/modules/spi-fly.html
An example of dependencies needed in the kar maven module:
https://github.com/Maurice-Betzel/twelvemonkeys-osgi
*From:*Paul Fraser <[email protected]>
*Sent:* dinsdag 7 februari 2023 11:20
*To:* [email protected]
*Subject:* osgi serviceloader missing in 4.4.3
* CAUTION:*This email originated from outside of Gaston Schul. Do not
click links or open attachments unless you recognize the sender and
know the content is safe.
Hi,
4.3.6 out of the box has the Aries
org.apache.aries.spifly.dynamic.bundle loaded and service loading
works OK.
4.4.3 does not have this bundle loaded and as a consequence service
loading (for me) does not work.
In 4.3.6 I cannot find what causes this bundle to be loaded as it is
not listed in startup.properties and I cannot find
a feature in features.cfg that handles it.
feature:info spifly does not indicate that it handles the dynamic
bundle either.
What am I missing and what needs to be added to handle service loading
in 4.4.3.
Regards
Paul Fraser
Al onze verrichtingen geschieden op basis van de Algemene voorwaarden
der Expediteurs van België, gepubliceerd in de bijlage tot het
Belgisch Staatsblad dd. 24 juni 2005 onder nr. 0090237. De tekst van
deze voorwaarden wordt op uw verzoek gratis toegezonden.
All our transactions are subject to the General Conditions of the
Belgian Forwarders Association which have been published under nr.
0090237 in the "Bijlage tot het Belgisch Staatsblad" dated June 24th,
2005, and is available free of charge upon request.
Toutes nos opérations se font sur base des Conditions Générales des
Expéditeurs de Belgique. Le texte en a été publié dans l' Annexe au
Moniteur Belge du 24 juin 2005 sous le n° 0090237. Ce texte sera vous
envoyé gratuitment sur demande.
Email confidentiality notice:
This email and any files transmitted with it are confidential and
intended only for the use of the recipient. If you have received this
email in error please notify its sender.